---
title: "@vercel/blob 2.9.0 Breaking Changes on npm | Since.dev"
description: "What each @vercel/blob release removed, renamed or changed: 23 breaking changes in 13 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@vercel/blob
last_updated: 2026-12-04
---

# @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

Latest version `2.9.0`, released November 9, 2026. [Source repository](https://github.com/vercel/storage)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [2.9.0](#v-2-9-0): 12 breaking changes in 9 versions.
- From [0.25.0](#v-0-25-0) to [2.9.0](#v-2-9-0): 21 breaking changes in 12 versions.

## @vercel/blob 2.9.0 breaking changes

@vercel/blob 2.9.0, released November 9, 2026: 2 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](https://www.npmjs.com/package/@vercel/blob/v/2.9.0)
- **Signature changed** `PresignPutUrlOptions`  

Was type PresignPutUrlOptions = {operation: 'put'; pathname: string; validUntil?: number; allowedContentTypes?: string\[\]; maximumSizeInBytes?: number; onUploadCompleted?: {callbackUrl: string; tokenPayload?: string;}; allowOverwrite?... [npmjs.com](https://www.npmjs.com/package/@vercel/blob/v/2.9.0)

## @vercel/blob 2.8.2 breaking changes

@vercel/blob 2.8.2, released October 14, 2026: 1 breaking change.

- **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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%402.8.2)

## @vercel/blob 2.6.1 breaking changes

@vercel/blob 2.6.1, released July 8, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/@vercel/blob/v/2.6.1)

## @vercel/blob 2.5.0 breaking changes

@vercel/blob 2.5.0, released June 25, 2026: 1 breaking change.

- **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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%402.5.0)

## @vercel/blob 2.4.1 breaking changes

@vercel/blob 2.4.1, released June 18, 2026: 1 breaking change.

- **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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%402.4.1)

## @vercel/blob 2.4.0 breaking changes

@vercel/blob 2.4.0, released May 18, 2026: 1 breaking change.

- **Signature changed** `client:GenerateClientTokenOptions`  

Was interface GenerateClientTokenOptions extends BlobCommandOptions; now interface GenerateClientTokenOptions extends BlobCommandOptions, BlobClientTokenConstraintOptions. [npmjs.com](https://www.npmjs.com/package/@vercel/blob/v/2.4.0)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @vercel/blob 2.3.3 breaking changes

@vercel/blob 2.3.3, released April 2, 2026: 1 breaking change.

- **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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%402.3.3)

### @vercel/blob 2.3.1 breaking changes

@vercel/blob 2.3.1, released March 4, 2026: 1 breaking change.

- **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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%402.3.1)

### @vercel/blob 2.0.0 breaking changes

@vercel/blob 2.0.0, released September 16, 2025: 3 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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%402.0.0)
- **Signature changed** `client:HandleUploadOptions.onBeforeGenerateToken`  

Was onBeforeGenerateToken: (pathname: string, clientPayload: string | null, multipart: boolean) => Promise\<Pick\<GenerateClientTokenOptions, 'allowedContentTypes' | 'maximumSizeInBytes' | 'validUntil' | 'addRandomSuffix' | 'allowOverwrite'... [npmjs.com](https://www.npmjs.com/package/@vercel/blob/v/2.0.0)

And 1 more in this version.

### @vercel/blob 1.0.0 breaking changes

@vercel/blob 1.0.0, released April 10, 2025: 5 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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%401.0.0)
- **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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%401.0.0)

And 3 more in this version.

### @vercel/blob 0.27.0 breaking changes

@vercel/blob 0.27.0, released December 4, 2024: 3 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](https://github.com/vercel/storage/releases/tag/%40vercel/blob%400.27.0)
- **Signature changed** `CopyBlobResult.contentType`  

Was contentType?: string; now contentType: string. [npmjs.com](https://www.npmjs.com/package/@vercel/blob/v/0.27.0)

And 1 more in this version.

### @vercel/blob 0.26.0 breaking changes

@vercel/blob 0.26.0, released November 6, 2024: 1 breaking change.

- **Signature changed** `PutCommandOptions`  

Was interface PutCommandOptions extends CommonCreateBlobOptions; now interface PutCommandOptions extends CommonCreateBlobOptions, WithUploadProgress. [npmjs.com](https://www.npmjs.com/package/@vercel/blob/v/0.26.0)

### @vercel/blob 0.25.0 breaking changes

@vercel/blob 0.25.0, released October 8, 2024: 2 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](https://github.com/vercel/storage/commit/61b59394cb0756d5917be0c195b4e9aeef8d9f6d)
- **Behavior changed**  

Pathnames containing unencoded ?, # or // are no longer accepted. Encode these characters in pathnames before uploading. [github.com](https://github.com/vercel/storage/releases/tag/%40vercel/blob%400.25.0)

## Related packages

- [@vercel/edge-config](https://since.dev/packages/npm/@vercel/edge-config.md)
- [@vercel/analytics](https://since.dev/packages/npm/@vercel/analytics.md)
- [@vercel/og](https://since.dev/packages/npm/@vercel/og.md)
- [@vercel/queue](https://since.dev/packages/npm/@vercel/queue.md)
- [@vercel/speed-insights](https://since.dev/packages/npm/@vercel/speed-insights.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
