@langchain/langgraph
1.7.5 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed
1.7.5 is the newest release of 1.x.
In short
2 breaking1 deprecated5 new13 fixed1 internal
- Breaking
Make Zod a peer dependency of @langchain/langgraph
- Breaking
This release updates the package for compatibility with LangGraph v1.0. See the v1.0 release notes for details on what's new.
- Deprecated
prebuilt: Deprecate createReactAgent
Release note
The section about @langchain/langgraph of a note shared by several packages.
Major Changes
- Breaking
Make Zod a peer dependency of @langchain/langgraph
- Breaking
This release updates the package for compatibility with LangGraph v1.0. See the v1.0 release notes for details on what's new.
Patch Changes
Fix type issue with defining
interruptandwriterin StateGraph constructor when using Annotation.RootAdd
pushMessagemethod for manually publishing to messages stream channel- Deprecated
prebuilt: Deprecate createReactAgent
Improve performance of scheduling tasks with large graphs
Improve graph execution performance by avoiding unnecessary cloning of checkpoints after every tick
@langchain/langgraph: Export missing
CommandParamssymbolAdd
stream.encodingoption to emit LangGraph API events as Server-Sent Events. This allows for sending events through the wire by piping the stream to aResponseobject.@langchain/langgraph: Export missing
CommandInstancesymbolUpdate troubleshooting link for common errors, add MISSING_CHECKPOINTER troubleshooting page
Fix
stateKeyproperty inpushMessagebeing ignored when RunnableConfig is automatically inheritedImprove tick performance by detecting interrupts faster within a tick.
Improve tick performance by calling
maxChannelMapVersiononly oncelanggraph: Add
toLangGraphEventStreammethod to stream events in LGP compatible formatcreateReactAgent: Update deprecation messages to contain reactAgent
writer,interruptandsignalis no longer an optional property ofRuntimeAdd support for defining multiple interrupts in StateGraph constructor. Interrupts from the map can be picked from the
Runtimeobject, ensuring type-safety across multiple interrupts.Channels are now part of the public API, allowing users to customise behaviour of checkpointing per channel
Allow defining types for interrupt and custom events upfront
Fix performance regression due to deferred nodes
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.