unstale

npm / @langchain/aws

@langchain/aws

What changed in @langchain/aws 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 security4 new APIs and options1 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@langchain/aws 116 changes

Security 2

  • LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

    1.3.1security advisory

  • LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values

    1.1.1security advisory

New APIs and options 4

  • Accepts additionalModelResponseFieldPaths as a constructor and call option, forwarding it to Converse and ConverseStream.

    1.4.7release notes

  • Maps Anthropic's thinking-token count to this field for invoke(), .stream() and streamEvents() when the native usage field is present; output_tokens remains unchanged.

    1.4.7release notes

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

    1.4.6release notes

  • Bedrock Converse now supports native streamEvents events.

    1.4.0release notes

Behavior and default changes 1

  • File names are imputed for document content blocks.

    1.3.4release notes

Fixes and other changes 9

  • Adds claude-sonnet-5, claude-opus-5, and claude-haiku-5 to the model values supported for tool choice.

    1.4.5release notes

  • Stream-idle timeout errors now set lc_error_code directly on the error, so a plain error.lc_error_code check can detect them.

    1.4.4release notes

  • The streamIdleTimeout watchdog now covers the wait before the initial response, as well as gaps between stream chunks.

    1.4.4release notes

  • Standard reasoning blocks preserve signatures; replay omits incomplete signature-only reasoning while retaining compatibility with legacy and redacted Bedrock reasoning.

    1.4.3release notes

  • A default idle timeout prevents stalled Bedrock Converse response bodies from hanging forever.

    1.4.2release notes

  • Adds support for Bedrock bearer token authentication.

    1.4.1release notes

  • Adds claude-haiku-4 to the models supporting tool choice.

    1.3.9release notes

  • Preserves Bedrock tool call identity in callback-streamed chunks.

    1.3.8release notes

  • Bedrock Converse object errors are normalized for tracing.

    1.3.5release notes