Packages

@langchain/langgraph-sdk

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

Upgrading @langchain/langgraph-sdk From 1.15.0 to 1.16.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.15.0Newest 1.x, Latest1.17.0
  1. 1.15.0yours
  2. 1.16.0target
0
changes to make
0
advisories fixed
6
new
8
fixes

Release by release

  1. 1.16.0

    12 Nov 20266 new · 8 fixes
    • New

      New in StreamOrchestrator (@langchain/langgraph-sdk/ui): subagent panels that stream only while they are open.

    • New

      Add client.info(), which reads the server's version and the features it supports (flags) from GET /info. client.runs.stream() and client.runs.joinStream() take per-call reconnect options: maxReconnectAttempts (with 0, a dropped stream throws instead of reconnecting), reconnectDelayMs, onReconnect (called with attempt, cause, lastEventId and delayMs) and onConnected. client.threads.joinStream() also sends its modes as one comma-joined stream_modes, the only form older servers read. The Run type has kwargs.

    • New

      respond(value, { interruptId? }) answers an interrupt, the newest one when no id is given, and respondAll({ [interruptId]: value }) answers several in one run. Both take update, goto, config, metadata and strictResume. They ask for strict resume unless strictResume is false, so an answer to an interrupt that is no longer waiting fails its run instead of running the step again. During a run, the answer waits in the queue instead of interrupting it. An answered interrupt is hidden until its run ends, and shows again if the answer fails. The promise resolves once the run is created or queued.

    • New

      A submit's input shows at once. Input messages without an id get one, so the run's copies replace them. Passing optimisticValues shows those instead, and optimistic: false turns this off.

18 other lines we could not sort, mostly version bumps
  • With filterSubagentMessages, runs ask the server for lifecycle events, and with onToolEvent, for tools events, when the server sends them on run streams. It reads /info once per client to know. onToolEvent fires now: runs never asked for tools before. A server that refuses them with a 422, such as an older one during a rollout, gets the run again without them.

    1.16.0
  • Each subagent is tied to the tool call that started it, from its lifecycle events or from the tool call id deepagents puts on a subagent's tokens, so subagents with the same task text no longer swap. A subagent whose graph fails shows the error at once. Subagents still open when the server says their run failed or was cancelled, or when stop() cancels it, end with an error. A run paused at an interrupt, a dropped connection or stop({ cancel: false }) leaves them open.

    1.16.0
  • onChannelEvent(listener) hands every event of its streams to the listener in @langchain/react 1.x's channel shape, { method, params: { namespace, timestamp, data } }. CustomStreamOrchestrator has it too.

    1.16.0
  • Runs are created with streamResumable and onDisconnect: "continue", and each thread load joins the thread's running run from the loaded checkpoint.

    1.16.0
  • stop() stops the stream at once and cancels the run on the server, also a run it picked up after a load. A run whose id hasn't arrived yet is cancelled once it does. A run the app joins with joinStream() keeps going, and stop({ cancel: false }) and dispose() leave any run going.

    1.16.0
  • durableRuns: false keeps a run tied to its tab, as before this release.

    1.16.0
  • parentCheckpointId is the checkpoint to fork from to edit the message. Between trackMessageMetadata() and its release, the engine reads it from the thread's history whenever it is idle with messages it hasn't placed yet: after a load, and after each run back to the checkpoints it already read. It reads what each step wrote, about 1 KB a step, and the whole messages only for messages no step wrote, such as ones added with updateState. Messages more than about 500 steps back get none.

    1.16.0
  • optimisticStatus is pending for an optimistic message until a values event of its run holds it, then sent. A run that fails or is stopped before that marks it failed, and one that succeeds or pauses marks it sent. A reload clears it.

    1.16.0
  • A run started elsewhere, such as in another tab or by a cron, is joined and streams here. A run that ended elsewhere reads the thread again, and an interrupt answered elsewhere is hidden at once.

    1.16.0
  • It keeps one connection to the thread's lifecycle stream, closed while a run streams here, while the queue holds runs and while the page is hidden, and it resumes from the last event it saw. On a server without a thread stream it stays off after one request.

    1.16.0

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.