@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…
Release by release
3.0.142 – 3.0.1432 releases, nothing new or fixed in the notes
- 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.
- Fixed
- 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.
- New
- 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
outputFormatselection remains unchanged. - Fixed
anthropic: Parse valid JSON string tool input and safely serialize BigInt and cycles in tool results
- New
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.