Skip to content

deps(deps): bump @vercel/blob from 0.25.1 to 2.0.0 - #176

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vercel/blob-2.0.0
Open

deps(deps): bump @vercel/blob from 0.25.1 to 2.0.0#176
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vercel/blob-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2025

Copy link
Copy Markdown
Contributor

Bumps @vercel/blob from 0.25.1 to 2.0.0.

Release notes

Sourced from @​vercel/blob's releases.

@​vercel/blob@​2.0.0

Major Changes

  • 0b8ead9: BREAKING CHANGE:

    To continue receiving onUploadCompleted callback once a file is uploaded with Client Uploads when not hosted on Vercel, you need to provide the callbackUrl at the onBeforeGenerateToken step when using handleUpload.

    When hosted on Vercel: No code changes required. The callbackUrl is inferred from Vercel system environment variables:

    • In preview environment: VERCEL_BRANCH_URL when available, otherwise VERCEL_URL
    • In production environment: VERCEL_PROJECT_PRODUCTION_URL

    If you're not hosted on Vercel or you're not using Vercel system environment variables, your will need to provide the callbackUrl:

    Before:

    await handleUpload({
      body,
      request,
      onBeforeGenerateToken: async (pathname) => {
        /* options */
      },
      onUploadCompleted: async ({ blob, tokenPayload }) => {
        /* code */
      },
    });

    After:

    await handleUpload({
      body,
      request,
      onBeforeGenerateToken: async (pathname) => {
        return { callbackUrl: 'https://example.com' }; // the path to call will be automatically computed
      },
      onUploadCompleted: async ({ blob, tokenPayload }) => {
        /* code */
      },
    });

    For local development: Set the VERCEL_BLOB_CALLBACK_URL environment variable to your tunnel URL:

    VERCEL_BLOB_CALLBACK_URL=https://abc123.ngrok-free.app

... (truncated)

Changelog

Sourced from @​vercel/blob's changelog.

2.0.0

Major Changes

  • 0b8ead9: BREAKING CHANGE:

    To continue receiving onUploadCompleted callback once a file is uploaded with Client Uploads when not hosted on Vercel, you need to provide the callbackUrl at the onBeforeGenerateToken step when using handleUpload.

    When hosted on Vercel: No code changes required. The callbackUrl is inferred from Vercel system environment variables:

    • In preview environment: VERCEL_BRANCH_URL when available, otherwise VERCEL_URL
    • In production environment: VERCEL_PROJECT_PRODUCTION_URL

    If you're not hosted on Vercel or you're not using Vercel system environment variables, your will need to provide the callbackUrl:

    Before:

    await handleUpload({
      body,
      request,
      onBeforeGenerateToken: async (pathname) => {
        /* options */
      },
      onUploadCompleted: async ({ blob, tokenPayload }) => {
        /* code */
      },
    });

    After:

    await handleUpload({
      body,
      request,
      onBeforeGenerateToken: async (pathname) => {
        return { callbackUrl: 'https://example.com' }; // the path to call will be automatically computed
      },
      onUploadCompleted: async ({ blob, tokenPayload }) => {
        /* code */
      },
    });

    For local development: Set the VERCEL_BLOB_CALLBACK_URL environment variable to your tunnel URL:

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 1, 2025
@vercel

vercel Bot commented Dec 1, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
mk-language-lab Error Error Dec 12, 2025 2:46pm

Bumps [@vercel/blob](https://github.com/vercel/storage/tree/HEAD/packages/blob) from 0.25.1 to 2.0.0.
- [Release notes](https://github.com/vercel/storage/releases)
- [Changelog](https://github.com/vercel/storage/blob/main/packages/blob/CHANGELOG.md)
- [Commits](https://github.com/vercel/storage/commits/@vercel/blob@2.0.0/packages/blob)

---
updated-dependencies:
- dependency-name: "@vercel/blob"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vercel/blob-2.0.0 branch from f2b64a8 to 2f9fe49 Compare December 12, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants