LangGraph.js 1.6.0 release notes
LangGraph.js 1.6.0 was released on October 30, 2026. The latest version is 1.7.5.
Release notes
Minor Changes
#3121
dbfb9a5Thanks @eliornl! - fix(langgraph): give messages and tools events the namespace of the graph that ran themmessagesandtoolsstream events now carry the namespace of the graph that ran them:- An event's namespace no longer ends with the node that made the call. Root tokens have the namespace
[], so withsubgraphs: truethey stream asmessages, notmessages|model:<id>, and a subgraph's tokens asmessages|sub:<id>. - Events from a model or tool called inside a
task()belong to the graph that called the task: they stream withoutsubgraphs: true, under that graph's namespace. - Without
subgraphs: true, events from inside subgraphs no longer stream. A subgraph node's returned messages still stream, whole, when it ends, and a node that streams its own subgraph withstreamMode: "messages"or"tools"still receives that subgraph's events. - Messages sent with
pushMessagefollow the same rules, so a node that streams its own subgraph receives the messages that subgraph pushes. - Apps that show subagent messages as they stream, like
useStreamwithfilterSubagentMessages, now needstreamSubgraphs: truewhen they submit, as they already did with a Python server.
streamEventswithversion: "v3"is unchanged.- An event's namespace no longer ends with the node that made the call. Root tokens have the namespace
Patch Changes
#3119
58d490eThanks @eliornl! - fix(langgraph): keep every message a node returns in messages stream mode- In
streamMode: "messages", the id-less messages a node returned all got one id, and an id-less message could take the id of a sibling that had one, so the messages reducer kept only one of them and the saved state depended on the stream mode. Each id-less message of a node's output now gets its own id. - Messages a node returns through
Command({ update })are now emitted inmessagesmode, as in Python. So are all the messages of a list of updates that holds aCommand, such asToolNodereturns when one of its tools returns aCommand; before, none of that list's messages were emitted, and they reached clients only with the nextvaluesevent. - A model tagged
nostreamstill streams no tokens, but when its node returns its message in a list with aCommand, ascreateAgentdoes, that message now streams whole when the node ends, as it already did for a plain update and does in Python.
streamEventswithversion: "v3"is unchanged.- In
#3145
5cf585bThanks @hntrl! - fix(langgraph): route a RemoteGraph's subgraph events like a local graph's when it streams inside a nodeWhen a node streams a
RemoteGraphand its parent graph is streamed withsubgraphs: true:- The node no longer receives the remote graph's subgraph events unless it passed
subgraphs: trueitself. WithstreamMode: "updates"it got["model", "child"]where a local graph gives["child"].messagesevents are not filtered. The server sends each message once, from the namespace where it first saw it, so it never sends the top-level copy the node would get from a local graph, and filtering would leave the node with no messages. - The parent now receives the remote graph's subgraph events, at every depth. Before, it received only the remote graph's top-level events.
- The same holds when the node passes
subgraphs: false. Before, that turned off subgraph events for the parent too. So a node that streams withstreamMode: "messages"andsubgraphs: falsenow gets the subgraph's message tokens instead of the whole message at the top level, as it already did when it didn't passsubgraphs, and as Python'sRemoteGraphdoes.
- The node no longer receives the remote graph's subgraph events unless it passed
#3127
a3fe525Thanks @sera-wi! - List aToolNode's tool names under the__toolsnode metadata key ingetGraph()andgetGraphAsync(), matching Python, so graph viewers such as Studio can show which tools it runs.#3118
7ab1b8dThanks @eliornl! - fix(langgraph): stop reporting a paused tool as failed on the tools streamA tool that calls
interrupt(), or whose run is drained, no longer emitson_tool_erroron thetoolsstream mode. The tool is paused, not failed: on resume it runs again and emitson_tool_startandon_tool_end.ToolNodenow re-throws a drain, as it already did an interrupt, instead of turning it into an errorToolMessage.Updated dependencies [
2a97004,e0109cb,b5f96bd,3aa46f1,a181b4d,5e7fa49,204fc6f,918f958,3c632fa,a73261d,b5f96bd,b5f96bd,b5f96bd,b5f96bd,2965bc1]:- @langchain/langgraph-checkpoint@1.2.2
- @langchain/langgraph-sdk@1.12.9