LangChain.js
Minor Changes
-
#10873
a74d574Thanks @baptistejamin! - chore(mistralai): upgrade to @mistralai/mistralai v2Also populates
response_metadata.modelon chat completions (was missing before).
Patch Changes
- #10743
6e4337fThanks @Zelys-DFKH! - fix(aws): add claude-haiku-4 to supportedToolChoiceValuesForModel
Patch Changes
-
#10832
1b24369Thanks @info-arnav! - fix(core, openrouter): make CJS default re-exports callable -
#10666
2bb55b0Thanks @hnustwjj! - feat(openrouter): surface reasoning content as v1 standard content blocksconvertOpenRouterResponseToBaseMessageandconvertOpenRouterDeltaToBaseMessageChunknow copy OpenRouter'sreasoning(flat string) andreasoning_details(structured array) fields ontoadditional_kwargs.reasoning_content/additional_kwargs.reasoning_details. A newChatOpenRouterTranslatoris registered in@langchain/coreunder the"openrouter"provider key soAIMessage.contentBlocksemits standard{type: "reasoning"}blocks alongside text and tool calls.Previously, reasoning text returned by reasoning-capable models routed through OpenRouter (DeepSeek R1, Minimax M2, Claude extended thinking, o-series, etc.) was silently dropped: only the
reasoning_tokenscount was preserved viausage_metadata. Consumers using standard content blocks (including the frontend agent UI patterns shown in the docs) could not display the model's chain of thought. -
#10918
3999fabThanks @christian-bromann! - fix(openai): stream custom tool calls through Responses API chunks
Minor Changes
-
#10666
2bb55b0Thanks @hnustwjj! - feat(openrouter): surface reasoning content as v1 standard content blocksconvertOpenRouterResponseToBaseMessageandconvertOpenRouterDeltaToBaseMessageChunknow copy OpenRouter'sreasoning(flat string) andreasoning_details(structured array) fields ontoadditional_kwargs.reasoning_content/additional_kwargs.reasoning_details. A newChatOpenRouterTranslatoris registered in@langchain/coreunder the"openrouter"provider key soAIMessage.contentBlocksemits standard{type: "reasoning"}blocks alongside text and tool calls.Previously, reasoning text returned by reasoning-capable models routed through OpenRouter (DeepSeek R1, Minimax M2, Claude extended thinking, o-series, etc.) was silently dropped: only the
reasoning_tokenscount was preserved viausage_metadata. Consumers using standard content blocks (including the frontend agent UI patterns shown in the docs) could not display the model's chain of thought.
Patch Changes
-
#10832
1b24369Thanks @info-arnav! - fix(core, openrouter): make CJS default re-exports callable -
Updated dependencies [
3999fab,fce9ab4]:- @langchain/openai@1.4.7
Patch Changes
- Updated dependencies []:
- @langchain/classic@1.0.34
Patch Changes
- #10721
20f27dfThanks @peterzaccha! - fix(langchain-ibm): handle API errors in streaming responses
Patch Changes
-
#10900
6bbddcaThanks @christian-bromann! - fix(langchain): unwrap tool message outputs in agent streams -
#10706
4ecb660Thanks @JadenKim-dev! - fix(langchain): set name on todoListMiddleware ToolMessages
Patch Changes
-
#10747
78e642fThanks @neo1027144-creator! - feat(deepseek): add DeepSeek V4 Flash and V4 Pro model profiles -
Updated dependencies [
3999fab,fce9ab4]:- @langchain/openai@1.4.7
Patch Changes
-
#10872
a640079Thanks @hntrl! - chore(deps): remove redundant @types/uuid declarationsRemove
@types/uuidfrom package manifests that rely on@langchain/core/utils/uuidor do not require uuid type stubs directly, and refresh the lockfile entries accordingly. -
#9912
7be1da4Thanks @yukukotani! - fix missing stream usage metadata on Gemini
Patch Changes
- Updated dependencies []:
- @langchain/google-webauth@2.1.31
Patch Changes
- #10653
e8d72d3Thanks @muhammadosama984! - fix(aws): preserve Bedrock tool call identity in callback-streamed chunks
Patch Changes
- Updated dependencies []:
- @langchain/google-gauth@2.1.31
Patch Changes
-
#10906
f61b345Thanks @hntrl! - feat(core): add uuid v6 utility supportAdd
v6UUID generation support to@langchain/core/utils/uuidby vendoring the upstream uuidjsv6implementation and itsv1ToV6helper, exportingv6from the UUID utils index, and adding tests for deterministic generation, buffer/offset behavior, validation/versioning, and ordering. -
#10872
a640079Thanks @hntrl! - chore(deps): remove redundant @types/uuid declarationsRemove
@types/uuidfrom package manifests that rely on@langchain/core/utils/uuidor do not require uuid type stubs directly, and refresh the lockfile entries accordingly. -
#10792
3682268Thanks @Genmin! - fix(core): apply v1 message casting after implicit streaming aggregation -
#10901
f26fc4aThanks @christian-bromann! - fix(testing): share fakeModel invocation state across bindTools instances
Patch Changes
-
#10556
9076f06Thanks @muhammadosama984! - refactor(deepseek,xai): remove redundant reasoning_content overrides -
Updated dependencies [
229a7ad,36fb0ef]:- @langchain/openai@1.4.6
