@langchain/langgraph
1.7.5 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed
1.7.5 is the newest release of 1.x.
In short
2 fixed
Release note
Patch Changes
langgraph: Isolate concurrent singleton-agent invocations by thread
ensureLangGraphConfigignores the ambientAsyncLocalStorageconfigurable
on root-level invokes that supply an invoke-timethread_idand have no nesting
keys (ignoring graph-bound.withConfig()defaults). On a fresh top-level run
the ambientconfigurablecan belong to another concurrent invocation, so its
keys — internal scratchpad/task-input as well as user keys liketenant_id/user_id— must not leak in; values the caller wants arrive through
the explicit (bound + invoke-time) configs. Ambient nesting (__pregel_read__)
and bound child graphs invoked from parent tasks are unaffected. This prevents
cross-invocation leakage between concurrentinvoke()calls on a shared compiled
graph (e.g. BullMQ workers withconcurrency > 1). Complements the config-merge
fix that stopped shared graph-boundmetadata/configurableobjects from being
mutated across invocations
(#2040).langgraph: Recognize JSON-erased
Overwritevalues across runtimesOverwritealready survives JSON serialization in JS becauseOverwrite.toJSON()
emits the canonical{ "__overwrite__": value }sentinel._getOverwriteValue
now additionally recognizes the discriminator form{ "type": "__overwrite__", value }produced when a typedOverwritefrom another runtime (e.g. a Python
dataclass routed through the LangGraph API server) is serialized and its type is
erased. This keepsOverwrite(andDeltaChannel) semantics intact across
cross-runtime JSON boundaries. These delta-channel APIs remain Beta.
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.