@vercel/blob breaking changes
@vercel/blob 2.9.0 (November 9, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed client:HandleUploadOptions.onBeforeGenerateToken. Every breaking API change we have recorded in @vercel/blob on npm: 23 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.9.0, released November 9, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 1.0.0 to 2.9.0: 12 breaking changes in 9 versions.
- From 0.25.0 to 2.9.0: 21 breaking changes in 12 versions.
@vercel/blob 2.9.0 breaking changes
- Signature changed
client:HandleUploadOptions.onBeforeGenerateToken
Was onBeforeGenerateToken: (pathname: string, clientPayload: string | null, multipart: boolean) => Promise<Pick<GenerateClientTokenOptions, 'allowedContentTypes' | 'maximumSizeInBytes' | 'validUntil' | 'addRandomSuffix' | 'allowOverwrite'... npmjs.com - Signature changed
PresignPutUrlOptions
Was type PresignPutUrlOptions = {operation: 'put'; pathname: string; validUntil?: number; allowedContentTypes?: string[]; maximumSizeInBytes?: number; onUploadCompleted?: {callbackUrl: string; tokenPayload?: string;}; allowOverwrite?... npmjs.com
@vercel/blob 2.8.2 breaking changes
- Behavior changed
The release sends blob API version 13, so the server keeps keys containing `.` or `..` segments as written instead of resolving them away. Code that relied on dot segments being resolved may get different results, and head, copy, rename... github.com
@vercel/blob 2.6.1 breaking changes
- Signature changed
PresignGetUrlOptions
Was type PresignGetUrlOptions = {operation: 'get'; pathname: string; validUntil?: number;}; now type PresignGetUrlOptions = {operation: 'get'; pathname: string; validUntil?: number; useCache?: boolean;}. npmjs.com
@vercel/blob 2.5.0 breaking changes
- Behavior changed
get
Reads through get() now always take the standard caching path because the backend no longer honors the cache=0 parameter that useCache produced. github.com
@vercel/blob 2.4.1 breaking changes
- Behavior changed
A blank x-vercel-oidc-token request-context header now resolves to no token instead of falling back to VERCEL_OIDC_TOKEN. Code that relies on that fallback must set the environment variable or the header explicitly. github.com
@vercel/blob 2.4.0 breaking changes
- Signature changed
client:GenerateClientTokenOptions
Was interface GenerateClientTokenOptions extends BlobCommandOptions; now interface GenerateClientTokenOptions extends BlobCommandOptions, BlobClientTokenConstraintOptions. npmjs.com
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
@vercel/blob 2.3.3 breaking changes
- Behavior changed
maximumSizeInBytes
Uploads with a known body size (Blob, File, Buffer) are checked against maximumSizeInBytes before the upload starts, so oversized uploads now fail earlier on the client. Make sure your size limits and bodies are set as intended. github.com
@vercel/blob 2.3.1 breaking changes
- Behavior changed
get
get() checks that the URL belongs to Vercel Blob before sending the token, so calls to other hosts can now fail. Only pass URLs served by the blob store. github.com
@vercel/blob 2.0.0 breaking changes
- Behavior changed
handleUpload
The callbackUrl is no longer inferred from location.href on the client. When not hosted on Vercel, return callbackUrl from onBeforeGenerateToken to keep receiving onUploadCompleted. github.com - Signature changed
client:HandleUploadOptions.onBeforeGenerateToken
Was onBeforeGenerateToken: (pathname: string, clientPayload: string | null, multipart: boolean) => Promise<Pick<GenerateClientTokenOptions, 'allowedContentTypes' | 'maximumSizeInBytes' | 'validUntil' | 'addRandomSuffix' | 'allowOverwrite'... npmjs.com
And 1 more in this version.
@vercel/blob 1.0.0 breaking changes
- Behavior changed
Random suffixes are added to the pathname of blob responses and the content-disposition header. Update any UI that displays pathname to handle the longer value. github.com - Behavior changed
Blobs are cached for one month by default. The cache time can no longer be set below one minute, so use a Vercel Function for shorter caching. github.com
And 3 more in this version.
@vercel/blob 0.27.0 breaking changes
- Default changed
contentType
When no contentType is given, uploads now default to 'application/octet-stream' instead of undefined. Code relying on the previous default must set contentType explicitly. github.com - Signature changed
CopyBlobResult.contentType
Was contentType?: string; now contentType: string. npmjs.com
And 1 more in this version.
@vercel/blob 0.26.0 breaking changes
- Signature changed
PutCommandOptions
Was interface PutCommandOptions extends CommonCreateBlobOptions; now interface PutCommandOptions extends CommonCreateBlobOptions, WithUploadProgress. npmjs.com
@vercel/blob 0.25.0 breaking changes
- Behavior changed
Pathnames containing ?, # or // now throw an error early instead of producing a different URL. Encode these characters or avoid them. github.com - Behavior changed
Pathnames containing unencoded ?, # or // are no longer accepted. Encode these characters in pathnames before uploading. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.