@langchain/langgraph
1.7.5 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed
1.7.5 is the newest release of 1.x.
In short
1 new1 fixed1 internal
Release note
Patch Changes
state: Validate Zod state updates from nodes
Validate node return values and Command updates against Zod state schema
constraints before applying them to graph state.Fixes #2519
ToolNode: Forward graph state to tools via
runtime.stateToolNodenow forwards its input to each tool through the second argument asruntime.state. When usingToolNodeas a node in a LangGraph graph, this gives tools access to the current graph state for workflows that need tool-call support in LangGraph proper. Tools can type the second parameter asToolRuntime<StateType>from@langchain/core/toolsand readruntime.statedirectly. This works in every runtime, including web browsers, and removes the need forgetCurrentTaskInput()(which relies onnode:async_hooks/AsyncLocalStorage).getCurrentTaskInput(config)continues to work for backwards compatibility.
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.