@langchain/langgraph-api
1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed
112 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x
2.0.0
18 Feb 2026Only updates dependencies:@langchain/langgraph-sdk 2.0.0@langchain/langgraph-ui 2.0.0
- 1.x · latest line
1.8.1
20 Nov 2026Expose each run's LangSmith tracing project and the session-name tracing capability so Studio can look up traces from the JavaScript dev server.
langgraph-api: Preserve additional_kwargs in protocol state normalizer
Forward non-empty
additional_kwargson values snapshot messages so
server-authored message metadata (e.g. committed attachment paths) reaches
live subscribers.
Patch Changes
Expose each run's LangSmith tracing project and the session-name tracing capability so Studio can look up traces from the JavaScript dev server.
langgraph-api: Preserve additional_kwargs in protocol state normalizer
Forward non-empty
additional_kwargson values snapshot messages so
server-authored message metadata (e.g. committed attachment paths) reaches
live subscribers.
1.8.0
17 Nov 2026The
messagesandeventsstream modes now skip calls taggednostreamorlangsmith:nostream(LangGraph.js'sTAG_NOSTREAM), asmessages-tuplealready does. Before,messagesstreamed the tokens of calls taggedlangsmith:nostream, andeventsstreamed every tagged call. Ineventsmode the skip covers everything that runs inside a tagged call, so a run whose config tags arenostreamstreams noevents.
Patch Changes
The
messagesandeventsstream modes now skip calls taggednostreamorlangsmith:nostream(LangGraph.js'sTAG_NOSTREAM), asmessages-tuplealready does. Before,messagesstreamed the tokens of calls taggedlangsmith:nostream, andeventsstreamed every tagged call. Ineventsmode the skip covers everything that runs inside a tagged call, so a run whose config tags arenostreamstreams noevents.
1.7.2
12 Nov 2026A
run.startthat forks from a checkpoint (forkFromin the SDK) now starts a new run from that checkpoint even while the thread waits on an interrupt. The dev server and the embed server took the fork's input as the answer to that interrupt, or refused it when several were pending, so editing a message while a run was paused dropped the edit.
Patch Changes
A
run.startthat forks from a checkpoint (forkFromin the SDK) now starts a new run from that checkpoint even while the thread waits on an interrupt. The dev server and the embed server took the fork's input as the answer to that interrupt, or refused it when several were pending, so editing a message while a run was paused dropped the edit.
1.7.1
10 Nov 2026- Deprecated
POST /threads/:thread_id/historytakesbeforeas a checkpoint config, as the SDK sends it and the Python Agent Server takes it, so paging withgetHistory({ before })no longer fails with HTTP 400. A checkpoint ID string still works but is deprecated and will be removed in 2.0.0: send{ configurable: { checkpoint_id } }instead. GETandPOST /threads/:thread_id/historyhonorselect, as the Python Agent Server does: each state keeps only the fields named, andvalues.<key>keeps one key of the values. An unknown field is rejected with HTTP 400.
Patch Changes
- Deprecated
POST /threads/:thread_id/historytakesbeforeas a checkpoint config, as the SDK sends it and the Python Agent Server takes it, so paging withgetHistory({ before })no longer fails with HTTP 400. A checkpoint ID string still works but is deprecated and will be removed in 2.0.0: send{ configurable: { checkpoint_id } }instead. GETandPOST /threads/:thread_id/historyhonorselect, as the Python Agent Server does: each state keeps only the fields named, andvalues.<key>keeps one key of the values. An unknown field is rejected with HTTP 400.
1.7.0
6 Nov 2026langgraph-api: A run that answers interrupts by id tells the thread's other protocol clients which ones, with an
input.answeredevent on theinputchannel; run streams don't carry itlanggraph-api: Refuse a stale interrupt answer only when the run asks for it with
strict_resumeStrict resume, which 1.6.0 turned on for every run, is now opt-in. A run created with
strict_resume: true(the same field on the protocol'srun.startandinput.respond) runs the graph in strict resume mode: aCommand({ resume })that names an interrupt that isn't pending, is an empty map, or is one value while several interrupts are pending ends the run withUnknownInterruptError, and the thread keeps its status, values and interrupts. The error event carriesreason,interrupt_idsandpending_ids. A retried run, and aninterruptorrollbackrun that cancelled one in flight, resume as before. Runs that don't set it resume as they did before 1.6.0: one value answers every pending interrupt, and an answer sent twice is a no-op.langgraph-api: The protocol's
failedlifecycle event carries the run error's message instead of the whole error as JSON, and a refused strict resume'sreason,interrupt_idsandpending_ids
Minor Changes
langgraph-api: A run that answers interrupts by id tells the thread's other protocol clients which ones, with an
input.answeredevent on theinputchannel; run streams don't carry itlanggraph-api: Refuse a stale interrupt answer only when the run asks for it with
strict_resumeStrict resume, which 1.6.0 turned on for every run, is now opt-in. A run created with
strict_resume: true(the same field on the protocol'srun.startandinput.respond) runs the graph in strict resume mode: aCommand({ resume })that names an interrupt that isn't pending, is an empty map, or is one value while several interrupts are pending ends the run withUnknownInterruptError, and the thread keeps its status, values and interrupts. The error event carriesreason,interrupt_idsandpending_ids. A retried run, and aninterruptorrollbackrun that cancelled one in flight, resume as before. Runs that don't set it resume as they did before 1.6.0: one value answers every pending interrupt, and an answer sent twice is a no-op.
Patch Changes
langgraph-api: The protocol's
failedlifecycle event carries the run error's message instead of the whole error as JSON, and a refused strict resume'sreason,interrupt_idsandpending_idsAfter a run that forks from a checkpoint, later runs on the thread continue from its latest state again. The dev server saved the fork's
checkpoint_id(andcheckpoint_ns,checkpoint_mapandrun_id) on the thread config, so every later run on the thread forked from the same checkpoint and dropped the new branch.GET /threads/:thread_id/runs/:run_id/joinandGET /threads/:thread_id/runs/:run_id/streamnow return HTTP 404 when the run doesn't exist, is on another thread, or is hidden by thethreads:readhandler, asGET /threads/:thread_id/runs/:run_iddoes.client.runs.join()andclient.runs.joinStream()then throwHTTP 404instead of returning{ __error__ }or yielding an error event, with or withoutlastEventId.Run streams on the dev server take the
lifecyclestream mode: an event namedlifecycle|<namespace>when each subgraph starts and when it ends (completed,failedorinterrupted), with the id of the tool call that started it./inforeportsstream_lifecycle.langgraph-api: The protocol's
run.startreads the multitask strategy frommultitask_strategy, falling back tomultitaskStrategy, on the dev server and the embed server.
1.6.0
5 Nov 2026langgraph-api: Refuse a stale interrupt answer on the dev server
The dev server now runs graphs in strict resume mode: a
Command({ resume })that names an interrupt that isn't pending, is an empty map, or is one value while several interrupts are pending ends the run withUnknownInterruptError, and the thread keeps its status, values and interrupts. A retried run, and aninterruptorrollbackrun that cancelled one in flight, resume as before.Two things that used to succeed now fail: one value sent while several interrupts are pending, which answered all of them, and an answer sent twice, such as a double-click, whose second run was a silent no-op. Both now end the run with an error.
Joining a run that doesn't exist, or that ended long enough ago that its events were dropped, now ends at once instead of after half a second, and no longer leaves an empty event log in memory. A run cancelled before it started now drops its event log two minutes later, as a run that ended does.
GET /threads/:thread_id/runs/:run_id/streamnow ends with aRun not founderror unless the run exists and is on that thread, where it used to stream a run on any thread. A join that arrives after its run was deleted (byDELETE /threads/:thread_id/runs/:run_idor a rollback) gets that error too, asGET /threads/:thread_id/runs/:run_iddoes, instead of the deleted run's events. When thethreads:readhandler returns filters,GET /runs/:run_id/streamstreams only a run that exists and whose thread matches them, and ends with no events otherwise, so a stateless run can be joined that way only until it ends.
Minor Changes
langgraph-api: Refuse a stale interrupt answer on the dev server
The dev server now runs graphs in strict resume mode: a
Command({ resume })that names an interrupt that isn't pending, is an empty map, or is one value while several interrupts are pending ends the run withUnknownInterruptError, and the thread keeps its status, values and interrupts. A retried run, and aninterruptorrollbackrun that cancelled one in flight, resume as before.Two things that used to succeed now fail: one value sent while several interrupts are pending, which answered all of them, and an answer sent twice, such as a double-click, whose second run was a silent no-op. Both now end the run with an error.
Patch Changes
Joining a run that doesn't exist, or that ended long enough ago that its events were dropped, now ends at once instead of after half a second, and no longer leaves an empty event log in memory. A run cancelled before it started now drops its event log two minutes later, as a run that ended does.
GET /threads/:thread_id/runs/:run_id/streamnow ends with aRun not founderror unless the run exists and is on that thread, where it used to stream a run on any thread. A join that arrives after its run was deleted (byDELETE /threads/:thread_id/runs/:run_idor a rollback) gets that error too, asGET /threads/:thread_id/runs/:run_iddoes, instead of the deleted run's events. When thethreads:readhandler returns filters,GET /runs/:run_id/streamstreams only a run that exists and whose thread matches them, and ends with no events otherwise, so a stateless run can be joined that way only until it ends.The dev server no longer splits a run's events between the clients reading it. A run created without
stream_resumablekept its events in a queue that each read emptied, so two clients joining the run each got only part of them, andruns.join()took events away from a stream still open on the run. Every run now keeps its events, as resumable runs already did, and each reader reads them from its own position: the request that creates a streamed run,runs.wait()andruns.join()read the run from the start, a join withLast-Event-IDresumes after that event, and a join without one gets the events published after it joins. Before, such a join got whatever events no other reader had taken yet. To read a run from the start, passlastEventId: "-1"toclient.runs.joinStream(). A finished run's events now stay in memory for two minutes, long enough to rejoin it withLast-Event-ID, and are dropped as soon as the run or its thread is deleted. Resumable runs used to keep their events until the server restarted.Run streams on the dev server and the experimental embed server now end with an
endevent whose data carries the run'srun_idand finalstatus, so a client learns how the run ended without asking for the run again.stream_modefilters never drop it, and on the dev server a join of a run that has already ended gets just theendevent. A rolled-back stateless run ends withrollback. A thread run that is deleted, as a rollback does, ends its streams without one.Thread protocol commands (
POST /threads/:thread_id/commandsand the/threads/:thread_id/stream/eventsWebSocket) now run with the auth of the request or WebSocket connection that sent them, instead of the auth of the first request that touched the thread. A run started over HTTP after a token refresh, or over a WebSocket opened after it, now gets the new token inconfig.configurable.langgraph_auth_user, and run creation, state reads and interrupt answers are authorized as the request that sent them.
1.5.8
4 Nov 2026The experimental embed server's run stream join (
GET /threads/:thread_id/runs/:run_id/stream) now honorsstream_modelike the dev server's joins, soclient.runs.joinStream(..., { streamMode })drops other modes' events and themetadataevent instead of returning all of the run's events. Errors always pass, and either messages mode keeps both message formats. Joins withoutstream_modeare unchanged.
Patch Changes
The experimental embed server's run stream join (
GET /threads/:thread_id/runs/:run_id/stream) now honorsstream_modelike the dev server's joins, soclient.runs.joinStream(..., { streamMode })drops other modes' events and themetadataevent instead of returning all of the run's events. Errors always pass, and either messages mode keeps both message formats. Joins withoutstream_modeare unchanged.
1.5.7
30 Oct 2026langgraph-api: Cancel a stateless streamed run when its request drops and
on_disconnectiscancelPOST /runs/streamnever cancelled its run when the client went away, before or after the response started, because the stream only cancelled runs it joined with a thread id. A stateless run created withon_disconnect: "cancel"now stops when its request drops, as thread runs already did, andGET /runs/:run_id/stream?cancel_on_disconnect=truegets the same fix. Cancelling a stateless run that has not started yet now deletes the run, and its temporary thread when no other run is left on it, instead of leaving aninterruptedrun and its thread behind. Runs created withon_disconnect: "continue"keep running.The dev server's run stream joins (
GET /threads/:thread_id/runs/:run_id/stream,GET /runs/:run_id/stream) now honorstream_modeas the Agent Server does, soclient.runs.joinStream(..., { streamMode })drops other modes' events instead of returning all of the run's events. Errors always pass, and either messages mode keeps both message formats. Joins withoutstream_modeare unchanged.A run created on a busy thread without a
multitask_strategyis now queued (enqueue), as on the Agent Server and in the API reference, instead of being rejected with 422.
Patch Changes
langgraph-api: Cancel a stateless streamed run when its request drops and
on_disconnectiscancelPOST /runs/streamnever cancelled its run when the client went away, before or after the response started, because the stream only cancelled runs it joined with a thread id. A stateless run created withon_disconnect: "cancel"now stops when its request drops, as thread runs already did, andGET /runs/:run_id/stream?cancel_on_disconnect=truegets the same fix. Cancelling a stateless run that has not started yet now deletes the run, and its temporary thread when no other run is left on it, instead of leaving aninterruptedrun and its thread behind. Runs created withon_disconnect: "continue"keep running.The dev server's run stream joins (
GET /threads/:thread_id/runs/:run_id/stream,GET /runs/:run_id/stream) now honorstream_modeas the Agent Server does, soclient.runs.joinStream(..., { streamMode })drops other modes' events instead of returning all of the run's events. Errors always pass, and either messages mode keeps both message formats. Joins withoutstream_modeare unchanged.A run created on a busy thread without a
multitask_strategyis now queued (enqueue), as on the Agent Server and in the API reference, instead of being rejected with 422.Fix three bugs in the legacy run stream:
In
messagesmode, each chat model reply streams under one message id. Anthropic sets the id only on a reply's first chunk, somessages/partialcould switch to arun-<runId>id mid-reply that never matched the id inmessages/complete.In
messagesmode withstream_subgraphs: true,messages/completeis now sent for the root graph's messages. It was never sent before.With
stream_subgraphs: true, a node that streams a runnable of its own (for example a generatorRunnableLambdacalled with the node's config) no longer fails the run withTypeError: rawTuple is not iterable, in any stream mode.
Runs that were running when the dev server restarted, for example on a hot reload after a file save, are now retried when it starts again and continue from their last checkpoint. Before, they stayed
runningforever, their thread stayed busy and new runs on it were rejected with 422.The
rollbackmultitask strategy, and cancelling withaction=rollback, now roll back a run that is already running, as they already did for a pending one: the run is cancelled, then deleted with its checkpoints, so the next run starts from the state before it, and its stream ends without an error. Before, the run ended aserrorand its writes stayed on the thread.Deleting a thread, or a run, while the run is running no longer stops one of the server's run workers for good, and neither does any other failure while a worker finishes a run, such as a webhook URL that can't be reached. After enough of these, new runs were never picked up.
1.5.6
26 Oct 2026Only updates a dependency:@langchain/langgraph-ui 1.5.6
1.5.5
21 Oct 2026Depend on
@langchain/protocol0.0.20, the version@langchain/langgraph-sdkuses, so installs resolve a single copy and the protocol event types stay compatible.
Patch Changes
Depend on
@langchain/protocol0.0.20, the version@langchain/langgraph-sdkuses, so installs resolve a single copy and the protocol event types stay compatible.
1.5.4
16 Oct 2026run.startinput sent while a thread is paused on several interrupts now returnsinvalid_argumentand leaves the thread paused, instead of starting a run that fails because one input can't say which interrupt it answers. Answer each interrupt withinput.respond.
Patch Changes
run.startinput sent while a thread is paused on several interrupts now returnsinvalid_argumentand leaves the thread paused, instead of starting a run that fails because one input can't say which interrupt it answers. Answer each interrupt withinput.respond.
1.5.3
12 Oct 2026Order 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:
Patch Changes
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.BaseCheckpointSaver.putWritestakes an optionaltaskPath(the serialized task path,taskPathStr), andgetTuple/listmust returnpendingWritesin the newwritesSortKeyorder.writesSortKeyandcompareWritesSortKeysare new exports of@langchain/langgraph-checkpoint; every saver (memory, SQLite, Postgres, Redis incl. ShallowRedisSaver, MongoDB) stores the path and sorts in JS — no database collation is involved.SQLite and Postgres gain a
task_pathcolumn (migrated automatically onsetup(); read-only pre-column SQLite databases keep reading, with their rows keeping the old order). Redis and MongoDB documents gain atask_pathfield. Rows written before the upgrade keep their old order.Exit-durability resumes replay delta writes in live order (port of langgraph#9114): the resumed superstep's writes interleave with the loaded ones by task path, later supersteps sort after every real write, and writes loaded with the checkpoint are no longer stored twice.
bulkUpdateStateseals the first update superstep: DeltaChannels touched by the base checkpoint's pending writes (and whose version moved) snapshot on the update checkpoint, so a finished sibling's writes and the update's can't replay in the wrong order (partial port of langgraph#8548).bulkUpdateState/updateStateupdate tasks carry(__interrupt__, i)task paths, as in langgraph#9128, so several updates in one superstep writing the same DeltaChannel replay in the order given.Send task paths become
[PUSH, i, false]and node-error-handler paths become[*failedTask.path[:3], "node_error_handler", false](the failed task's first three path elements), matching Python's shapes —langgraph_pathtask metadata changes accordingly, and task ids of functionaltask()calls under a Send or handler task change with them. The SDK's Send-task detection accepts both the old and new shapes.
Upgrade notes:
PostgresSaver: runsetup()once after upgrading, from one process, before the new version serves traffic. Thetask_pathcolumn comes from the first new migration since the saver shipped, and until it runs, reads and writes fail withcolumn "task_path" does not exist. Several processes runningsetup()at once on a database that still needs the migration can fail with a duplicate key error oncheckpoint_migrations.Third-party checkpoint savers remain source-compatible but must now persist the
taskPaththey are given and returnpendingWritesinwritesSortKeyorder; the conformance suite's new base tests enforce this. A saver that ignores the new argument replays in task-id order and can rebuild a different DeltaChannel value than the run produced.An incomplete superstep containing stored delta writes that must interleave with resumed or retried task writes is affected by the upgrade, whether the incompleteness came from an interrupt, a task error, a crash, or a drain: finish such threads with the old runtime before upgrading writers. A single interrupted node with no finished delta-writing siblings is safe to resume. The same applies to resuming work that includes functional
task()calls under a Send or error-handler task, whose child task ids change.@langchain/langgraph-checkpoint1.2.0 must be released before any package requiring its new exports; the consumers' minimum ranges are raised accordingly.
1.5.2
3 Oct 2026Only updates a dependency:@langchain/langgraph-ui 1.5.2
1.5.1
25 Sep 2026Fix
langgraph dev --no-reloadwith the default TypeScript loader. Pass the tsx--clear-screen=falseoption only in watch mode so Node can start the server when reload is disabled.
Patch Changes
Fix
langgraph dev --no-reloadwith the default TypeScript loader. Pass the tsx--clear-screen=falseoption only in watch mode so Node can start the server when reload is disabled.
1.5.0
18 Sep 2026Pass a typed
ServerRuntimeas the second graph factory argument. Runs and resumes receiveexecutionRuntime.context; assistant inspection and thread state operations receiveexecutionRuntime: null. Existing config-only factories remain supported.
Minor Changes
Pass a typed
ServerRuntimeas the second graph factory argument. Runs and resumes receiveexecutionRuntime.context; assistant inspection and thread state operations receiveexecutionRuntime: null. Existing config-only factories remain supported.
1.4.6
12 Sep 2026api:
run.startwith input on a cancelled thread no longer folds the input intoCommand(resume). A cancelled run shares the "interrupted" status with a genuineinterrupt()pause, but has no pending interrupt to consume the resume value, so the submitted message was silently dropped. The input-vs-resume decision now keys on whether the thread actually has pending interrupts (both in the protocol service and the embed protocol).
Patch Changes
api:
run.startwith input on a cancelled thread no longer folds the input intoCommand(resume). A cancelled run shares the "interrupted" status with a genuineinterrupt()pause, but has no pending interrupt to consume the resume value, so the submitted message was silently dropped. The input-vs-resume decision now keys on whether the thread actually has pending interrupts (both in the protocol service and the embed protocol).
1.4.5
19 Aug 2026Update checkpoint integrations to require the patched checkpoint serializer release.
Patch Changes
Update checkpoint integrations to require the patched checkpoint serializer release.
1.4.4
3 Aug 2026langgraph-api: Stop wiping graph recursionLimit with undefined
When a run omitted
config.recursion_limit, the server still passedrecursionLimit: undefinedintostreamEvents. Pregel spreads that over the
graph'swithConfigdefault, so agents fell back to langchain-core's 25.
Omit undefined keys so bound limits (and deepagents' 10000) stick.
Patch Changes
langgraph-api: Stop wiping graph recursionLimit with undefined
When a run omitted
config.recursion_limit, the server still passedrecursionLimit: undefinedintostreamEvents. Pregel spreads that over the
graph'swithConfigdefault, so agents fell back to langchain-core's 25.
Omit undefined keys so bound limits (and deepagents' 10000) stick.
1.4.3
15 Jul 2026Only updates a dependency:@langchain/langgraph-ui 1.4.3
1.4.2
6 Jul 2026api: Inject langgraph_auth_user on protocol-v2 run.start
Stamp authenticated user fields onto run config in createOrResumeRun so
v2 streaming matches the REST runs API. Shared helpers also dedupe REST
run config auth/header enrichment.cli: Support node_version 24 in langgraph.json
Allow Node 24 in the CLI config schema and Docker base image resolution.
The langgraphjs-api:24 image is already published from langgraph-api.
Patch Changes
api: Inject langgraph_auth_user on protocol-v2 run.start
Stamp authenticated user fields onto run config in createOrResumeRun so
v2 streaming matches the REST runs API. Shared helpers also dedupe REST
run config auth/header enrichment.cli: Support node_version 24 in langgraph.json
Allow Node 24 in the CLI config schema and Docker base image resolution.
The langgraphjs-api:24 image is already published from langgraph-api.
1.4.1
25 Jun 2026langgraph-api: Support configurable TypeScript loaders in dev server
Add
node_loadertolanggraph.json(andLANGGRAPH_NODE_LOADERenv override) so projects using reflect-metadata can usets-node(--loader ts-node/esm) instead of the default tsx CLI. Other loaders default to--import; only registered shorthands likets-nodeuse--loader.--no-reloadnow also disables tsx's internal watch mode. Closes #1834.
Patch Changes
langgraph-api: Support configurable TypeScript loaders in dev server
Add
node_loadertolanggraph.json(andLANGGRAPH_NODE_LOADERenv override) so projects using reflect-metadata can usets-node(--loader ts-node/esm) instead of the default tsx CLI. Other loaders default to--import; only registered shorthands likets-nodeuse--loader.--no-reloadnow also disables tsx's internal watch mode. Closes #1834.
1.4.0
22 Jun 2026langgraph-cli: Add
deploycommand for LangSmith DeploymentPort the Python CLI's
langgraph deployworkflow to@langchain/langgraph-cli, including local and remote build paths, deployment lifecycle subcommands (list,revisions list,delete,logs), and host-backend client utilities with tests.langgraph-api: Preserve non-empty response_metadata on protocol-v2 state messages
The protocol-v2 state normalizer stripped
response_metadatafrom messages,
dropping data that HITL flows rely on — an interrupt's card is carried onAIMessage.response_metadata(e.g.{ cards: ... }). Non-emptyresponse_metadatais now retained so the card reaches the client.sdk: Apply state update and goto alongside interrupt resume
respond(decision, { update, goto })now maps to LangGraph'sCommand(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 separateupdateStatewrite, no flicker.@langchain/langgraph-apiforwardsupdate/gotothroughinput.respond,
and@langchain/coremessage instances inupdateare serialized to dicts
before transport, exactly likesubmit(). Bumps@langchain/protocolto^0.0.18for theGototype.respond/respondAllalso applyupdateoptimistically (mirroringsubmit()): 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 instantrespond()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.
Minor Changes
langgraph-cli: Add
deploycommand for LangSmith DeploymentPort the Python CLI's
langgraph deployworkflow to@langchain/langgraph-cli, including local and remote build paths, deployment lifecycle subcommands (list,revisions list,delete,logs), and host-backend client utilities with tests.
Patch Changes
langgraph-api: Preserve non-empty response_metadata on protocol-v2 state messages
The protocol-v2 state normalizer stripped
response_metadatafrom messages,
dropping data that HITL flows rely on — an interrupt's card is carried onAIMessage.response_metadata(e.g.{ cards: ... }). Non-emptyresponse_metadatais now retained so the card reaches the client.sdk: Apply state update and goto alongside interrupt resume
respond(decision, { update, goto })now maps to LangGraph'sCommand(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 separateupdateStatewrite, no flicker.@langchain/langgraph-apiforwardsupdate/gotothroughinput.respond,
and@langchain/coremessage instances inupdateare serialized to dicts
before transport, exactly likesubmit(). Bumps@langchain/protocolto^0.0.18for theGototype.respond/respondAllalso applyupdateoptimistically (mirroringsubmit()): 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 instantrespond()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.
1.3.1
12 Jun 2026Only updates a dependency:@langchain/langgraph-ui 1.3.1
1.3.0
8 Jun 2026Consolidate the protocol session's channel inference, channel-set validation, and namespace prefix matching onto the shared
@langchain/langgraph/streamhelpers instead of maintaining local copies. This removes duplicated logic acrosssession/index.mts,session/namespace.mts,session/internal-types.mts, andservice.mts.This also aligns SSE event-sink filtering (
matchesSinkFilter) with the WebSocket subscription matcher: both now normalize dynamic namespace suffixes (e.g. a["fetcher"]namespace filter matches an event emitted under["fetcher:<uuid>"]). Previously the SSE path used a stricter exact-segment match.Because the session now imports
@langchain/langgraph/stream, the@langchain/langgraphpeer dependency floor is raised to^1.3.6(the first release that ships the/streamentrypoint).
Minor Changes
Consolidate the protocol session's channel inference, channel-set validation, and namespace prefix matching onto the shared
@langchain/langgraph/streamhelpers instead of maintaining local copies. This removes duplicated logic acrosssession/index.mts,session/namespace.mts,session/internal-types.mts, andservice.mts.This also aligns SSE event-sink filtering (
matchesSinkFilter) with the WebSocket subscription matcher: both now normalize dynamic namespace suffixes (e.g. a["fetcher"]namespace filter matches an event emitted under["fetcher:<uuid>"]). Previously the SSE path used a stricter exact-segment match.Because the session now imports
@langchain/langgraph/stream, the@langchain/langgraphpeer dependency floor is raised to^1.3.6(the first release that ships the/streamentrypoint).
1.2.5
5 Jun 2026langgraph: Forward named custom stream channels consistently
Forward remote
StreamChannelemissions ascustom:<name>protocol events and normalize them back to custom-channel payloads in the API session. This aligns JavaScript stream-channel forwarding with the protocol subscription shape used by remote clients, socustom:<name>subscriptions receive extension channel data consistently.
Patch Changes
langgraph: Forward named custom stream channels consistently
Forward remote
StreamChannelemissions ascustom:<name>protocol events and normalize them back to custom-channel payloads in the API session. This aligns JavaScript stream-channel forwarding with the protocol subscription shape used by remote clients, socustom:<name>subscriptions receive extension channel data consistently.
1.2.4
1 Jun 2026Only updates dependencies:@langchain/langgraph-ui 1.2.4uuid 14.0.0
1.2.3
29 May 2026protocol-v2: Fold forkFrom client-side and honor per-run multitaskStrategy
The SDK now folds the ergonomic
forkFromoption intoconfig.configurable.checkpoint_idbefore sendingrun.start, so the
agent server only ever accepts the single, legacy-compliant fork field
(forkFromno longer hits the wire). The protocol-v2 reference servers
drop their top-levelforkFromnormalization accordingly.The protocol-v2 servers now honor the caller's
multitaskStrategyper
run (one ofreject|rollback|interrupt|enqueue) instead of
hardcoding it, falling back toenqueuewhen omitted or unrecognized.protocol-v2: Add
respondAll()and run config/metadata on interrupt resumeThe 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 sequentialrespond()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
freshsubmit()would. The protocol-v2 reference servers read the newresponsesbatch andconfig/metadatafields leniently and fold them
onto the run that services theinput.respondcommand.
Patch Changes
protocol-v2: Fold forkFrom client-side and honor per-run multitaskStrategy
The SDK now folds the ergonomic
forkFromoption intoconfig.configurable.checkpoint_idbefore sendingrun.start, so the
agent server only ever accepts the single, legacy-compliant fork field
(forkFromno longer hits the wire). The protocol-v2 reference servers
drop their top-levelforkFromnormalization accordingly.The protocol-v2 servers now honor the caller's
multitaskStrategyper
run (one ofreject|rollback|interrupt|enqueue) instead of
hardcoding it, falling back toenqueuewhen omitted or unrecognized.protocol-v2: Add
respondAll()and run config/metadata on interrupt resumeThe 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 sequentialrespond()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
freshsubmit()would. The protocol-v2 reference servers read the newresponsesbatch andconfig/metadatafields leniently and fold them
onto the run that services theinput.respondcommand.
1.2.2
18 May 2026langgraph-cli: Accept hyphenated prerelease tags in
api_versionvalues.
Patch Changes
langgraph-cli: Accept hyphenated prerelease tags in
api_versionvalues.
1.2.1
5 May 2026sdk: Update endpoints
Patch Changes
sdk: Update endpoints
1.2.0
5 May 2026Add the thread-scoped event streaming protocol used by the new SDK streaming
clients.This release adds protocol routes for WebSocket and SSE/HTTP streaming,
including thread-local command handling, filtered subscriptions, event replay,
state inspection, checkpoint listing/forking, interrupt input, agent tree
queries, and run start/resume commands. Stream events are normalized into the
canonical protocol shape with ordered sequence IDs so clients can safely
dedupe, resume subscriptions, and coordinate multiple projections from the same
run.The experimental embed server now supports the same protocol flow, so embedded
graphs can serve the new SDK transports without standing up a separate
LangGraph API deployment. The server also gains protocol session tests and
fixture graphs covering deep agents, interrupts, subgraphs, and SDK transport
behavior.
Minor Changes
Add the thread-scoped event streaming protocol used by the new SDK streaming
clients.This release adds protocol routes for WebSocket and SSE/HTTP streaming,
including thread-local command handling, filtered subscriptions, event replay,
state inspection, checkpoint listing/forking, interrupt input, agent tree
queries, and run start/resume commands. Stream events are normalized into the
canonical protocol shape with ordered sequence IDs so clients can safely
dedupe, resume subscriptions, and coordinate multiple projections from the same
run.The experimental embed server now supports the same protocol flow, so embedded
graphs can serve the new SDK transports without standing up a separate
LangGraph API deployment. The server also gains protocol session tests and
fixture graphs covering deep agents, interrupts, subgraphs, and SDK transport
behavior.
1.1.16 – 1.1.172 releases that only update dependencies@langchain/langgraph-ui 1.1.17Show each
- 1.1.1727 Mar 2026@langchain/langgraph-ui 1.1.17
- 1.1.1617 Mar 2026@langchain/langgraph-ui 1.1.16
1.1.15
6 Mar 2026langgraph-api: Use UUIDv7 instead of UUIDv4 in embed server
Switches thread and run ID generation from
uuidv4touuidv7in the experimental embed server. UUIDv7 is time-ordered, which improves sortability and database index performance for IDs.
Patch Changes
langgraph-api: Use UUIDv7 instead of UUIDv4 in embed server
Switches thread and run ID generation from
uuidv4touuidv7in the experimental embed server. UUIDv7 is time-ordered, which improves sortability and database index performance for IDs.
1.1.14
26 Feb 2026Add tools stream mode for tool lifecycle events
Patch Changes
Add tools stream mode for tool lifecycle events
1.1.13
11 Feb 2026Relax langsmith dep
Patch Changes
Relax langsmith dep
1.1.12
5 Feb 2026Enhanced JSON schema extraction for Studio with multi-tier strategy:
Extraction priority:
Patch Changes
Enhanced JSON schema extraction for Studio with multi-tier strategy:
StateSchema support: Extract schemas from
StateSchemainstances usinggetJsonSchema()andgetInputJsonSchema()methods, preservingjsonSchemaExtrametadata (e.g.,langgraph_type: "messages")Improved Zod handling: Fall back to Zod registry extraction for
withLangGraph()schemas, then direct Zod conversion for plain Zod schemasReduced reliance on TypeScript parser: Only fall back to the brittle TypeScript AST parser when all runtime extraction methods fail
Extraction priority:
StateSchema (handles
jsonSchemaExtraviaReducedValue)Zod via
schemaMetaRegistry(handlesjsonSchemaExtrafromwithLangGraph())Direct Zod conversion (no
jsonSchemaExtra, but better than static parsing)Static TypeScript parser (fallback)
1.1.11
10 Jan 2026Add delete_threads query parameter to delete assistants API.
Patch Changes
Add delete_threads query parameter to delete assistants API.
1.1.10
9 Jan 2026Retry release: bump @hono/zod-validator
Patch Changes
Retry release: bump @hono/zod-validator
1.1.9
9 Jan 2026Retry release: bump @hono/zod-validator
Patch Changes
Retry release: bump @hono/zod-validator
1.1.8
9 Jan 2026Retry release: bump @hono/zod-validator
Patch Changes
Retry release: bump @hono/zod-validator
1.1.2
5 Dec 2025Fix semver range for SDK
1.1.1
3 Dec 2025Add name parameter to assistants count API.
Patch Changes
Add name parameter to assistants count API.
1.1.0
2 Dec 2025Only updates a dependency:@langchain/langgraph-ui 1.1.0
1.0.4
21 Nov 2025Adding functionality to search assistants by name in the in-memory server implementation.
1.0.3
28 Oct 2025Remove Zod 3.x dependency constraint to allow Zod 4.x and avoid installing duplicate Zod packages
Patch Changes
Remove Zod 3.x dependency constraint to allow Zod 4.x and avoid installing duplicate Zod packages
1.0.2
24 Oct 2025Add back support for older versions of LangChain / LangGraph
1.0.1
23 Oct 2025Hotfix graph resolution for createAgent
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.
Major Changes
- 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.0.x
0.0.72
19 Aug 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.