Packages

@langchain/langgraph-sdk

1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed

Your version

1.14.0

6 Nov 2026Where it was published

1.17.0 is the newest release of 1.x.

In short

2 breaking2 new2 fixed

  • Breaking

    feat(sdk): hide the interrupts another client answered when the server sends input.answered, and route that event to the input channel

    To check
  • Breaking

    chore: depend on @langchain/protocol 0.0.21, which types input.answered, and map input.answered to the input channel in inferChannel. input subscribers now get input.answered as well as input.requested, so code that reads data.interrupt_id should check event.method first.

Release note

Minor Changes

  • sdk: Hide the interrupts another client answered when the server sends input.answered, and route that event to the input channel

  • sdk: Add strictResume, so a server with strict resume refuses an answer to an interrupt that is no longer waiting. client.runs.create(), stream() and wait() send it as strict_resume, and useStream's submit() passes it on. With respond() and respondAll(), the refusal is an UnknownInterruptError on error with reason, interruptIds and pendingIds, which isUnknownInterruptError(error) recognizes, and the interrupts still waiting show again.

Patch Changes

  • useStream ignores a tools event of a kind it doesn't know, such as langgraph's own tool-started payload, instead of throwing Unexpected tool event inside a state update, which crashed the app's render.

  • Run streams take the lifecycle stream mode, typed as LifecycleStreamEvent: an event when each subgraph starts and ends, with the id of the tool call that started it.

  • sdk: run.start sends the multitask strategy as multitask_strategy, like the protocol's other fields, as well as multitaskStrategy, which older servers read.

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.