@langchain/langgraph
1.7.5 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed
1.7.5 is the newest release of 1.x.
In short
2 new1 internal
Release note
Minor Changes
langgraph: Give each interrupt() in a task its own id
An interrupt raised after its task already got answers now gets its own id: the namespace hash plus the answer count. A task's first question keeps its id, and strict resume refuses an answer retried after a node asked its next question. Ids saved by older versions still answer: when a resume map has no entry for the task's next interrupt, the first id is used. A node retried by its retry policy now reuses its task's answers instead of asking again.
langgraph: Add a strict resume mode that refuses stale interrupt answers
With the private configurable key
__pregel_strict_resumeset, the root graph throwsUnknownInterruptErrorbefore writing anything when aCommand({ resume })names an interrupt that isn't pending, is an empty map, or is one value while several interrupts are pending. The error'sreason(not_pending,empty_maporambiguous) says which, with the interrupt ids involved ininterruptIdsandpendingIds. Without the key, resuming behaves as before.A task that raises several interrupts at once, such as a subgraph with parallel interrupts, now keeps all of them; before, only the last one was saved.
Command({ resume: false })and other falsy resume values now reachinterrupt()instead of throwingEmptyInputError.
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.