You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.