Packages

@langchain/aws

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

Your version

1.5.2

2 Nov 2026Where it was published

1.5.3 is the newest release of 1.x.

In short

4 fixed

Release note

Patch Changes

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

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