Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
steevepay committed Oct 19, 2021
1 parent 748d8ed commit 95913d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 95913d5

Please sign in to comment.