From 95913d5a1c8b5a62c4e640fa7e3bad905eb8af66 Mon Sep 17 00:00:00 2001 From: Steeve PAYRAUDEAU Date: Tue, 19 Oct 2021 17:46:04 +0200 Subject: [PATCH] Update version --- CHANGELOG.md | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a59ce0e..0038444 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,10 @@ -### v0.1.4 +### v0.1.3 - Rename `getFiles` function to `listFiles` - Rename `writeFile` function to `uploadFile` - Rename `readFile` function to `downloadFile` - NEW: Pass a list of object storage credential to the constructor, the sdk will automatically connect to another storage if something goes wrong (Server or DNS not responding, timeout, error 500, too many redirection, and more...) + - NEW: the method `uploadFile` accepts a new optionnal fourth argument `option`: `{ queries: { temp_url_expires: '1440619048' }, headers: { X-Object-Meta-LocationOrigin: 'Paris/France' }`. List of query parameters and headers: https://docs.openstack.org/api-ref/object-store/?expanded=create-or-replace-object-detail#create-or-replace-object -### v0.1.3 - - Edit the method `writeFile`: It accepts a new optionnal fourth argument `option`: `{ queries: { temp_url_expires: '1440619048' }, headers: { X-Object-Meta-LocationOrigin: 'Paris/France' }`. List of query parameters and headers: https://docs.openstack.org/api-ref/object-store/?expanded=create-or-replace-object-detail#create-or-replace-object ### v0.1.2 - Add method `getFiles`: Show container details and list objects. It is possible to filter the list or overwrite the request headers, such as: diff --git a/package.json b/package.json index c5a9fc4..c729551 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ovh-object-storage-ha", - "version": "0.1.4", + "version": "0.1.3", "description": "Performant and tiny helper to request the OVH Object Storage", "main": "index.js", "scripts": {