Packages

@langchain/langgraph

1.7.5 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.2.5

20 Mar 2026Where it was published

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() and streamEvents() called combineAbortSignals() but discarded the dispose function, 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 GC

    • Fall back to manual listener management on Node 18, with proper dispose() called when the stream completes or is cancelled

  • Fix AnyValue.update() returning false instead of true when 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.