@tweedegolf/sab-adapter-google-cloud
Version:
Provides an abstraction layer for interacting with Google Cloud storage service.
53 lines (33 loc) • 1.37 kB
Markdown
# 3.0.2
- update dependencies
# 3.0.1
- added option `checkIfBucketExists` to the `addFile`, `addFileFromPath`, `addFileFromBuffer` and `addFileFromStream`
# 3.0.0
- version bump to match the version of Storage and the API
- removed support for versioning (wasn't implemented consistently anyway)
- removed `getFileAsURL`
- removed option `{allVersions: boolean}` for `removeFile`
- `removeFile` does not fail if the file doesn't exist
- `deleteBucket` does not fail if the bucket doesn't exist
- see also the [migration guide](https://github.com/tweedegolf/storage-abstraction/blob/master/migration_to_api3.0.md)
- update @google-cloud-storage to 7.17.2
# 1.0.10
- include @deprecated functions
# 1.0.9
- update @google-cloud dependency to 7.17.1
- implemented new API methods `bucketIsPublic`, `getPublicURL` and `getSignedURL`
# 1.0.8
- fixed gcs signed url generation
# 1.0.7
- updated @google-cloud/storage to 7.11.1
- add support for optional key `useSignedUrl` in options object `getFileAsUrl`
# 1.0.6
- updated @google-cloud/storage to 7.9.0
# 1.0.5
- fix bug in selected bucket
# 1.0.3
- revert to v1 format of config URLs
- re-implement storing the selected bucket in local state
- `selectBucket` and `geSelectedBucket`
- also implemented as getter
`storage.bucketName = "the-buck";` and setter `console.log(storage.bucketName);`