Packages

@langchain/langgraph

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

Upgrading @langchain/langgraph From 1.7.0 to 1.7.5

5 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
1
new
9
fixes

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.

7 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.