Packages

@langchain/langgraph-api

1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed

Upgrading @langchain/langgraph-api From 1.5.8 to 1.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.5.8Newest 1.x, Latest1.8.1
  1. 1.5.8yours
  2. 1.6.0target
0
changes to make
0
advisories fixed
0
new
6
fixes

Release by release

  1. 1.6.0

    5 Nov 20266 fixes
    • Fixed

      langgraph-api: Refuse a stale interrupt answer on the dev server

    • Fixed

      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.

    • Fixed

      GET /threads/:thread_id/runs/:run_id/stream now ends with a Run not found error 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 (by DELETE /threads/:thread_id/runs/:run_id or a rollback) gets that error too, as GET /threads/:thread_id/runs/:run_id does, instead of the deleted run's events. When the threads:read handler returns filters, GET /runs/:run_id/stream streams 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.

    • Fixed

      The dev server no longer splits a run's events between the clients reading it. A run created without stream_resumable kept its events in a queue that each read emptied, so two clients joining the run each got only part of them, and runs.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() and runs.join() read the run from the start, a join with Last-Event-ID resumes 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, pass lastEventId: "-1" to client.runs.joinStream(). A finished run's events now stay in memory for two minutes, long enough to rejoin it with Last-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.

    • Fixed

      Run streams on the dev server and the experimental embed server now end with an end event whose data carries the run's run_id and final status, so a client learns how the run ended without asking for the run again. stream_mode filters never drop it, and on the dev server a join of a run that has already ended gets just the end event. A rolled-back stateless run ends with rollback. A thread run that is deleted, as a rollback does, ends its streams without one.

    • Fixed

      Thread protocol commands (POST /threads/:thread_id/commands and the /threads/:thread_id/stream/events WebSocket) 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 in config.configurable.langgraph_auth_user, and run creation, state reads and interrupt answers are authorized as the request that sent them.

1 internal line (docs, tests, tooling) left out.

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.