Packages

@langchain/langgraph-sdk

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

Your version

Where each line stands

Plan an upgrade
  • 2.x2.0.0No known advisoryTo 1.17.0
  • 1.x1.17.0No known advisoryLatest line
  • 0.x0.1.10No known advisoryTo 1.17.0

Latest releases

All 215 releases
  1. 1.17.0

    17 Nov 2026
    • CustomStreamOrchestrator (@langchain/langgraph-sdk/ui), the engine for custom transports:

    • ToolCallStatus has a fourth value, "incomplete": the call has no result, and no run can still give one, because the run stopped, failed, or waits on an interrupt, or a later message closed the call's turn. seedToolCallsFromMessages gives it to such calls. Pass { isLoading: false } when no run streams. It defaults to true, which leaves the calls of the latest turn "running" as before. Calls assembled from tools events don't get it. On 1.x bindings, a subagent panel loaded from history now shows an earlier turn's unanswered call as "incomplete". Code that switches over every ToolCallStatus needs a case for the new value.

    • useStream accepts stateKeys, the values keys your UI reads. Opening a thread then sends select on GET /threads/{thread_id}/state for those keys, the messages key, and the top-level fields the hook reads itself, so the server can skip the rest of the state. stream.values contains only those keys plus the messages key, after loading and while a run streams, including on a server that ignores select. A custom adapter's getState receives { select }, and HttpAgentServerAdapter forwards it. Without stateKeys, nothing changes.

  2. 1.16.0

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

    • StreamOrchestrator (@langchain/langgraph-sdk/ui) reads subagent and tool events:

      In StreamOrchestrator and the useStream hook from @langchain/langgraph-sdk/react, when the server restarts a run (a worker stops, or a deploy outlasts the run), the main conversation drops what the cut attempt half-streamed and keeps what its finished steps wrote, instead of showing both. A subagent card that only the cut attempt's message started goes too.

    • 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.

  3. 1.15.0

    7 Nov 2026
    • 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.

    • 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.

Dependency tracking

Know when your own dependencies move

@langchain/langgraph-sdk shipped a new major in the last 12 months, among 95 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 23 Nov 2026. Releases and advisories last read 23 Nov 2026.

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.