Releases: tweedegolf/storage-abstraction
Releases · tweedegolf/storage-abstraction
version 2.2.1
- updated dependencies of adapters
- deprecated
getFileAsURL
- added
getPublicURL
andgetSignedURL
- added
bucketIsPublic
(does not work for CloudFlare and Cubbit) - added extra key to the options object of all
addFile
functions:useSignedURL
(boolean) → returns the presigned url instead of the public url when set totrue
- added extra key to the options object of
createBucket
:public
(boolean) → creates a public bucket when set totrue
- you can call
createBucket
without providing a bucket name. If a bucket name is selected, either in the initialization configuration of by setting one usingsetSelectedBucket
, a bucket with that name will be created. If the selected bucket is null, an error will be returned. - fix: if you delete the selected bucket, the selected bucket will be set to
null
- fix: include deprecated functions
version 2.1.6
- update dependencies
- update adapter AzureBlob
version 1.5.6
- removed unnecessary call to getMetaData in GCS adapter
- removed @ramda/zip dependency