Packages

@langchain/react

1.3.0 · 17 Nov 2026MIT154.8k / weekRepositoryHomepagenpmAtom feed

Your version

1.0.17

5 Jun 2026Where it was published

1.3.0 is the newest release of 1.x.

In short

2 fixed1 internal

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: 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.