Skip to content

[blob] add private blobs#924

Open
shawnfeldman wants to merge 36 commits intomainfrom
blob/private
Open

[blob] add private blobs#924
shawnfeldman wants to merge 36 commits intomainfrom
blob/private

Conversation

@shawnfeldman
Copy link

@shawnfeldman shawnfeldman commented Jan 9, 2026

  • add private blobs
  • add header to send private blob
  • add public access sent to api

@changeset-bot
Copy link

changeset-bot bot commented Jan 9, 2026

🦋 Changeset detected

Latest commit: 512846a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@vercel/blob Minor
vercel-storage-integration-test-suite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vercel-storage-next-integration-test-suite Ready Ready Preview Feb 6, 2026 11:17pm

Request Review

Add headers property to GetBlobResult interface, returning the raw
Headers object from the fetch response for accessing additional
metadata like ETag or x-vercel-* headers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Allow passing additional headers to the fetch request via an optional
headers option. Documented as an advanced feature since most users
won't need it. The authorization header is always set automatically.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
vvo and others added 2 commits January 29, 2026 17:57
* [blob] feat: add useCache option to bypass content-cache

Add a `useCache` option to `blob.get()` that controls whether to use
the content-cache layer:
- `useCache: true` (default) = normal caching behavior
- `useCache: false` = appends ?cache=0 to bypass cache

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* docs: clarify useCache only works for private blobs

* Apply suggestion from @vvo

* docs: use opaque terminology for cache (edge cache vs origin storage)

* docs: use CDN cache terminology

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Resolve conflicts to include both:
- Private blob access support (blob/private)
- ETag support for conditional writes (main)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants