Packages

@langchain/aws

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

Upgrading @langchain/aws From 1.5.1 to 1.5.3

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.5.1yours
  2. 1.5.2
  3. 1.5.3target
0
changes to make
0
advisories fixed
0
new
5
fixes

Release by release

  1. 1.5.3

    20 Nov 20261 fix
    • Fixed

      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.

  2. 1.5.2

    2 Nov 20264 fixes
    • Fixed

      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.

    • Fixed

      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.

    • Fixed

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

    • Fixed

      aws: Preserve Bedrock text block indices when streaming

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.