langchain
1.6.7 · 18 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
1.6.7 is the newest release of 1.x.
In short
1 new2 fixed1 internal
Release note
Patch Changes
agents: Propagate structured output retry Command through wrapModelCall middleware
Add explicit
: symboltype annotations to Symbol.for() declarations for cross-version compatibilityTypeScript infers
unique symboltype when Symbol.for() is used without an explicit type annotation, causing type incompatibility when multiple versions of the same package are present in a dependency tree. By adding explicit: symbolannotations, all declarations now use the general symbol type, making them compatible across versions while maintaining identical runtime behavior.Changes:
Added
: symboltoMESSAGE_SYMBOLin messages/base.tsAdded
: symboltoMIDDLEWARE_BRANDin agents/middleware/types.ts (also changed from Symbol() to Symbol.for() for cross-realm compatibility)
Implement standard schema support for structured output
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.