Packages

@langchain/langgraph-sdk

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

Your version

1.15.0

7 Nov 2026Where it was published

1.17.0 is the newest release of 1.x.

In short

1 new4 fixed

Release note

Minor Changes

  • Deprecated

    client.runs.joinStream takes a checkpointId option, sent as the checkpoint_id query 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. With reconnectOnMount, the useStream hook 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 a values event moved, is not appended again or written over another. MessageTupleManager.get's defaultIndex argument and the index field of its entries are deprecated: StreamManager no longer reads them, and they will be removed in 2.0.

Patch Changes

  • After submit(input, { forkFrom }), messages shows 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(...).parentCheckpointId now 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 leaves isLoading stuck on true after 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 run respond() or respondAll() started, also when it is called before that run starts, and shows again the interrupts the cancel left waiting.

  • sdk: submit() without a multitaskStrategy, while the thread shows a run in flight, now sends interrupt, 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.