Packages

@langchain/langgraph-sdk

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

Your version

215 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x
  2. 2.0.0

    18 Feb 2026
  3. 1.x · latest line
  4. 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.

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

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

  7. 1.14.0

    6 Nov 2026
    • sdk: Hide the interrupts another client answered when the server sends input.answered, and route that event to the input channel

    • sdk: Add strictResume, so a server with strict resume refuses an answer to an interrupt that is no longer waiting. client.runs.create(), stream() and wait() send it as strict_resume, and useStream's submit() passes it on. With respond() and respondAll(), the refusal is an UnknownInterruptError on error with reason, interruptIds and pendingIds, which isUnknownInterruptError(error) recognizes, and the interrupts still waiting show again.

    • useStream ignores a tools event of a kind it doesn't know, such as langgraph's own tool-started payload, instead of throwing Unexpected tool event inside a state update, which crashed the app's render.

  8. 1.13.0

    5 Nov 2026
    • client.runs.stream and client.runs.joinStream take streamNamespaces, the namespaces of a run to stream ("" is the root graph), each without the subagents it starts. Servers that support it report stream_namespaces in /info; older servers ignore it and send every event. A reconnect no longer re-sends query params its Location already carries, so the URL stops growing on every reconnect.

    • Add a reason option to client.runs.cancel. Set reason: "taken" to mark run input absorbed for steering; the server records a cancel_reason starting with taken:.

    • Type the end event that closes a run stream as EndStreamEvent: its data carries the run's run_id and final status, or is null from servers that send it without data.

  9. 1.12.10

    4 Nov 2026
    • When a headless tool finishes after a switch to another thread, StreamOrchestrator no longer sends its result to the new thread, keyed by the previous thread's interrupt id, and the useStream hook no longer streams the previous thread's resumed run into the new thread's view and no longer aborts a run the new thread is streaming. The call stays pending on its own thread and runs again when that thread is shown.

    • A thread run stream from client.runs.stream() or client.runs.joinStream() that ends without an error and without an end or error event now asks the server for the run's status. If the run is still pending or running, for example because a proxy timeout or a server restart ended the response, the stream reconnects from the last event as it does after a dropped connection, instead of ending early with a cut answer. A 429, a 5xx or a network error on that check is handled like a dropped connection too. This adds one request at the end of such a stream.

  10. 1.12.9

    30 Oct 2026
    • Fix SSE multiline JSON framing, colonless fields, stream-leading BOM handling, and empty event ID resets during reconnection. Match Python streaming behavior: empty payloads yield null, events inherit the reconnect cursor, and ID-only/retry-only blocks update internal state without being yielded to callers. Cleared event IDs are exposed as undefined. Pending unnamed data is flushed at EOF, matching Python's existing tolerant EOF behavior.

    • A run abandoned by clear() or stop() no longer runs onSuccess, so a thread switch during a reconnect backoff no longer loads the previous thread's history.

    • A headless tool call still waiting for its result when a thread opens, for example after a page reload, now runs once and resumes the run in the useStream hook and StreamOrchestrator; before, nothing ran and the thread stayed paused. Effects replayed by StrictMode, Fast Refresh or <Activity> no longer run a pending headless tool twice in the hook, nor, under Fast Refresh or <Activity>, with a custom transport.

  11. 1.12.8

    26 Oct 2026
    • sdk: Stop retrying cancelled requests, release abort listeners and emit CR-terminated SSE lines at once

  12. 1.12.7

    22 Oct 2026
    • sdk: Stop resolved interrupts from coming back after a reload

      After a reload, the first submit or respond on the Agent Server brought back every interrupt the thread had already resolved, and accepting them failed with no_such_interrupt. Its HTTP commands report applied_through_seq: 0, so the SDK treated the whole replayed history as new. When a command reports 0, the SDK now finds where the command's run starts on the thread stream and treats everything before it as history.

  13. 1.12.6

    21 Oct 2026
    • Tool-call args streamed as tool-call-delta slices are appended to the tool call, so useStream, scoped useMessages, thread.messages, subgraph.messages and subagent.messages show live args whether the server sends slices or the older block-delta snapshots. block-delta still replaces the args.

      Delta variants the SDK doesn't recognise are now ignored. Before, one froze a scoped useMessages view until the run ended, left the in-flight thread.messages message unsettled, and crashed Node with an unhandled rejection from subgraph.messages or subagent.messages. MessageAssembler.consume returns undefined for such events.

      Upgrade the SDK and its bindings before your server emits tool-call-delta.

  14. 1.12.5

    16 Oct 2026
    • sdk: A reply cut off mid-stream, for example by stop(), no longer lingers in useStream messages after its run ends: it is dropped as soon as the run ends, stays gone after a page refresh, and is dropped in other tabs watching the thread too. A reply that finished streaming before the run paused for input stays visible while paused and is replaced, not duplicated, when the run resumes. Streaming message handles for a cut-off message now settle with an aborted error instead of never resolving.

    • Opening a thread with recent activity no longer replays it in useStream. Every new stream subscription receives the thread's recent events again, and the controller applied them on top of the state it had just loaded, so messages, values and toolCalls rewound to earlier turns and rebuilt themselves while old tool calls flashed through running and finished. The controller now skips events produced before the checkpoint it loaded. Scoped views, such as useMessages on a subagent, still receive the full history.

      A submit() sent right after opening a thread also no longer ends early. A replayed completion from an earlier run used to settle it, clear isLoading and fire onCompleted while the new run was still going.

    • messagesProjection(), the root-namespace messages projection acquired through StreamController.registry, now fills from the root event stream. It threw a ReferenceError on every event and stayed empty. The framework hooks were not affected: useMessages returns stream.messages for the root.

  15. 1.12.4

    12 Oct 2026
    • Order parallel writes by task path, like langgraph (Python) — one sort key for live execution and every saver, instead of the task-id order #2544 added for DeltaChannel writes

      When two or more tasks in one superstep write the same DeltaChannel, their writes are now applied and replayed in (task_path, task_id, idx) order — the order Python's langgraph#8544 established — instead of task-id order. Task ids are uuid5 hashes that include the checkpoint id, so the old order permuted parallel writers from run to run and disagreed with Python.

      Upgrade notes:

  16. 1.12.3

    7 Oct 2026
    • sdk: Copy defaultHeaders when constructing a Client instead of writing x-api-key into the caller's object. Previously, clients created from the same defaultHeaders object shared one set of headers, so a later client's API key was sent by earlier clients, and a client created with no API key could send another client's key to its own apiUrl.

  17. 1.12.2

    6 Oct 2026
    • sdk: URL-encode caller-supplied identifiers (thread, assistant, run, cron and checkpoint IDs, subgraph namespaces) in request paths so an untrusted ID can't redirect a request to another endpoint. IDs containing reserved characters such as /, ?, #, % or spaces are now sent percent-encoded, so pass raw IDs rather than pre-encoded ones. . and .. are no longer accepted as IDs: the method rejects with an Invalid path segment error instead of sending a request.

    • Export the Agent Server graph factory ServerRuntime type from @langchain/langgraph-sdk.

  18. 1.12.1

    3 Oct 2026
    • Fix useStream/StreamOrchestrator leaving stale, never-checkpointed messages visible after stop() cancels a run mid-turn. The buffer is now reconciled against the persisted thread state (refetching it when the caller needs authoritative thread state, otherwise falling back to the cached history) instead of only clearing on a thread switch or remount.

    • Stop the protocol SSE transport from retrying stream/events on 4xx responses (except 408 and 429): the stream now ends at once with the error. Protocol request errors now keep the HTTP status and response body text. The reconnect attempt counter now resets after every successful connect, so idle reconnects no longer use up maxReconnectAttempts.

  19. 1.12.0

    25 Sep 2026
    • useStream's "enqueue" multitask strategy can now be backed by real, durable server-side runs instead of an in-memory client-only queue.

      Pass queue: "server" to opt in; it defaults to "local", so existing usage is unaffected. "server" requires the backend behind apiUrl to implement the Runs REST endpoints (POST/GET /threads/{thread_id}/runs, POST /threads/{thread_id}/runs/{run_id}/cancel), not just streaming/commands. Queued submissions then persist across reloads and are visible to other sessions, and cancelQueued/clearQueue cancel them server-side too.

      Not supported with a custom AgentServerAdapter transport — queue only applies to the built-in transport.

  20. 1.11.2

    21 Sep 2026
    • Preserve metadata from v2 message SSE events when constructing frontend message objects, so applications can inspect message provenance and model completion details without parsing raw events.

      These fields describe individual messages and model calls: a finish reason does not identify the final response of a graph turn, and callback run IDs are not necessarily server run IDs. This change does not add an is_final marker or persist stream-only metadata into historical checkpoints.

  21. 1.11.1

    18 Sep 2026
    • langgraph: Add responseSchema option to interrupt()

      interrupt(value, { responseSchema }) lets a graph declare the shape of the
      value it expects on resume. A Zod schema validates the resume value and the
      parsed result is what interrupt() returns; a raw JSON Schema object is passed
      through as-is. The schema is surfaced on Interrupt.response_schema so clients
      such as Studio can render a typed form instead of a free-form JSON editor.
      Omitting the option keeps today's behavior.

  22. 1.11.0

    12 Sep 2026
    • Expose connection lifecycle callbacks for built-in streaming transports.

      onConnected runs after the initial SSE or WebSocket connection becomes usable and after every successful reconnect. Its payload distinguishes an initial connection from a reconnected connection and includes the reconnect attempt number.

      onReconnect now also receives the scheduled delayMs, allowing applications to display accurate retry state before the next connection attempt. React, Vue, Svelte, and Angular stream hooks forward both callbacks.

    • Recover cleanly when a thread's root event stream terminates unexpectedly.

      If the stream fails or closes while a run is active, the controller now records the transport error and clears isLoading rather than leaving the UI in a permanently running state. Once the failed pump settles, a later submission can start a fresh root subscription without recreating the thread stream or replaying the failed command.

    • sdk: Appropriately track persisted seq for stream replay

      Sequences weren't being appropriately attributed when rehydrating the page (e.g. on refresh). This meant we'd lose stream information on useStream on reloads. This has been fixed by adding a lookup step to determine what the most appropriate sequence index is to track in the event stream.:x

  23. 1.10.2

    4 Sep 2026
    • sdk: Apply in-place message metadata updates from values

    • sdk: Keep stream.interrupts truthful after sequential multi-interrupt resume

  24. 1.10.0

    26 Aug 2026
    • Add LangSmith replica routing to thread-stream run starts.

    • sdk: Drop unused svelte and vue peer dependencies

      The Svelte and Vue adapters live in @langchain/svelte and
      @langchain/vue, but the core SDK still declared both as optional peers.
      Scanners like Socket count optional peers as part of the package graph, so
      the SDK was being flagged for obfuscated-code alerts in clsx and
      entities — packages it never loads. React stays a peer because ./react
      and ./react-ui still ship here.

  25. 1.9.31

    20 Aug 2026
    • sdk: Don't re-show resolved interrupts after reload

      After a reload, the next submit used to replay the old input.requested
      event, so the HITL form came back even though the interrupt was already
      answered. Keep filtering historical interrupts after the command is
      accepted, using the response's applied_through_seq as the cutoff.

  26. 1.9.30

    19 Aug 2026
    • sdk: Clear messages on hydrate(null) with a pending interrupt

      Teardown awaited the paused root pump, so threadId went null while
      the old conversation stayed on screen. Reset the snapshot first.

    • sdk: Keep isLoading true across interrupt→running hydration

      Deferred terminal resets no longer clear isLoading when a newer running lifecycle has already arrived (HITL resume / SSE replay).

    • sdk: Adopt server metadata on same-id optimistic message echo

      When a values snapshot echoes an optimistic human with the same
      content plus committed additional_kwargs (e.g. attachment paths),
      stream.messages now takes the server copy instead of keeping the
      plain optimistic message until hydration. Preferring is asymmetric:
      lagging or poorer values snapshots do not strip richer current
      metadata. In-flight AI token streaming is unchanged: streamed content
      still wins when it has moved past the snapshot.

  27. 1.9.29

    11 Aug 2026
    • Always attach the underlying Response on HTTPError.

    • sdk: Deliver input channel events on the root-bus fast path

      channelProjection with replay: false (the useChannelEffect default) compared event.method to channel names, so input.requested never matched "input". Match via inferChannel instead, same as the slow path.

    • sdk: Defer stream join until lazy thread create commits

      Hydrating an externally-minted thread id that 404s still opened /stream/events before POST /commands created the row. On langgraph_api's in-mem runtime that join is accepted but dead, so the first run delivered nothing until idle reconnect. Treat missing threads like client-minted ones and start the root pump only after dispatch succeeds.

  28. 1.9.28

    21 Jul 2026
    • sdk: Clear hydrate interrupt allowlist on respond()

      submit() already cleared #hydratedActiveInterruptIds so a new run's live input.requested events were not dropped as historical. respond() / respondAll() (via dispatchResume) did not, so a follow-on HITL after resume never appeared on stream.interrupt and free-text submits could resume with the wrong payload.

    • Fix useStream crash (TypeError: Cannot read properties of null (reading 'fetch')) when a thread is cleared while hydration is in flight. The stale hydrate now bails immediately after the getState() await — it no longer applies the fetched state to the thread that was left, nor opens a reconnect via threads.stream(null, …).

  29. 1.9.27

    15 Jul 2026
    • sdk: Omit carried since on SSE reconnect

      Protocol seq is connection-scoped: a new POST /stream/events re-numbers Redis replay from 1, so advancing since from observed seqs and sending it after a successful open filtered out the full history (heartbeats only). An explicit caller since is still sent until the stream connects (including pre-ready retries); post-connect reconnects omit since and rely on durable event_id dedup.

  30. 1.9.26

    15 Jul 2026
    • sdk: Keep SSE reconnect enabled with custom fetch

      Auth/proxy fetch shims previously forced maxReconnectAttempts: 0, so HITL waits that lost /stream/events (e.g. ERR_QUIC_PROTOCOL_ERROR) never recovered and left respond()/submit() spinning. Fail-fast test mocks should pass maxReconnectAttempts: 0 explicitly. Also plumbs reconnect options through framework useStream bindings.

    • sdk: Support clearing a cron's end time via crons.update(cronId, { endTime: null })

      CronsClient.update now accepts endTime: null to clear a previously set cron end time; omitting endTime still leaves it unchanged. The field was typed string, so callers could not express "clear" even though the request already forwards an explicit null.

  31. 1.9.25

    25 Jun 2026
    • sdk: Bundle pure-ESM deps into CJS build to fix ERR_REQUIRE_ESM

      Bundle the pure-ESM dependencies p-retry and p-queue (and their transitive ESM-only deps) into the build output so the CJS artifact no longer does a top-level require() of an ESM module. This fixes ERR_REQUIRE_ESM for CommonJS consumers on Node versions where require(ESM) is not enabled by default (< 20.19 / < 22.12). Closes #2562.

  32. 1.9.24

    22 Jun 2026
    • sdk: Apply state update and goto alongside interrupt resume

      respond(decision, { update, goto }) now maps to LangGraph's
      Command(resume, update, goto), so a human-in-the-loop UI can commit a state
      update (e.g. push the interrupt card into state) in the same superstep as
      the resume — one checkpoint, no separate updateState write, no flicker.
      @langchain/langgraph-api forwards update/goto through input.respond,
      and @langchain/core message instances in update are serialized to dicts
      before transport, exactly like submit(). Bumps @langchain/protocol to
      ^0.0.18 for the Goto type.

      respond/respondAll also apply update optimistically (mirroring
      submit()): the pushed messages paint immediately, with stable ids minted so
      the resumed run's echo reconciles them in place. Without this the interrupt is
      cleared the instant respond() dispatches while the pushed card only reappears
      a server round-trip later — so the card would flicker in that gap. The
      optimistic state settles on the resumed run's terminal (pending → sent, or
      rolled back on a failure before any echo).

      User-initiated optimistic writes (submit() / respond() / respondAll()) now
      commit to the store synchronously, in the same tick as the triggering event,
      instead of being coalesced onto the next macrotask. This lets a framework render
      the pushed message in the same commit as any local UI state the caller flips
      alongside it (e.g. a HITL form swapping its inputs for the resolved card), so the
      card no longer blinks out for the one-macrotask window before the flush lands.
      High-frequency streaming writes keep their macrotask coalescing.

  33. 1.9.23

    17 Jun 2026
    • sdk: Avoid scoped stream resubscribe churn

      Defer final projection disposal by one microtask so framework bindings that release and immediately reacquire the same scoped projection during reactive updates keep the existing stream subscription instead of rotating through root-only and scoped SSE filters.

  34. 1.9.22

    12 Jun 2026
    • sdk: Reconnect SSE streams when heartbeat idle is detected

      Detect half-open SSE connections by watching for server keep-alive heartbeats (: heartbeat) and reconnecting with Last-Event-ID or since when they stop. "auto" mode arms only after heartbeats are observed, so long tool calls and HITL pauses do not false-fire on heartbeat-emitting servers.

    • Allow custom AgentServerAdapters to be late-bound and re-bound to a thread. Adapters can now implement an optional setThreadId(threadId), which client.threads.stream(threadId, { transport }) calls when binding the active thread — including the lazily-minted id from the first submit() on a threadId: null controller. The built-in ProtocolSseTransportAdapter, ProtocolWebSocketTransportAdapter, and HttpAgentServerAdapter implement it: threadId is now optional at construction, request URLs derive from the currently-bound thread, and paths entries may be functions of the thread id ((threadId) => string). This lets a single custom transport back a lazy thread-creation flow instead of being pinned to one thread at construction.

  35. 1.9.21

    11 Jun 2026
    • stream: Add per-event side-effect selector

      Add useChannelEffect (React/Svelte/Vue) / injectChannelEffect (Angular), a side-effect counterpart to useChannel that invokes an onEvent callback once per raw protocol event without re-rendering. This is the idiomatic v1 replacement for the old onLangChainEvent / onCustomEvent callbacks for analytics and logging. Backed by a new framework-agnostic acquireChannelEffect helper in @langchain/langgraph-sdk/stream that shares a ref-counted subscription with matching useChannel consumers.

    • sdk: Stop re-streaming seeded messages on idle-thread submit

      An idle (finished) thread defers its root SSE pump, so the first submit() brings it up and the transport replays the finished run from seq=0. The replayed messages channel carries no step (unlike values, guarded by maxStep), so it rebuilt each already-complete message from an empty message-start and re-streamed the whole turn token-by-token — a visible "messages replay" of the existing conversation. Seal the message ids seeded from the idle getState() snapshot so replayed deltas can't downgrade the complete tail; the seal lifts once a newer checkpoint advances the timeline or on thread rebind, and ids from the next run are never sealed.

    • sdk: Reconnect v2 SSE and WebSocket thread streams after disconnect

      Add automatic reconnect with resume (since for SSE) for protocol transports,
      wire AsyncCaller through client.threads.stream, and expose optional
      reconnect tuning on ThreadStreamOptions. Includes integration tests against
      an in-process mock langgraph-api server.

  36. 1.9.20

    9 Jun 2026
    • sdk: Hydrate custom HttpAgentServerAdapter via transport getState

      StreamController now prefers adapter getState() before client.threads.getState,
      HttpAgentServerAdapter implements GET /threads/:id/state, and useStream inherits
      apiUrl from the transport so hydration no longer defaults to localhost:8123.

  37. 1.9.19

    8 Jun 2026
    • Deduplicate the client stream transports: the protocol transport now shares the SSE decoder and IterableReadableStream helpers with the legacy transport instead of carrying its own copies. Removes the redundant transport/decoder.ts and transport/stream.ts shims (and a dead StreamPart re-export), importing the shared utilities from utils/sse.ts directly. No public API or behavior change.

  38. 1.9.18

    6 Jun 2026
    • sdk: Resume useChannel subscriptions across serial runs

      Enable resumeOnPause on the channel projection so useChannel keeps
      accumulating events across prompts on the same thread. Clarify selector
      docs and JSDoc: useChannel for the full event stream, useExtension
      for the latest payload.

  39. 1.9.17

    5 Jun 2026
    • sdk: Revive automatic optimistic submit echo

      Echo submit() input into values / messages immediately with client-side
      id minting and id-based reconciliation as the server streams back. Expose
      per-message optimisticStatus via message metadata (pending → sent /
      failed), shallow-merge non-message keys with rollback when no values
      arrive, and add an optimistic: false hook opt-out. Plumb through React,
      Vue, Svelte, and Angular with browser e2e coverage.

    • sdk: Coalesce duplicate thread read requests

      Coalesce concurrent identical threads.getState() and threads.getHistory() reads within the SDK client so transient remounts do not issue duplicate hydrate requests. Request identity includes the prepared URL, body, method, and headers, and coalescing is skipped for caller-provided abort signals, raw response reads, and onRequest hooks to preserve auth and cancellation isolation.

    • sdk: Reconcile subagents and subgraphs on thread reconnect

      Seed deep-agent subagent cards from checkpoint messages and subgraph hosts from a single bounded getHistory read during hydrate(), so parallel fan-out discovery reappears immediately on refresh instead of waiting for SSE replay. Subagent execution namespaces are promoted through the existing guarded discovery state machine (bulk at hydrate, lazily per opened card via the selector layer). The getHistory cost is O(1) in requests regardless of fan-out width.

  40. 1.9.16

    4 Jun 2026
    • sdk: Surface resumed run failures on stream.error

      Route respond() and respondAll() through a coordinator dispatch path that
      writes the reactive rootStore.error slot when a resumed run reaches a failed
      terminal or when input.respond dispatch fails, matching submit() behavior so
      framework consumers (e.g. API-key retry UIs) observe resume failures via
      stream.error instead of only isLoading transitions.

  41. 1.9.15

    3 Jun 2026
    • sdk: Claim in-flight slot before root pump wait for enqueue

      Move #runAbort and isLoading setup ahead of waitForRootPumpReady() so
      multitaskStrategy: "enqueue" submits in the same tick land in queueStore
      instead of bypassing the client queue.

  42. 1.9.14

    3 Jun 2026
    • sdk: Keep subgraph status complete when values arrives late

      SubgraphDiscovery no longer downgrades a terminal subgraph back to
      running when a host-namespace values snapshot is observed after its
      completed or failed lifecycle event. The content pump and lifecycle
      watcher are independent streams, so this reordering could strand nodes as
      perpetually running in useStream subgraph UIs.

  43. 1.9.13

    2 Jun 2026
    • sdk: Normalize HITL edit decisions for Python servers

      StreamController.respond() now mirrors camelCase and snake_case on edit
      decisions (editedAction / edited_action) so JS clients can resume
      human-in-the-loop interrupts against Python LangGraph servers.

  44. 1.9.12

    2 Jun 2026
    • sdk: Route headless tool resumes through respond on v1 stream

      useStream was calling submit(null, { command }) for headless-tool resumes,
      which dispatches run.start without delivering the tool result. Add
      applyHeadlessToolResumeCommand to route payloads through respond /
      respondAll, and tighten headless-tool browser tests to assert end-to-end
      resume and graph completion.

  45. 1.9.11

    1 Jun 2026
    • sdk: Prefer completed task's direct mapping over pending checkpoint's positional guess in fetchSubagentHistory

  46. 1.9.10

    29 May 2026
    • protocol-v2: Fold forkFrom client-side and honor per-run multitaskStrategy

      The SDK now folds the ergonomic forkFrom option into
      config.configurable.checkpoint_id before sending run.start, so the
      agent server only ever accepts the single, legacy-compliant fork field
      (forkFrom no longer hits the wire). The protocol-v2 reference servers
      drop their top-level forkFrom normalization accordingly.

      The protocol-v2 servers now honor the caller's multitaskStrategy per
      run (one of reject | rollback | interrupt | enqueue) instead of
      hardcoding it, falling back to enqueue when omitted or unrecognized.

    • protocol-v2: Add respondAll() and run config/metadata on interrupt resume

      The stream controller (and the React/Angular/Svelte/Vue wrappers) gain a
      respondAll(responsesById, options) method to resume several interrupts
      pending at the same checkpoint in a single command — required for runs that
      pause on multiple interrupts at once (e.g. parallel tool-authorization
      prompts), which sequential respond() calls cannot handle.

      respond() now takes an options object ({ interruptId?, namespace?, config?, metadata? }) so a resumed run can carry the same run-level config
      (model, user context, …) and metadata (trigger source, test flags, …) a
      fresh submit() would. The protocol-v2 reference servers read the new
      responses batch and config / metadata fields leniently and fold them
      onto the run that services the input.respond command.

  47. 1.9.9

    27 May 2026
    • sdk: Preserve apiUrl path prefix in stream transport URLs

      Use BaseClient-style URL concatenation in toAbsoluteUrl so SSE and WebSocket
      subscriptions work when the SDK is pointed at a proxied apiUrl with a path
      prefix (e.g. /api/chat-langchain).

  48. 1.9.8

    27 May 2026
    • sdk: Cancel runs on stop by default and add disconnect()

      stream.stop() now calls client.runs.cancel for the active run before disconnecting the client (default { cancel: true }). Join/rejoin UIs can call stream.disconnect() or stop({ cancel: false }) to leave the agent running server-side.

      This fills a missing gap we found when migrating to v1.

  49. 1.9.7

    26 May 2026
    • sdk: Unwrap Command tool outputs and hide scoped task tools

      Filter wrapper task dispatch events from subagent-scoped tool-call
      projections and parse embedded ToolMessage results from LangGraph
      Command payloads on tool-finished.

    • react: Avoid eager stream getter evaluation during object spread

      Mark optional useStream accessors as non-enumerable so object spread/rest destructuring does not accidentally read guarded fields like history or opt into additional stream modes.

  50. 1.9.6

    25 May 2026
    • sdk: Clear subgraph and subagent discovery on thread swap

      Reset discovery stores in StreamController.#teardownThread() so starting a
      new thread does not leave stale subgraph cards or subagent entries from the
      previous run.

  51. 1.9.5

    22 May 2026
    • stream: Align AssembledToolCall typing with pre-v1 expectations

      Make InferToolCalls resolve to generic AssembledToolCall unions, expose
      sync status/error for reactive bindings, and align type tests across
      React, Vue, Svelte, and Angular SDK packages.

  52. 1.9.4

    19 May 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.