@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
215 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1.x · latest line
1.9.3
18 May 2026Coalesce
RootMessageProjectionstore writes through a singlesetTimeout(0)flush so longmessages-channel replays (on refresh, mid-run join, or rapid subagent streaming) no longer drain as a per-event microtask chain that trips React'sMaximum update depth exceededguard. Replaces the previousMessageChannel-based batching, which deferred initial-submit events past the first render and left the UI looking frozen until refresh.Fix subagent message routing to prefer the stream event namespace over checkpoint metadata when filtering subagent messages.
Batch RootMessageProjection store writes through a macrotask
Patch Changes
Coalesce
RootMessageProjectionstore writes through a singlesetTimeout(0)flush so longmessages-channel replays (on refresh, mid-run join, or rapid subagent streaming) no longer drain as a per-event microtask chain that trips React'sMaximum update depth exceededguard. Replaces the previousMessageChannel-based batching, which deferred initial-submit events past the first render and left the UI looking frozen until refresh.Fix subagent message routing to prefer the stream event namespace over checkpoint metadata when filtering subagent messages.
Batch RootMessageProjection store writes through a macrotask
sdk: Retry connection failures before throwing ConnectionError
sdk: Forward config + metadata on respondInput for resume submits
Filter SSE-replayed input.requested events through a hydrated interrupt allowlist
Bind deepagents subagent discovery to the execution namespace via taskInput so
useMessages(stream, subagent)resolves the streaming scope instead of the trigger tool-call namespace.
1.9.2
11 May 2026sdk: Support metadata filter for crons search/count
sdk: Preserve AI content blocks during message projection
1.9.1
5 May 2026sdk: Update endpoints
1.9.0
5 May 2026Add the framework-agnostic event streaming SDK.
The SDK now includes a thread-focused streaming client built around
ThreadStream,SubscriptionHandle, message assembly, media assembly, typed stream extensions, and pluggable protocol transports. Applications can stream over SSE or WebSocket, provide custom agent-server adapters, subscribe to values/messages/tools/custom/lifecycle/checkpoint channels, inspect and fork state, respond to interrupts, and replay or dedupe ordered event streams.This release also adds the reusable stream runtime used by the React, Vue, Svelte, and Angular packages:
StreamController,StreamStore,ChannelRegistry, projection factories, subagent/subgraph discovery, submission queue coordination, message metadata tracking, root message projection, media projections, and helper types for agent/deep-agent state and tool-call inference.The client package has been reorganized into focused modules for assistants, threads, runs, store, protocol streaming, transports, media, messages, and UI helpers. New SDK documentation covers configuration, assistants, threads, runs, store, streaming, transports, extensions, interrupts, messages, media, subagents, and subgraphs.
Add a
returnMinimaloption tothreads.update.
1.8.13
17 Nov 2026useStreamfrom@langchain/langgraph-sdk/reactnow calls theonErrorpassed tosubmit()when that run fails, after the hook's ownonError. It was typed and documented but never called, on both the LangGraph server and the customtransportpaths.
1.8.12
7 Nov 2026- 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,useStreamnow 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. useStreamignores atoolsevent of a kind it doesn't know, such as langgraph's owntool-startedpayload, instead of throwingUnexpected tool eventinside a state update, which crashed the app's render.
1.8.11
20 Oct 2026Runs that
StreamOrchestrator.submit()queues while another run is streaming now request the same stream modes as a direct submit. Previously the queued run was created withoutstreamMode, so the server only producedvaluesevents for it: once the queue drained, replies arrived in one piece instead of token by token, andupdates,custom, tool and message-tuple consumers received nothing.
1.8.10
29 Apr 2026Respect
fetchStateHistorywhen restoring subagent history.
1.8.9
16 Apr 2026sdk: Preserve messages on interrupt values events
Add a regression test for interrupt-only
valuespayloads to ensure
previously streamed messages are not overwritten when__interrupt__is emitted.
1.8.8
6 Apr 2026sdk: Buffer subagent messages instead of dropping them
1.8.7
4 Apr 2026sdk: Detect interrupt for Python agents
1.8.6
4 Apr 2026sdk: Bump all packages
1.8.5
3 Apr 2026sdk: Better type inferrence
vue: Make subagents accessible once they are spun up
1.8.4
2 Apr 2026Restore deprecated snake_case aliases on human-in-the-loop interrupt payloads
while preserving the newer camelCase fields so older apps can migrate to@langchain/reactwithout breaking interrupt handling.
1.8.3
1 Apr 2026sdk: Accumulate parallel interrupts in StreamManager
1.8.2
28 Mar 2026sdk: Skip post-stream getHistory for zero-arity onFinish
1.8.1
26 Mar 2026Extract shared
WithClassMessages<T>type to@langchain/langgraph-sdk/uiskd: Normalize interrupts between JS and Python
1.8.0
20 Mar 2026Extract shared orchestrator to eliminate duplicated code across SDK packages
1.7.5
20 Mar 2026Support
onFinishcallback in custom transport, ensuring it is called when the stream completes.sdk: Fetch subagent history
Forward streamSubgraphs in custom transports
1.7.4
18 Mar 2026Add checkpointId support to threads.updateState, runs.create, and runs.wait methods
1.7.3
17 Mar 2026Fix
getSubagentsByMessagereturning empty array for OpenAI models by updatingaiMessageIdwhen the provider replaces it during streaming.Add cancelMany method to sdk
Adds threads.prune and updates SDK methods to have latest values.
Patch Changes
Fix
getSubagentsByMessagereturning empty array for OpenAI models by updatingaiMessageIdwhen the provider replaces it during streaming.Add cancelMany method to sdk
Adds threads.prune and updates SDK methods to have latest values.
Handle null values in functional graph checkpoint history
1.7.2
11 Mar 2026sdk: Revert dependency between old SDK and new react package
1.7.1
11 Mar 2026Use optimistic threadId in a custom stream
sdk: Convert history messages to BaseMessage instances in framework SDKs
When accessing
stream.historyin the framework SDK packages (React,
Svelte, Angular, Vue), messages within thread state values are now
converted to proper @langchain/core BaseMessage class instances (e.g.
HumanMessage, AIMessage) instead of being returned as plain objects.The base
@langchain/langgraph-sdkpackage is intentionally unchanged
and continues to return plain Message dicts for backward compatibility.
1.7.0
10 Mar 2026react: Initial first release for
@langchain/react
1.6.5
26 Feb 2026Add tools stream mode for tool lifecycle events
sdk: Add extract parameter to threads.search()
1.6.4
19 Feb 2026Export stream error class
sdk: Resolve UseStream type incompatibility with useStream return type
sdk: Abort previous stream in useStream when using interrupt/rollback multitask strategy
1.6.3
18 Feb 2026Add 'state_updated_at' field to threads
1.6.2
11 Feb 2026sdk: Make SubagentStream and SubagentToolCall generic for type-safe subagent inference
1.6.1
11 Feb 2026stream: Add interrupts array to useStream for multi-interrupt support
1.6.0
7 Feb 2026sdk: Add multi-subagent tracking to useStream
1.5.6
5 Feb 2026sdk-js: Add support for pausing/unpausing crons
1.5.5
20 Jan 2026sdk: Infer agent types in stream.values
Make sure we always pass URL as a string to fetch
1.5.4
16 Jan 2026sdk: Allow client-side filtering of events when joining a stream.
Cannot convert undefined or null to object error in
useStream
1.5.3
13 Jan 2026Made JS SSE reconnect logic match Python by retrying based on Location (even before a first event) and retry on Undici connection errors.
1.5.2
11 Jan 2026Fix bug in UseStream export.
1.5.1
11 Jan 2026Readd UseStream instance exports
1.5.0
10 Jan 2026Add
onRunCompletedparameter toCronsClient.create()for controlling thread cleanup behavior in stateless crons. Options are"delete"(default) to automatically clean up threads, or"keep"to preserve threads for later retrieval.Expose and pass down interrupt generic type
Add delete_threads query parameter to delete assistants API.
1.4.6
9 Jan 2026Retry release: add type-safe tool call streaming with agent type inference, provide proper error message when failing to connect to a server, expose Thread["config"] and Thread["error"]
1.4.5
9 Jan 2026Retry release: add type-safe tool call streaming with agent type inference, provide proper error message when failing to connect to a server, expose Thread["config"] and Thread["error"]
1.4.4
9 Jan 2026Retry release: add type-safe tool call streaming with agent type inference, provide proper error message when failing to connect to a server, expose Thread["config"] and Thread["error"]
1.3.1
16 Dec 2025Adding retry support for stream methods on network issues
1.3.0
15 Dec 2025sdk: Add support for enqueuing
useStream().submit(...)calls while the agent is still running
1.2.0
5 Dec 2025Fix tool calls arguments not being streamed to the client
Add support for sending
AbortSignalto all SDK methodsFix
useStream().stop()not cancelling creation of thread.
1.1.0
3 Dec 2025Rename
experimental_threadtothread, allowing replacing built-in history fetching hook with React Query / SWRAdd throttle option to
useStreamand batch updates in a macrotask to preventMaximum update depth exceedederrorAdd name parameter to assistants count API.
Minor Changes
Rename
experimental_threadtothread, allowing replacing built-in history fetching hook with React Query / SWRAdd throttle option to
useStreamand batch updates in a macrotask to preventMaximum update depth exceedederror
Patch Changes
Add name parameter to assistants count API.
sdk: Add
includePaginationproperty when searching from assistants
1.0.3
26 Nov 2025Adding support to skip auto loading api key when set to null on sdk client create
1.0.2
24 Nov 2025Ensure
isLoadingis set tofalsewhen cancelling the stream due to thread ID change
1.0.1
21 Nov 2025Adding functionality to search assistants by name in the in-memory server implementation.
Add
valuesparameter to thread search
1.0.0
18 Oct 2025- Breaking
This release updates the package for compatibility with LangGraph v1.0. See the v1.0 release notes for details on what's new.
- 0.1.x
0.1.10
12 Oct 2025Reading the note…
0.1.9
30 Sep 2025Reading the note…
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.