@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/langgraph-sdk From 1.14.0 to 1.15.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.15.0
Release by release
- 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. - Fixed
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. - Fixed
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. - Fixed
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. - Fixed
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.
- Deprecated
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.