Skip to content

Releases: f2face/cloudflare-r2

Release v0.4.0

03 Nov 20:52
5322ee2
Compare
Choose a tag to compare
  • Add S3ClientConfig overrides. (#9 )
  • Update dependencies.

Full Changelog: v0.3.1...v0.4.0

Release v0.3.1

15 Sep 03:39
6cd4ea3
Compare
Choose a tag to compare
  • Fixes #5

Full Changelog: v0.3.0...v0.3.1

Release v0.3.0

14 Sep 15:22
2bd53eb
Compare
Choose a tag to compare
  • 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

17 Jun 16:59
4d11f6b
Compare
Choose a tag to compare
  • Update some dependencies (recommended).

Full Changelog: v0.2.2...v0.2.3

Release v0.2.2

17 Jun 16:10
87a0206
Compare
Choose a tag to compare
  • Update README.
  • [Bucket] Fixes error in uploadFile().

Full Changelog: v0.2.0...v0.2.2

Release v0.2.0

29 May 11:38
0fe55f7
Compare
Choose a tag to compare

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

24 Oct 23:30
df0f2be
Compare
Choose a tag to compare