unstale

npm / @ai-sdk/amazon-bedrock

@ai-sdk/amazon-bedrock

What changed in @ai-sdk/amazon-bedrock 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

4 breaking1 security12 new APIs and options10 behavior and defaults29 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@ai-sdk/amazon-bedrock 538 changes

Breaking changes 1

  • The thinking block binding field was renamed for Bedrock.

    5.0.83release notes

Security 1

  • Sanitizes document filenames before sending them to Bedrock.

    5.0.75release notes

New APIs and options 9

  • Adds Claude Haiku 5.5 support on Amazon Bedrock, with a 128k max output token limit, adaptive thinking, and all five effort levels.

    5.0.109release notes

  • Adds the US-prefixed Claude Haiku 5.5 model ID for Amazon Bedrock.

    3.0.139, 5.0.109release notesrelease notes

  • Portable reasoning now supports max, with native provider mappings, compatibility coercions, and budget-based fallback support.

    5.0.107release notes

  • Adds per-request metadata to the Converse and ConverseStream APIs for tagging Amazon Bedrock invocation logs for cost attribution.

    5.0.105release notes

  • Adds the 20260318 web search and web fetch tools with response inclusion controls.

    5.0.85release notes

  • Claude Fable 5.1 model IDs were added to the Bedrock provider.

    5.0.84release notes

  • Adds a provider option to choose between native structured output and the JSON tool fallback for Anthropic models.

    5.0.71release notes

  • Anthropic reasoning budgets are enabled for application inference profile ARNs.

    4.0.166, 5.0.68release notesrelease notes

  • A model family setting is available for embeddings to support ARN models.

    4.0.166, 5.0.67release notesrelease notes

Behavior and default changes 5

  • Bedrock uses native structured output and strict tools only for known supported Claude models; future Claude model IDs omit unsupported fields and use JSON instructions for structured output by default.

    5.0.114release notes

  • Top-level embedding dimensions are now mapped to provider settings.

    5.0.113release notes

  • Capability declarations now use confirmed model IDs, advertise file and mask support where applicable, and allow asynchronous lookups and middleware overrides to resolve to unknown.

    5.0.98release notes

  • Structured output defaults to the JSON tool fallback for Claude Sonnet 4.6 and Claude Haiku 4.5, while strict tool support is preserved.

    5.0.71release notes

  • Amazon Bedrock streaming responses now accept citation deltas.

    3.0.126, 4.0.166, 5.0.67release notesrelease notesrelease notes

Fixes and other changes 22

  • SigV4 signing is skipped for non-ASCII header values.

    3.0.140, 4.0.193, 5.0.110release notesrelease notesrelease notes

  • Structured output for Claude Haiku 5.5 on Amazon Bedrock uses the JSON tool fallback.

    4.0.192, 5.0.109release notesrelease notes

  • Partial configurations continue to preserve explicit values and derive missing fields; explicit effort or budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent.

    5.0.107release notes

  • Nova 2 calls using portable xhigh now send maxReasoningEffort: 'high' instead of the unsupported 'max', and return a compatibility warning.

    5.0.107release notes

  • Hostname parts are validated using isValidHostnamePart.

    5.0.103release notes

  • The User-Agent header now follows standards, improving compatibility with systems that inspect it.

    5.0.100release notes

  • The provider omits max output tokens for Nova 2 Lite high reasoning.

    5.0.98release notes

  • Unsupported OpenAI sampling settings are omitted from Converse requests.

    5.0.93release notes

  • Supported Mantle models are routed through the OpenAI endpoint.

    5.0.93release notes

  • Unsupported sampling parameters are omitted for newer Claude models.

    5.0.93release notes

  • Avoids forcing structured-output tools for incompatible Claude models.

    3.0.134, 4.0.181, 5.0.92release notesrelease notesrelease notes

  • API error messages are preserved when the error type is omitted.

    3.0.132, 4.0.178, 5.0.87release notesrelease notesrelease notes

  • Open tool schemas no longer use strict mode.

    5.0.87release notes

  • Anthropic features are enabled for application inference profile chat models.

    3.0.132, 4.0.177, 5.0.85release notesrelease notesrelease notes

  • Bedrock endpoints now support non-standard AWS regions and service-specific overrides.

    4.0.176, 5.0.82release notesrelease notes

  • Returns text from citation content responses.

    5.0.75release notes

  • Preserves provider-executed tool results when replaying messages.

    5.0.75release notes

  • Assistant messages are omitted when filtering unsigned reasoning leaves only cache points.

    3.0.126, 4.0.166, 5.0.67release notesrelease notesrelease notes

  • Amazon Bedrock now forwards the Anthropic option for disabling parallel tool use without sending conflicting tool choice fields.

    3.0.124, 4.0.165, 5.0.65release notesrelease notesrelease notes

  • Modeled event-stream exceptions are now surfaced by the Amazon Bedrock provider.

    3.0.119, 4.0.159, 5.0.60release notesrelease notesrelease notes

  • Handles empty string tool call IDs.

    5.0.59release notes

  • Supports reasoningContent.redactedContent from the Converse API and replays it on subsequent turns.

    3.0.118, 4.0.158, 5.0.59release notesrelease notesrelease notes

@ai-sdk/amazon-bedrock 49 changes

Breaking changes 2

  • Amazon Bedrock event stream frame decoding and processing failures are surfaced instead of silently completing the stream.

    4.0.157release notes

  • Amazon Bedrock event streams ending with an incomplete buffered frame are rejected instead of completing normally with partial output.

    4.0.157release notes

New APIs and options 1

Behavior and default changes 2

  • Native structured output is used for known supported Claude models; future Claude model IDs use JSON instructions for structured output by default.

    4.0.195release notes

  • Claude Sonnet 4.6 and Claude Haiku 4.5 default to the JSON tool fallback while preserving strict tool support.

    4.0.168release notes

Fixes and other changes 4

  • Strict-tool fields are omitted for future Claude model IDs that do not support them.

    4.0.195release notes

  • Generated text is now returned from citation content blocks.

    4.0.171release notes

  • Amazon Bedrock now handles channel-qualified JSON response tool names.

    4.0.169release notes

  • Raw usage metadata now preserves complete Amazon Bedrock Converse usage objects.

    4.0.163release notes

@ai-sdk/amazon-bedrock 39 changes

Breaking changes 1

  • For claude-sonnet-5-5, disabled thinking is replaced with between_tools thinking, and budget-based thinking is converted to adaptive thinking; disabled thinking emits a warning.

    3.0.137release notes

New APIs and options 2

  • Adds Claude Haiku 5.5 as a supported Amazon Bedrock model.

    3.0.139release notes

  • Adds the between_tools thinking type, the lowest thinking setting for claude-sonnet-5-5.

    3.0.137release notes

Behavior and default changes 3

  • For claude-sonnet-5-5, jsonTool falls back to native structured outputs with a warning.

    3.0.137release notes

  • For claude-sonnet-5-5, required and named tool choices fall back to auto with a warning because the model rejects forced tool use.

    3.0.137release notes

  • Claude Sonnet 4.6 and Claude Haiku 4.5 now default to the JSON tool fallback.

    3.0.127release notes

Fixes and other changes 3

  • For claude-sonnet-5-5, xhigh and max effort are lowered to high with a warning because the API rejects them with between_tools.

    3.0.137release notes

  • Resolves endpoints for non-standard AWS partitions and endpoint overrides.

    3.0.131release notes

  • Non-streaming citation responses now return text.

    3.0.129release notes