@ai-sdk/amazon-bedrock
5.0.145 · 17 Nov 2026Apache-2.06.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/amazon-bedrock From 4.0.49 to 4.0.217
163 releases in betweennotes for 161
Reading releases, release notes and advisories…
Release by release
4.0.209 – 4.0.2178 releases, nothing new or fixed in the notes
- 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
amazon-bedrock: Keep every function tool on a named tool choice for Anthropic models
- Fixed
amazon-bedrock: Parse JSON string tool inputs and safely serialize BigInt and cycles in tool outputs
- New
4.0.207nothing new or fixed in the note
- Fixed
Fix disabled Anthropic thinking in Converse requests by forwarding
reasoningConfig: { type: 'disabled' }for supported models and omitting the field for Claude 3.5 and earlier. Apply model-specific thinking fallbacks and effort limits with warnings, preserving explicit reasoning effort.
- Fixed
4.0.202 – 4.0.2054 releases, nothing new or fixed in the notes
- Fixed
Defer validation schema construction until first use to reduce provider import time.
- Fixed
4.0.196 – 4.0.2005 releases, nothing new or fixed in the notes
- Fixed
Use known supported Claude models for native structured output and strict tools on Bedrock. Future Claude model IDs omit those unsupported fields and use JSON instructions for structured output by default.
- Fixed
131 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.