Packages

@ai-sdk/anthropic

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

Upgrading @ai-sdk/anthropic From 2.0.111 to 2.0.112

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.111Newest 2.x2.0.115Latest4.0.106
  1. 2.0.111yours
  2. 2.0.112target
0
changes to make
0
advisories fixed
1
new
2
fixes

Release by release

  1. 2.0.112

    3 Nov 20261 new · 2 fixes
    • New

      Enable native structured output 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

    • Fixed

      Preserve final JSON text when a model answers without calling the JSON response tool, including open-schema fallbacks on Claude models that reject forced tools. Keep tool preambles out of structured output in generation and streaming.

1 internal line (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.