Packages

@langchain/langgraph-sdk

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

Upgrading @langchain/langgraph-sdk From 1.12.4 to 1.12.5

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.12.4Newest 1.x, Latest1.17.0
  1. 1.12.4yours
  2. 1.12.5target
0
changes to make
0
advisories fixed
0
new
4
fixes

Release by release

  1. 1.12.5

    16 Oct 20264 fixes
    • Fixed

      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.

    • Fixed

      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.

    • Fixed

      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.

    • Fixed

      Stop the protocol WebSocket transport from reconnecting when the server closes the socket with 4000 plus a 4xx status (4403, 4404, 4422 and the like; 4408 and 4429 still reconnect): the event stream now ends at once with an error that carries the status. Other 4xxx closes still reconnect, with the status on the onReconnect cause. A WebSocket thread stream that fails for good now reaches ThreadStream.onError, so useStream sets error and clears isLoading, as it already did for SSE. A command whose send fails no longer leaves a response promise behind to be rejected later as an unhandled rejection.

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.