Packages

@langchain/aws

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

Upgrading @langchain/aws From 1.1.1 to 1.5.3

28 releases in betweennotes for 24

Reading releases, release notes and advisories…

  1. 1.1.1yours
  2. 27 releases
  3. 1.5.3target
?
changes to make
0
advisories fixed
13+
new
19+
fixes

Counted from 24 of 28 release notes. Advisories are counted from the advisory database, in full.

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

  3. 1.5.1

    28 Oct 20261 fix
    • Fixed

      aws: Use this.caller in ChatBedrockConverse to support maxRetries, timeout, and onFailedAttempt

  4. 1.5.0

    22 Oct 20261 new
    • New

      Stream tool-call args as tool-call-delta slices

  5. 1.4.7

    15 Oct 20261 fix
    • Fixed

      Report Bedrock thinking tokens as output_token_details.reasoning

  6. 1.4.6

    27 Sep 20261 new
    • New

      Add LANGSMITH_GATEWAY direct routing for Bedrock Converse and Vertex AI chat models.

  7. 1.4.5

    1 Sep 20261 fix
    • Fixed

      aws: Add claude-sonnet-5, claude-opus-5, and claude-haiku-5 to supportedToolChoiceValuesForModel

  8. 1.4.4

    14 Aug 20261 fix
    • Fixed

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

3 other lines we could not sort, mostly version bumps
  • invoke() now throws ModelAbortError with accumulated partialOutput when aborted during streaming (when using streaming callback handlers)

    1.2.2
  • stream() throws a regular AbortError when aborted (since chunks are already yielded to the caller)

    1.2.2
  • All provider implementations now properly check and propagate abort signals in both _generate() and _streamResponseChunks() methods

    1.2.2

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.