Packages

@ai-sdk/anthropic

4.0.106 · 17 Nov 2026Apache-2.024.5M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/anthropic From 3.0.137 to 3.0.143

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.0.137Latest4.0.106
0
changes to make
0
advisories fixed
2
new
3
fixes

Release by release

  1. 3.0.142 – 3.0.1432 releases, nothing new or fixed in the notes

  2. 3.0.140

    7 Nov 20261 fix
    • Fixed

      Disable MCP connector tools when structured output falls back to the JSON response tool and the caller selects no tools or a named application tool, and when a named application tool choice falls back to automatic tool selection.

  3. 3.0.139

    6 Nov 20261 new · 1 fix
    • New

      anthropic: Support adding tools by value in mid-conversation toolChanges (inline-tools-2026-09-15)

    • Fixed

      Reject conflicting inline tool additions when a named tool choice falls back to auto or the internal JSON response tool limits available application tools, including definitions replayed from conversation history. Only validate definitions emitted in the request, preserving warning-only handling of ignored additions on the initial system message.

  4. 3.0.138

    3 Nov 20261 new · 1 fix
    • New

      Enable native structured output and strict tools for supported Claude 5 models on Bedrock. In automatic mode, Bedrock and Anthropic now fall back for schemas that native structured output cannot represent: recursive references, open objects, or more than ten optional properties. Anthropic uses the JSON response tool; Bedrock Converse uses the JSON tool or JSON instructions for models that reject forced tool use. The JSON-tool fallback excludes disabled and unselected application tools. Explicit outputFormat selection remains unchanged.

    • Fixed

      anthropic: Parse valid JSON string tool input and safely serialize BigInt and cycles in tool results

4 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.