NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4362 most downloaded on npm
Core LangChain.js abstractions and schemas
Latest stable
1.4.2
Last release 4 days ago
18 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
371 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Updated dependencies [`9920d4b`]:
9920d4b]:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.60
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.59
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.58
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.57
Nothing published for this version
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.56
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.55
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.54
Updated dependencies [`93d62b0`, `d3e6fe6`]:
Nothing published for this version
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.52
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.51
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.50
Nothing published for this version
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.48
Nothing published for this version
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.47
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.46
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.45
Nothing published for this version
Updated dependencies [`7df258c`]:
7df258c]:
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.43
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.42
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.41
### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.40
f7e50fb Thanks @afirstenberg! - Adds support for flex and priority pricing.
Adds support for custom headers.
Thanks to @Nico385412 and @pawel-twardziak for their insight and contributions.### Patch Changes - Updated dependencies []: - @langchain/classic@1.0.39
Nothing published for this version
### Patch Changes - Updated dependencies \[]: - @langchain/classic@1.0.38
9781bff Thanks @muhammadosama984! - fix(google): align mediaResolution with Gemini scalar values and support detail alias mapping (low/high/auto) for media prompts.Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - Updated dependencies \[]: - @langchain/classic@1.0.37
6e2d29e Thanks @afirstenberg! - tests(@langchain/google): Lyria 3Nothing published for this version
### Patch Changes - Updated dependencies \[]: - @langchain/classic@1.0.36
#10471 8f15dd1 Thanks @pawel-twardziak! - fix(@langchain/google): pass abort signal to fetch in non-streaming invoke
signal: options.signal to the Request constructor in _generate's non-streaming branch, mirroring what _streamResponseChunks already does#10493 63b7268 Thanks @afirstenberg! - Undo regression introduced in #10397 in legacy content processing path.
Fixes issues with a false duplicate functionCall sent in response (#10474).
### Patch Changes - Updated dependencies \[]: - @langchain/classic@1.0.35
#10343 a1062b7 Thanks @pawel-twardziak! - fix: merge consecutive same-role Gemini content blocks
#10313 bc4cd65 Thanks @pawel-twardziak! - fix(langchain-google): parse JSON error bodies from non-JSON content types
#10397 955ef6b Thanks @pawel-twardziak! - fix(google): fix v1 converter dropping tool_calls, text-plain and file blocks
#10402 9099f53 Thanks @pawel-twardziak! - fix(google): use dynamic ls_provider based on platform instead of hardcoded "google"
#10415 d7d0bc7 Thanks @pawel-twardziak! - fix(genai): round-trip thinking content blocks in multi-turn convos
#10407 c2960fe Thanks @fahe1em1! - lazy-load jose in CJS auth helpers
#10292 e4193f8 Thanks @afirstenberg! - fixes for Vertex function calls
#10400 a870750 Thanks @afirstenberg! - support role name for function response in Vertex
### Patch Changes - Updated dependencies \[]: - @langchain/classic@1.0.34
aacbe87]:
#10300 a26dc7d Thanks @MaxwellCalkin! - resolve functionResponse.name from tool_calls in legacy converter
#10314 418a3fc Thanks @pawel-twardziak! - add getLsParams for LangSmith tracing metadata
#10267 b68f083 Thanks @afirstenberg! - feat(@langchain/google) Test Gemini 3.1 Flash-Lite
Updated dependencies \[`3999fab`, `fce9ab4`]:
#10872 a640079 Thanks @hntrl! - chore(deps): remove redundant @types/uuid declarations
Remove @types/uuid from package manifests that rely on @langchain/core/utils/uuid or do not require uuid type stubs directly, and refresh the lockfile entries accordingly.
Updated dependencies [a640079]:
Updated dependencies \[`229a7ad`, `36fb0ef`]:
Updated dependencies \[`d3e0809`, `71e53f1`]:
Updated dependencies \[`2301260`]:
2301260]:
Nothing published for this version
Updated dependencies \[`6b8ef6c`]:
6b8ef6c]:
20f27df Thanks @peterzaccha! - fix(langchain-ibm): handle API errors in streaming responsesUpdated dependencies \[`d6bf4fc`]:
0fb6fa4 Thanks @christian-bromann! - feat(together-ai): migrate Together AI into provider packaged6bf4fc]:
ca0a41d Thanks @christian-bromann! - feat: add @langchain/pgvector standalone packaged7a98cd Thanks @christian-bromann! - feat: add @langchain/perplexity standalone provider packageed8cda6 Thanks @christian-bromann! - feat: scaffold @langchain/neo4j provider packageba03669 Thanks @christian-bromann! - feat: add @langchain/ibm package - IBM watsonx.ai integrationd3d0922]:
884c2d3 Thanks @christian-bromann! - feat(fireworks): extract standalone provider packaged6bf4fc]:
#12184 5a21380 Thanks @thushanth-bengre-langchain! - feat(typesafe)!: implement TypeSafeClassifier as a decision model
TypeSafeClassifier now extends BaseDecisionModel from @langchain/core/decisions and requires @langchain/core >= 1.4.0. This is a breaking change:
new TypeSafeClassifier().invoke({ state, questions }) replaces new TypeSafeClassifier({ questions }).invoke(state)ClassifierResponse. Token usage is usage_metadata (input_tokens, output_tokens, total_tokens) instead of usage (inputTokens, outputTokens)instructions. ClassificationResponse, QuestionContent (now Content), Usage, ValidatedQuestions, JsonValue, and TypeSafeClassifierCallOptions are removedBox questions, and send image content blocks in state or question content as TypeSafe image assetsError from invoke instead of a TypeSafeError from the constructorState is core's type, which no longer lists Date; dates are still sent as ISO strings#12192 9920d4b Thanks @jkennedyvz! - Require Zod 4.6.6 or newer for installed dependencies to exclude versions affected by GHSA-mrhx-c7xc-m3w5. Zod v3 schemas remain supported through the bundled zod/v3 entry point.
#12186 035b74b Thanks @thushanth-bengre-langchain! - refactor(typesafe): deprecate experimental middleware
autoModeMiddleware and modelRouterMiddleware from @langchain/typesafe/middleware. They warn once when called and will be removed in 0.2.0autoModeMiddleware and modelRouterMiddleware from langchain with classifier: new TypeSafeClassifier() insteadNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.