Releases: f2face/cloudflare-r2
Release v0.4.1
- Update dependencies.
Full Changelog: v0.4.0...v0.4.1
Release v0.4.0
- Add
S3ClientConfig
overrides. (#9 ) - Update dependencies.
Full Changelog: v0.3.1...v0.4.0
Release v0.3.1
- Fixes #5
Full Changelog: v0.3.0...v0.3.1
Release v0.3.0
- Update dependencies.
- [
R2
] Add support for jurisdiction endpoints. (#4)
Example:
const r2 = new R2({
// ...
jurisdiction: 'eu',
});
Full Changelog: v0.2.3...v0.3.0
Release v0.2.3
- Update some dependencies (recommended).
Full Changelog: v0.2.2...v0.2.3
Release v0.2.2
- Update README.
- [
Bucket
] Fixes error inuploadFile()
.
Full Changelog: v0.2.0...v0.2.2
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
Release v0.1.5
Full Changelog: v0.1.3...v0.1.5