Packages

@langchain/aws

1.5.3 · 20 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

60 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.5.3

    20 Nov 2026
    • Set finish_reason (the stopReason) and normalized_finish_reason in response_metadata on ChatBedrockConverse invoke and streamed results, and emit them on message-finish. malformed_model_output and malformed_tool_use normalize to error; unmapped stop reasons to other.

  3. 1.5.2

    2 Nov 2026
    • Replay signed Bedrock reasoning blocks whose text is empty or missing instead of dropping them, so models that omit the thinking summary (e.g. Claude Sonnet 5, which defaults to display: "omitted") no longer fail with an HTTP 400 on the turn after a tool call. A missing text is sent as "", and an empty signature counts as unsigned. Whitespace-only text after reasoning is no longer merged into the reasoning block, and a standard reasoning block split into parts is joined before replay.

    • Fix ChatBedrockConverse retry classification for AWS HTTP errors and content-filter failures while keeping ThrottlingException and ModelNotReadyException retryable. Internally created Bedrock clients now default to maxAttempts: 1 so SDK retries do not stack with LangChain retries; explicit clientOptions.maxAttempts values and injected clients remain unchanged.

    • Preserve reasoning signatures in native Bedrock Converse stream events so streamed messages can be replayed in subsequent requests.

  4. 1.5.1

    28 Oct 2026
    • aws: Use this.caller in ChatBedrockConverse to support maxRetries, timeout, and onFailedAttempt

  5. 1.5.0

    22 Oct 2026
    • Stream tool-call args as tool-call-delta slices

      Tool-call and server-tool-call args now stream as tool-call-delta events, which carry only the new slice of the args, instead of block-delta snapshots of the args so far. A large tool call now costs about the same bytes on the wire as the same length of text.

  6. 1.4.7

    15 Oct 2026
    • Report Bedrock thinking tokens as output_token_details.reasoning

      ChatBedrockConverse now accepts additionalModelResponseFieldPaths (constructor and call option, matching additional_model_response_field_paths in Python) and forwards it to Converse and ConverseStream. When the response includes Anthropic's native usage (additionalModelResponseFields.usage.output_tokens_details.thinking_tokens, returned when requesting ["/usage"]), the count is mapped to usage_metadata.output_token_details.reasoning for invoke(), .stream() and streamEvents(). output_tokens is unchanged, and nothing changes when the field is absent.

  7. 1.4.6

    27 Sep 2026
    • Add LANGSMITH_GATEWAY direct routing for Bedrock Converse and Vertex AI chat models.

  8. 1.4.5

    1 Sep 2026
    • aws: Add claude-sonnet-5, claude-opus-5, and claude-haiku-5 to supportedToolChoiceValuesForModel

  9. 1.4.4

    14 Aug 2026
    • aws: Put lc_error_code directly on Bedrock Converse stream-idle timeouts, cover the pre-response hang window

      ChatBedrockConverse's stream watchdog previously threw a bare Error with lc_error_code nested under cause, making the timeout undetectable via a plain error.lc_error_code check. It now sets lc_error_code: "MODEL_STREAM_TIMEOUT" directly on the error, matching the convention used elsewhere in the codebase. The streamIdleTimeout watchdog also now covers the window before the initial response is received, not just gaps between stream chunks.

  10. 1.4.3

    14 Jul 2026
    • aws: Normalize and safely replay Bedrock reasoning blocks

      Emit standard reasoning blocks with preserved signatures, omit incomplete signature-only reasoning during replay, and retain compatibility with legacy and redacted Bedrock reasoning.

  11. 1.4.2

    23 Jun 2026
    • Add a default Bedrock Converse stream idle timeout to prevent stalled response bodies from hanging forever.

  12. 1.4.1

    18 Jun 2026
    • Support Bedrock bearer token auth

  13. 1.4.0

    17 Jun 2026
    • aws: Add native Bedrock Converse streamEvents events

  14. 1.3.9

    21 May 2026
    • aws: Add claude-haiku-4 to supportedToolChoiceValuesForModel

  15. 1.3.8

    18 May 2026
    • aws: Preserve Bedrock tool call identity in callback-streamed chunks

  16. 1.3.6 – 1.3.72 releases without a noteShow each
  17. 1.3.5

    13 Apr 2026
    • Normalize Bedrock Converse object errors for tracing

  18. 1.3.4

    3 Apr 2026
    • aws: Impute file name for document content blocks

  19. 1.3.3

    17 Mar 2026
    • aws: Add defaultHeaders to ChatBedrockConverse

  20. 1.3.2

    12 Mar 2026
    • aws: Add bedrockApiKey, bedrockApiSecret, and bedrockApiSessionToken to ChatBedrockConverse

  21. 1.3.1

    3 Mar 2026
    • aws: Implement standard schema support for structured output

  22. 1.3.0

    26 Feb 2026
    • aws: Add video and audio content block support for ChatBedrockConverse input messages

    • Add package version metadata to runnable traces. Each package now stamps its version in this.metadata.versions at construction time, making version info available in LangSmith trace metadata.

  23. 1.2.5

    23 Feb 2026
    • Replace retired Anthropic model IDs with active replacements

  24. 1.2.3 – 1.2.42 releases without a noteShow each
  25. 1.2.2

    30 Jan 2026
    • Improved abort signal handling for chat models:

    • providers: Add proper abort signal handling for invoke and stream operations

      This enables proper cancellation behavior for both invoke and streaming operations, and allows fallback chains to correctly proceed to the next runnable when the previous one is aborted.

  26. 1.2.1

    20 Jan 2026
    • Map cache points in ToolMessage outside of tool result content block

  27. 1.2.0

    13 Jan 2026
    • Add support for AWS Bedrock service tiers (Priority, Standard, Flex) to the Converse API, aligned with the Python LangChain implementation.

    • core: Properly elevate reasoning tokens

    • Target standard content trigger appropriately

  28. 1.1.1

    6 Jan 2026
    • langchain-aws: Add support for Amazon Nova embedding models

  29. 1.1.0

    2 Dec 2025
    • aws: Allow bedrock Application Inference Profile

  30. 1.0.3

    24 Nov 2025
  31. 1.0.2

    18 Nov 2025
    • Fix handling of multiple tool types in convertToConverseTools fn

  32. 1.0.0 – 1.0.12 releases without a noteShow each
  33. 0.1.x
  34. 0.1.0 – 0.1.1516 releases without a noteShow each

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.