@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
1.17.0 is the newest release of 1.x.
In short
1 new4 fixed
Release note
Minor Changes
- Deprecated
client.runs.joinStreamtakes acheckpointIdoption, sent as thecheckpoint_idquery parameter: servers that support it send only the run's events after that checkpoint, or the whole run when it is not one of the run's, and other servers ignore it. WithreconnectOnMount, theuseStreamhook now rejoins a running run once the thread state has loaded, from the loaded head's checkpoint, so a reload no longer replays the run from its start over the state it just loaded. A streamed message now updates the message with its id wherever it is in the list, so one the loaded state already holds, or one avaluesevent moved, is not appended again or written over another.MessageTupleManager.get'sdefaultIndexargument and theindexfield of its entries are deprecated:StreamManagerno longer reads them, and they will be removed in 2.0.
Patch Changes
After
submit(input, { forkFrom }),messagesshows only the new branch. A fork's checkpoints restart at a lower step, so they were treated as an old replay and merged add-only, which kept every message from the abandoned branch until a reload. Also,useMessageMetadata(...).parentCheckpointIdnow keeps the parent of the first checkpoint that carried each message, instead of moving every message to the latest checkpoint's parent, so forking from it edits the right message.sdk: A
hydrate()of the thread already shown no longer leavesisLoadingstuck ontrueafter the run ends: when it reopens the thread's stream after the connection dropped, when the run ends while it reads the state, or when it finds a run on a thread that was idle. When it finds a run going, the messages it loaded stay on screen while the stream replays the run. The stream also picks up interrupts raised inside subagents again after it reconnects.sdk:
stop()cancels the runrespond()orrespondAll()started, also when it is called before that run starts, and shows again the interrupts the cancel left waiting.sdk:
submit()without amultitaskStrategy, while the thread shows a run in flight, now sendsinterrupt, so the server cancels the run the client stopped following instead of queueing the new one behind it. Otherwise it still sends only a strategy the caller passed.
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.