Skip to content

chore(deps-dev): bump @ai-sdk/anthropic from 3.0.85 to 4.0.1#323

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/ai-sdk/anthropic-4.0.1
Closed

chore(deps-dev): bump @ai-sdk/anthropic from 3.0.85 to 4.0.1#323
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/ai-sdk/anthropic-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/anthropic from 3.0.85 to 4.0.1.

Release notes

Sourced from @​ai-sdk/anthropic's releases.

@​ai-sdk/klingai@​4.0.1

Patch Changes

  • ba6d510: chore: fix deprecated use of zod .passthrough()

@​ai-sdk/mistral@​4.0.1

Patch Changes

  • Updated dependencies [6a436e3]
    • @​ai-sdk/provider-utils@​5.0.1

@​ai-sdk/openai@​4.0.1

Patch Changes

  • 9507724: feat(openai): add support for web_search_call.results include option

@​ai-sdk/perplexity@​4.0.1

Patch Changes

  • Updated dependencies [6a436e3]
    • @​ai-sdk/provider-utils@​5.0.1

@​ai-sdk/xai@​4.0.1

Patch Changes

  • ba6d510: chore: fix deprecated use of zod .passthrough()

@​ai-sdk/react@​3.0.216

Patch Changes

  • Updated dependencies [b30e43a]
    • @​ai-sdk/provider-utils@​4.0.33
    • ai@6.0.214

@​ai-sdk/vue@​3.0.214

Patch Changes

  • Updated dependencies [b30e43a]
    • @​ai-sdk/provider-utils@​4.0.33
    • ai@6.0.214

@​ai-sdk/xai@​3.0.100

Patch Changes

  • Updated dependencies [b30e43a]
    • @​ai-sdk/provider-utils@​4.0.33
    • @​ai-sdk/openai-compatible@​2.0.54
Changelog

Sourced from @​ai-sdk/anthropic's changelog.

4.0.1

Patch Changes

  • Updated dependencies [6a436e3]
    • @​ai-sdk/provider-utils@​5.0.1

4.0.0

Major Changes

  • 832f86f: fix(anthropic): remove cacheCreationInputTokens from providerMetadata

  • 34bd95d: feat(ai): add support for uploading provider skills using the provider references abstraction

  • ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.

  • c29a26f: feat(provider): add support for provider references and uploading files as supported per provider

  • 3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in generateText and streamText

  • 8359612: Start v7 pre-release

  • 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols

    For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.

Patch Changes

  • e02f041: feat(provider/anthropic): add support for claude-opus-4-8

  • 648705c: fix(provider/anthropic): fix remaining errors with Anthropic code_execution tool dynamic calls from latest web_fetch or web_search

  • 38fc777: Add AI Gateway hint to provider READMEs

  • ee798eb: chore(provider-utils): rename Experimental_Sandbox to Experimental_SandboxSession

  • e748b35: chore: update v3 specs to v4

  • 19c5ee2: fix(anthropic): reorder assistant content b/w client and provider tool use

  • 0ee8aec: feat (provider/anthropic): support passing metadata.user_id

  • c012d57: feat(anthropic): sanitize the unsupported JSON schema validation properties

  • 8018480: feat(anthropic): add the new advisor tool

  • e5c4f40: Remove stale effort-2025-11-24 beta header — the extended thinking effort parameter is GA and no longer requires the beta flag. Vertex AI's strict validator was actively rejecting requests with this header.

  • f57c702: fix(anthropic): allow both temperature and topP for non-Anthropic models using the Anthropic-compatible API

    The temperature/topP mutual exclusivity check now only applies to known Anthropic models (model IDs starting with claude-). Non-Anthropic models using the Anthropic-compatible API (e.g. Minimax) can now send both parameters as required by their APIs.

  • 2610e84: feat(provider/anthropic): automatically use sandbox in bash tool

  • d848405: feat: add optional abortSignal parameters to sandbox command execution

  • 87d1723: chore(anthropic): remove unnecessary messages affix from Anthropic symbols and files

  • 9f0e36c: trigger release for all packages after provenance setup

  • acdbf84: Handle errors from anthropic websearch tool

  • ad0b376: fix(provider/anthropic): stop adding fine-grained-tool-streaming-2025-05-14 beta for claude-opus-4-7

  • 58a2ad7: fix: more precise default message for tool execution denial

  • 21d1ee3: fix(anthropic): skip passing beta header for tool search tools

  • 1fe058b: fix(anthropic): preserve the error code returned by model

  • 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.

  • 09bd27b: feat (provider/anthropic): add support for inference_geo provider option

  • 0c4c275: trigger initial canary release

  • 6fd51c0: fix(provider): preserve error type prefix in getErrorMessage

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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

Medium Risk
Major-version bump of the Anthropic AI SDK provider used for dev/live AI tests, with a split provider stack versus ai@6 until those packages are aligned.

Overview
Bumps the dev dependency @ai-sdk/anthropic from 3.0.85 to ^4.0.1 in package.json, with matching updates in bun.lock.

The lockfile now resolves 4.0.1 with @ai-sdk/provider@4.0.0 and @ai-sdk/provider-utils@5.0.1 (including new transitive @workflow/serde). ai, @ai-sdk/google, and @ai-sdk/openai stay on their existing major lines and still nest provider 3.x / provider-utils 4.x in the lockfile, so this is an isolated Anthropic provider upgrade, not a full Vercel AI SDK stack bump.

No application source changes—only manifests. Worth running test:live / smoke:hooks if those paths import the Anthropic provider, since v4 is a major release (ESM-only, provider API/metadata changes per upstream).

Reviewed by Cursor Bugbot for commit 92c4da6. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic) from 3.0.85 to 4.0.1.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/anthropic/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/anthropic@4.0.1/packages/anthropic)

---
updated-dependencies:
- dependency-name: "@ai-sdk/anthropic"
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@dependabot dependabot Bot requested a review from pbakaus as a code owner June 29, 2026 16:10
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 29, 2026

Copy link
Copy Markdown

Deploying impeccable with  Cloudflare Pages  Cloudflare Pages

Latest commit: 92c4da6
Status: ✅  Deploy successful!
Preview URL: https://26f45500.impeccable-2rv.pages.dev
Branch Preview URL: https://dependabot-bun-ai-sdk-anthro.impeccable-2rv.pages.dev

View logs

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 92c4da6. Configure here.

Comment thread package.json
},
"devDependencies": {
"@ai-sdk/anthropic": "^3.0.71",
"@ai-sdk/anthropic": "^4.0.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anthropic v4 incompatible with ai

Medium Severity

This PR bumps @ai-sdk/anthropic to v4 while ai remains on v6. Anthropic v4 builds on @ai-sdk/provider v4 and exposes v4 language models, but ai v6 resolves models only through the v3 specification. generateText in the skill-behavior harness can throw an unsupported-model-version error for Claude models when an API key is set.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 92c4da6. Configure here.

pbakaus commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Weekly dependency sweep note: inspected but not merging in this pass.

This bumps @ai-sdk/anthropic from locked 3.0.85 (repo range ^3.0.71) to 4.0.1. The package is imported directly in tests/skill-behavior/providers.mjs; the harness itself still uses ai@6 APIs from tests/skill-behavior/harness.mjs.

GitHub CI on this head is green, but this is a Vercel AI SDK major with provider metadata/API changes and leaves the rest of the AI SDK stack split across majors. Smallest safe path: coordinate with the ai@7 and other provider majors, then run bun run test:skill-behavior with provider keys before merging.

pbakaus commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Closing in favor of #336, which rolls the AI SDK v7/provider v4 updates together and includes the required skill-behavior harness migration plus full validation.

@pbakaus pbakaus closed this Jul 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/bun/ai-sdk/anthropic-4.0.1 branch July 4, 2026 02:14
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.

1 participant