@langchain/aws
1.5.3 · 20 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
60 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1.x · latest line
1.5.3
20 Nov 2026Set
finish_reason(thestopReason) andnormalized_finish_reasoninresponse_metadataonChatBedrockConverseinvokeand streamed results, and emit them onmessage-finish.malformed_model_outputandmalformed_tool_usenormalize toerror; unmapped stop reasons toother.
1.5.2
2 Nov 2026Replay 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 missingtextis 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: 1so SDK retries do not stack with LangChain retries; explicitclientOptions.maxAttemptsvalues and injected clients remain unchanged.Preserve reasoning signatures in native Bedrock Converse stream events so streamed messages can be replayed in subsequent requests.
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 missingtextis 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: 1so SDK retries do not stack with LangChain retries; explicitclientOptions.maxAttemptsvalues 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
1.5.1
28 Oct 2026aws: Use this.caller in ChatBedrockConverse to support maxRetries, timeout, and onFailedAttempt
1.5.0
22 Oct 2026Stream tool-call args as
tool-call-deltaslicesTool-call and server-tool-call args now stream as
tool-call-deltaevents, which carry only the new slice of the args, instead ofblock-deltasnapshots of the args so far. A large tool call now costs about the same bytes on the wire as the same length of text.
1.4.7
15 Oct 2026Report Bedrock thinking tokens as
output_token_details.reasoningChatBedrockConversenow acceptsadditionalModelResponseFieldPaths(constructor and call option, matchingadditional_model_response_field_pathsin 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 tousage_metadata.output_token_details.reasoningforinvoke(),.stream()andstreamEvents().output_tokensis unchanged, and nothing changes when the field is absent.
1.4.6
27 Sep 2026Add
LANGSMITH_GATEWAYdirect routing for Bedrock Converse and Vertex AI chat models.
1.4.5
1 Sep 2026aws: Add claude-sonnet-5, claude-opus-5, and claude-haiku-5 to supportedToolChoiceValuesForModel
1.4.4
14 Aug 2026aws: Put
lc_error_codedirectly on Bedrock Converse stream-idle timeouts, cover the pre-response hang windowChatBedrockConverse's stream watchdog previously threw a bareErrorwithlc_error_codenested undercause, making the timeout undetectable via a plainerror.lc_error_codecheck. It now setslc_error_code: "MODEL_STREAM_TIMEOUT"directly on the error, matching the convention used elsewhere in the codebase. ThestreamIdleTimeoutwatchdog also now covers the window before the initial response is received, not just gaps between stream chunks.
1.4.3
14 Jul 2026aws: 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.
1.4.2
23 Jun 2026Add a default Bedrock Converse stream idle timeout to prevent stalled response bodies from hanging forever.
1.4.1
18 Jun 2026Support Bedrock bearer token auth
1.4.0
17 Jun 2026aws: Add native Bedrock Converse streamEvents events
1.3.9
21 May 2026aws: Add claude-haiku-4 to supportedToolChoiceValuesForModel
1.3.8
18 May 2026aws: Preserve Bedrock tool call identity in callback-streamed chunks
1.3.5
13 Apr 2026Normalize Bedrock Converse object errors for tracing
1.3.4
3 Apr 2026aws: Impute file name for document content blocks
1.3.3
17 Mar 2026aws: Add defaultHeaders to ChatBedrockConverse
1.3.2
12 Mar 2026aws: Add bedrockApiKey, bedrockApiSecret, and bedrockApiSessionToken to ChatBedrockConverse
1.3.1
3 Mar 2026aws: Implement standard schema support for structured output
1.3.0
26 Feb 2026aws: 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.versionsat construction time, making version info available in LangSmith trace metadata.
1.2.5
23 Feb 2026Replace retired Anthropic model IDs with active replacements
1.2.2
30 Jan 2026Improved 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.
1.2.1
20 Jan 2026Map cache points in ToolMessage outside of tool result content block
1.2.0
13 Jan 2026Add 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
1.1.1
6 Jan 2026langchain-aws: Add support for Amazon Nova embedding models
1.1.0
2 Dec 2025aws: Allow bedrock Application Inference Profile
1.0.3
24 Nov 20251.0.2
18 Nov 2025Fix handling of multiple tool types in convertToConverseTools fn
- 0.1.x
0.1.0 – 0.1.1516 releases without a noteShow each
- 0.1.152 Sep 2025no note
- 0.1.1418 Aug 2025no note
- 0.1.131 Aug 2025no note
- 0.1.1219 Jul 2025no note
- 0.1.1111 Jun 2025no note
- 0.1.1014 May 2025no note
- 0.1.924 Apr 2025no note
- 0.1.89 Apr 2025no note
- 0.1.713 Mar 2025no note
- 0.1.61 Mar 2025no note
- 0.1.528 Feb 2025no note
- 0.1.421 Feb 2025no note
- 0.1.331 Dec 2024no note
- 0.1.25 Nov 2024no note
- 0.1.111 Oct 2024no note
- 0.1.014 Sep 2024no note
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.