Packages

@langchain/langgraph-sdk

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

Your version

1.9.17

5 Jun 2026Where it was published

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 into values / messages immediately with client-side
    id minting and id-based reconciliation as the server streams back. Expose
    per-message optimisticStatus via message metadata (pending → sent /
    failed), shallow-merge non-message keys with rollback when no values
    arrive, and add an optimistic: false hook opt-out. Plumb through React,
    Vue, Svelte, and Angular with browser e2e coverage.

  • sdk: Coalesce duplicate thread read requests

    Coalesce concurrent identical threads.getState() and threads.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, and onRequest hooks 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 getHistory read during hydrate(), 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.