Skip to content

v0.0.3

Choose a tag to compare

@ytkimirti ytkimirti released this 02 Sep 09:07
· 21 commits to main since this release
eaa5a37

Breaking

  • The visibility option on new Bucket() and Bucket.fromEnv() is gone. Whether a bucket is private is decided in the console; the SDK now reads it from the credentials response and defaults to public when the backend does not say. A private bucket has no url or versionedUrl on any BlobObject and stores Cache-Control: private.
  • bucket.publicUrl(path) is now async: it fetches credentials once to know whether the bucket has a public host.