Packages

@langchain/langgraph

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

Upgrading @langchain/langgraph From 1.7.2 to 1.7.5

3 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
0
new
7
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.

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