@ai-sdk/amazon-bedrock
5.0.145 · 17 Nov 2026Apache-2.06.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/amazon-bedrock From 4.0.97 to 5.0.145
255 releases in betweennotes for 254
Reading releases, release notes and advisories…
- 5+
- changes to make
- 0
- advisories fixed
- 28+
- new
- 80+
- fixes
Counted from 254 of 255 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
Release by release
5.0.143 – 5.0.1453 releases, nothing new or fixed in the notes
- Fixed
amazon-bedrock: Send
block_binding.prefix_mismatch_behaviorto Bedrock again instead of the deprecatedmismatch_behavioralias - Fixed
Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while preserving existing suggestions, endpoint-specific model lists, and support for custom model IDs.
- Fixed
5.0.137 – 5.0.1415 releases, nothing new or fixed in the notes
- New
Add
resolveProviderOptionsto parse provider options that a model accepts under severalproviderOptionskeys, either as aliases (first) or merged in order (merge), and use it for the existing multi-key lookups in the OpenAI, OpenAI-compatible, Anthropic, Google, and Amazon Bedrock models. Resolution behavior for these models is unchanged.
- New
- Fixed
Refactor Amazon Bedrock model ID logic into a model catalog that declares capabilities and provider options, and generate provider capability documentation from it. Export the Anthropic catalog capability helper under its compatibility name for Bedrock to reuse. Request behavior is unchanged.
- Fixed
- Fixed
Preserve the order of text and complete function calls in streamed Google responses, including standalone thought signatures on empty text or reasoning parts.
- Fixed
Pass through
seed: 0instead of dropping it in image and video models. KlingAI now reportsseed: 0as an unsupported setting like any other seed. - Fixed
Report the actual OpenAI Chat HTTP endpoint (also used by Azure Chat and Bedrock Mantle Chat) through optional request metadata and model-call end events. Record its host and port on OpenTelemetry chat spans without exposing URL credentials, paths, queries, or fragments. Expose only the sanitized HTTP origin in text and object generation results and step/finish callbacks. Providers that do not report an endpoint leave these attributes unset.
- Fixed
5.0.132nothing new or fixed in the note
- 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
235 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.