Packages

@langchain/langgraph

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

Upgrading @langchain/langgraph From 1.0.4 to 1.7.5

64 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.0.4yours
  2. 51 releases
  3. 1.4.21breaking
  4. 11 releases
  5. 1.7.5target
  6. 2 pre

Before you upgrade

Tick each one off as you go
  • Breaking1.4.21
  • Breaking1.4.21

Release by release

  1. 1.7.5

    17 Nov 20265 fixes
    • Fixed

      With a zod state schema, node updates and run input are validated with the cached partial schema instead of a new zod schema per update, which zod had to compile every time. A 50-step run on a 30-field zod state is 1.65x faster.

    • Fixed

      The Pregel loop finds DeltaChannel and UntrackedValue channels once per run instead of scanning every channel on each task and step. A 1,000-node chain runs 1.37x faster.

    • Fixed

      messagesStateReducer does less work per update on a long history: it rules out message chunks with a native prototype check first, looks up only the ids the update touches, and skips the removal pass when nothing is removed. A call on 2,000 messages is 4x faster.

    • Fixed

      The runner keeps a step's running tasks in a Map. Listing them took longer with every task, which made wide Send fan-outs quadratic: 500 parallel tasks now run 1.4x faster.

    • Fixed

      LangGraph's own writers and branch runners inside each node no longer enter an async context. Entering one made @langchain/core build a LangSmith run tree on every call, even with tracing off, so graphs whose nodes do little work run up to 1.75x faster. Node functions, edge functions and tools keep their context.

  2. 1.7.4nothing new or fixed in the note

  3. 1.7.3

    10 Nov 20262 fixes
    • Fixed

      Match whole namespace segments in getSubgraphs and getSubgraphsAsync, so a namespace such as research_review no longer also yields research|review, and yield a namespace's subgraph once when a node declares several subgraphs

    • Fixed

      Stop the run when a consumer breaks out of a for await loop over graph.stream() or graph.streamEvents(), or cancels the stream's reader. Only an explicit stream.cancel() aborted the run before; breaking out of the loop left the remaining nodes running in the background.

  4. 1.7.2

    7 Nov 20261 fix
    • Fixed

      getState and getStateHistory report the result of a task that was interrupted and then resumed. The task's interrupt write stays on the checkpoint after it finishes, and that hid the result, so a node with human-in-the-loop never showed what it returned in history. A task that failed after writing some output now reports that output as its result too, as in Python. A task still paused at an interrupt keeps result: undefined.

  5. 1.7.1

    6 Nov 20261 new · 1 fix
    • New

      langgraph: Add isUnknownInterruptError, which matches the error by name like isGraphInterrupt, so it also recognizes an UnknownInterruptError thrown by another copy of @langchain/langgraph

    • Fixed

      Task results in the tasks and debug stream modes carry the task's error (null when it succeeded), as they do in Python, so a failed task no longer looks completed.

  6. 1.7.0

    5 Nov 20262 new
    • New

      langgraph: Give each interrupt() in a task its own id

    • New

      langgraph: Add a strict resume mode that refuses stale interrupt answers

  7. 1.6.1

    4 Nov 20261 fix
    • Fixed

      Restore per-node tracePolicy, using @langchain/core's TracePolicy (requires @langchain/core >= 1.3.4). It only changes what LangChainTracer sends to LangSmith; execution, streaming, and other callbacks see raw values.

  8. 1.6.0

    30 Oct 20265 fixes
    • Fixed

      langgraph: Give messages and tools events the namespace of the graph that ran them

    • Fixed

      langgraph: Keep every message a node returns in messages stream mode

    • Fixed

      langgraph: Route a RemoteGraph's subgraph events like a local graph's when it streams inside a node

    • Fixed

      List a ToolNode's tool names under the __tools node metadata key in getGraph() and getGraphAsync(), matching Python, so graph viewers such as Studio can show which tools it runs.

    • Fixed

      langgraph: Stop reporting a paused tool as failed on the tools stream

64 internal lines (docs, tests, tooling) left out.

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.