AIBreaking changes

LangGraph JS 1.6.0 Tightens Dev Server Resume Logic and Stream Handling

LangGraph API 1.6.0 enforces stricter interrupt validation on the dev server and fixes event stream handling for concurrent clients.

3 min readSource: LangGraph JS Releases

Curated by Kandala Guruprasad. Drafted with AI and checked against the source.

LangGraph JS 1.6.0 Tightens Dev Server Resume Logic and Stream Handling

TL;DR

  • Dev server now runs graphs in strict resume mode, rejecting stale interrupt answers with UnknownInterruptError
  • Event streams no longer split events between concurrent clients; each reader gets its own position in the event log
  • Run streams now include an end event with run_id and final status, eliminating the need for an extra query
  • Thread protocol commands now execute with the auth of the request that sent them, respecting token refreshes
Version
1.6.0
Released
November 5, 2026
Release Type
Minor + Patch

What happened

LangChain released @langchain/langgraph-api@1.6.0 on November 5, 2026, with updates to interrupt handling, stream behavior, and authentication in the LangGraph development server.

Strict resume mode and interrupt validation

The dev server now enforces strict resume mode when processing graph interrupts. A Command({ resume }) that names an interrupt which isn't pending, maps to an empty value, or sends a single value while multiple interrupts are pending will end the run with UnknownInterruptError. The thread retains its status, values, and interrupts after this error.

This change breaks two previously successful patterns: sending a single answer value when multiple interrupts are pending (which used to answer all of them), and sending an answer twice in quick succession (such as a double-click, where the second run was silently ignored). Both now result in an error. Retried runs and interrupt or rollback runs that cancel an in-flight run continue to work as before.

Event stream handling and memory management

The dev server no longer partitions a run's events across clients reading it concurrently. Previously, runs created without stream_resumable kept events in a queue that each reader would empty, causing two clients joining the same run to receive only partial events. Runs.join() also consumed events from open streams.

Now every run retains its events, similar to how resumable runs already worked. Each reader maintains its own position: a request that creates a streamed run, runs.wait(), and runs.join() read from the start; a join with Last-Event-ID resumes after that event; a join without one receives events published after joining. To explicitly read from the beginning, pass lastEventId: "-1" to client.runs.joinStream(). Finished run events stay in memory for two minutes to allow rejoining with Last-Event-ID, then are dropped. Previously, resumable runs kept events until server restart.

Joining a run that no longer exists (or whose events were dropped) now ends immediately instead of waiting half a second, and no longer leaves an empty event log in memory. A run cancelled before starting drops its event log two minutes later, aligning with runs that completed normally.

Stream termination and API changes

Run streams on the dev server now end with an end event carrying the run's run_id and final status, allowing clients to learn how a run ended without making an additional query. Stream mode filters never drop this end event. A rolled-back stateless run ends with rollback status.

The GET /threads/:thread_id/runs/:run_id/stream endpoint now verifies that the run exists and belongs to the specified thread before streaming. Previously it would stream a run from any thread. A join arriving after the run was deleted (via DELETE or rollback) gets a Run not found error instead of the deleted run's events. When the threads:read handler returns filters, the GET /runs/:run_id/stream endpoint streams only runs matching those filters, ending with no events otherwise.

Authentication and token refresh

Thread protocol commands (POST /threads/:thread_id/commands and WebSocket connections at /threads/:thread_id/stream/events) now execute with the auth of the request or connection that sent them, instead of using the auth from the first request that touched the thread. A run started over HTTP after a token refresh, or over a new WebSocket connection, receives the new token in config.configurable.langgraph_auth_user. Run creation, state reads, and interrupt answers are all authorized according to the request that sent them.

Who it affects

These changes affect developers building applications with LangGraph who rely on interrupt handling, concurrent stream reading, or authentication in thread operations. The stricter interrupt validation may break existing code that sends stale or duplicate answers, and the auth changes ensure that token refreshes propagate correctly through long-lived thread connections.

Check before upgrading

  • Command({ resume }) with a non-pending interrupt, empty map, or single value while multiple interrupts are pending now ends the run with UnknownInterruptError instead of succeeding
  • Sending an interrupt answer twice (e.g., double-click) now ends the run with an error instead of silently ignoring the second attempt
  • GET /threads/:thread_id/runs/:run_id/stream now requires the run to exist on the specified thread, rejecting runs from other threads

Source

LangGraph JS Releaseshttps://github.com/langchain-ai/langgraphjs/releases/tag/%40langchain%2Flanggraph-api%401.6.0

AI-assisted, verified against the source. This post was drafted with AI from the primary source linked above and checked automatically against it. For anything you depend on, read the original.

  • #langgraph
  • #api
  • #release
  • #node.js
  • #graphexecution

More in AI