@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
1.17.0 is the newest release of 1.x.
In short
3 fixed
Release note
Patch Changes
sdk: Revive automatic optimistic submit echo
Echo
submit()input intovalues/messagesimmediately with client-side
id minting and id-based reconciliation as the server streams back. Expose
per-messageoptimisticStatusvia message metadata (pending→sent/failed), shallow-merge non-message keys with rollback when novalues
arrive, and add anoptimistic: falsehook opt-out. Plumb through React,
Vue, Svelte, and Angular with browser e2e coverage.sdk: Coalesce duplicate thread read requests
Coalesce concurrent identical
threads.getState()andthreads.getHistory()reads within the SDK client so transient remounts do not issue duplicate hydrate requests. Request identity includes the prepared URL, body, method, and headers, and coalescing is skipped for caller-provided abort signals, raw response reads, andonRequesthooks to preserve auth and cancellation isolation.sdk: Reconcile subagents and subgraphs on thread reconnect
Seed deep-agent subagent cards from checkpoint messages and subgraph hosts from a single bounded
getHistoryread duringhydrate(), so parallel fan-out discovery reappears immediately on refresh instead of waiting for SSE replay. Subagent execution namespaces are promoted through the existing guarded discovery state machine (bulk at hydrate, lazily per opened card via the selector layer). The getHistory cost is O(1) in requests regardless of fan-out width.
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.