Packages

@ai-sdk/amazon-bedrock

5.0.145 · 17 Nov 2026Apache-2.06.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/amazon-bedrock From 3.0.33 to 5.0.145

462 releases in betweennotes for 459

Reading releases, release notes and advisories…

Other targets from 3.0.33Newest 3.x3.0.146
  1. 3.0.33yours
  2. 109 releases
  3. 4.0.0major
  4. 212 releases
  5. 5.0.0major
  6. 138 releases
  7. 5.0.145target
6+
changes to make
0
advisories fixed
63+
new
117+
fixes

Counted from 459 of 462 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
  • Breaking4.0.0

Release by release

  1. 5.0.143 – 5.0.1453 releases, nothing new or fixed in the notes

  2. 5.0.142

    13 Nov 20262 fixes
    • Fixed

      amazon-bedrock: Send block_binding.prefix_mismatch_behavior to Bedrock again instead of the deprecated mismatch_behavior alias

    • 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.

  3. 5.0.137 – 5.0.1415 releases, nothing new or fixed in the notes

  4. 5.0.135

    7 Nov 20261 new
    • New

      Add resolveProviderOptions to parse provider options that a model accepts under several providerOptions keys, 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.

  5. 5.0.134

    6 Nov 20261 fix
    • 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.

  6. 5.0.133

    5 Nov 20263 fixes
    • 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: 0 instead of dropping it in image and video models. KlingAI now reports seed: 0 as 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.

  7. 5.0.132nothing new or fixed in the note

  8. 5.0.131

    2 Nov 20261 new · 2 fixes
    • 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

      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

412 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.