Packages

@langchain/langgraph

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

Your version

1.4.4

17 Jun 2026Where it was published

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

    ensureLangGraphConfig ignores the ambient AsyncLocalStorage configurable
    on root-level invokes that supply an invoke-time thread_id and have no nesting
    keys (ignoring graph-bound .withConfig() defaults). On a fresh top-level run
    the ambient configurable can belong to another concurrent invocation, so its
    keys — internal scratchpad/task-input as well as user keys like
    tenant_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 concurrent invoke() calls on a shared compiled
    graph (e.g. BullMQ workers with concurrency > 1). Complements the config-merge
    fix that stopped shared graph-bound metadata/configurable objects from being
    mutated across invocations
    (#2040).

  • langgraph: Recognize JSON-erased Overwrite values across runtimes

    Overwrite already survives JSON serialization in JS because Overwrite.toJSON()
    emits the canonical { "__overwrite__": value } sentinel. _getOverwriteValue
    now additionally recognizes the discriminator form { "type": "__overwrite__", value } produced when a typed Overwrite from another runtime (e.g. a Python
    dataclass routed through the LangGraph API server) is serialized and its type is
    erased. This keeps Overwrite (and DeltaChannel) 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.