Release v0.2.0
Changed:
~ [ Bucket
] provideBucketPublicUrl()
method parameter now accepts array for multiple URLs.
~ [ Bucket
] uploadFile()
destination
parameter is now optional.
~ Other internal functions and parameters naming. No breaking changes.
Added:
+ [ Bucket
] getPublicUrls()
lists all provided public URLs of the bucket.
+ [ Bucket
] getObjectSignedUrl()
creates object's signed URL with expiration time.
+ [ Bucket
] getObjectPublicUrls()
lists all public URLs of an object.
+ [ Bucket
] getCorsPolicies()
will replace getCors()
.
+ [ Bucket
] upload()
allows uploading binary data to the bucket.
+ [ Bucket
] uploadStream()
allows uploading big file (or streaming data) to the bucket using multipart upload internally.
+ [ Bucket
] deleteObject()
will replace deleteFile()
.
+ [ Bucket
] publicUrls
property in UploadFileResponse
type returns an array of public URLs. This new property will replace publicUrl
.
Deprecated (will be removed in the next major release):
- [ Bucket
] getPublicUrl()
will be replaced by getPublicUrls()
.
- [ Bucket
] getCors()
will be replaced by getCorsPolicies()
- [ Bucket
] publicUrl
property in UploadFileResponse
type will be replaced by publicUrls
.
- [ Bucket
] deleteFile()
will be replaced by deleteObject()
.
No breaking changes. Hopefully.
Full Changelog: v0.1.5...v0.2.0