@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
1.17.0 is the newest release of 1.x.
In short
2 breaking2 new2 fixed
- BreakingTo check
feat(sdk): hide the interrupts another client answered when the server sends
input.answered, and route that event to theinputchannel - Breaking
chore: depend on @langchain/protocol 0.0.21, which types
input.answered, and mapinput.answeredto theinputchannel ininferChannel.inputsubscribers now getinput.answeredas well asinput.requested, so code that readsdata.interrupt_idshould checkevent.methodfirst.
Release note
Minor Changes
sdk: Hide the interrupts another client answered when the server sends
input.answered, and route that event to theinputchannelsdk: Add
strictResume, so a server with strict resume refuses an answer to an interrupt that is no longer waiting.client.runs.create(),stream()andwait()send it asstrict_resume, anduseStream'ssubmit()passes it on. Withrespond()andrespondAll(), the refusal is anUnknownInterruptErroronerrorwithreason,interruptIdsandpendingIds, whichisUnknownInterruptError(error)recognizes, and the interrupts still waiting show again.
Patch Changes
useStreamignores atoolsevent of a kind it doesn't know, such as langgraph's owntool-startedpayload, instead of throwingUnexpected tool eventinside a state update, which crashed the app's render.Run streams take the
lifecyclestream mode, typed asLifecycleStreamEvent: an event when each subgraph starts and ends, with the id of the tool call that started it.sdk:
run.startsends the multitask strategy asmultitask_strategy, like the protocol's other fields, as well asmultitaskStrategy, 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.