Packages

@langchain/langgraph

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

Your version

1.7.0

5 Nov 2026Where it was published

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_resume set, the root graph throws UnknownInterruptError before writing anything when a Command({ resume }) names an interrupt that isn't pending, is an empty map, or is one value while several interrupts are pending. The error's reason (not_pending, empty_map or ambiguous) says which, with the interrupt ids involved in interruptIds and pendingIds. 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 reach interrupt() instead of throwing EmptyInputError.

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.