@langchain/langgraph
1.7.5 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed
1.7.5 is the newest release of 1.x.
In short
2 fixed1 internal
Release note
Patch Changes
core: Prevent AbortSignal listener leak in stream() and streamEvents()
Pregel.stream()andstreamEvents()calledcombineAbortSignals()but discarded thedisposefunction, leaking one abort listener on the caller's signal per invocation. Over many invocations this caused unbounded memory growth as each leaked listener retained references to its associated graph execution state.Use
AbortSignal.any()on Node 20+ which handles listener lifecycle automatically via GCFall back to manual listener management on Node 18, with proper
dispose()called when the stream completes or is cancelled
Fix
AnyValue.update()returningfalseinstead oftruewhen values are received, aligning with all other channel implementations.
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.