Packages

@langchain/react

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

Upgrading @langchain/react From 1.2.6 to 1.3.0

9 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.2.6yours
  2. 8 releases
  3. 1.3.0target
0
changes to make
0
advisories fixed
1
new
1
fix

Release by release

  1. 1.3.0

    17 Nov 20261 new
    • New

      useStream accepts stateKeys, the values keys your UI reads. Opening a thread then sends select on GET /threads/{thread_id}/state for those keys, the messages key, and the top-level fields the hook reads itself, so the server can skip the rest of the state. stream.values contains only those keys plus the messages key, after loading and while a run streams, including on a server that ignores select. A custom adapter's getState receives { select }, and HttpAgentServerAdapter forwards it. Without stateKeys, nothing changes.

  2. 1.2.11 – 1.2.144 releases, nothing new or fixed in the notes

  3. 1.2.10

    4 Nov 20261 fix
    • Fixed

      Effects replayed by StrictMode, Fast Refresh or <Activity> no longer run a pending headless tool twice in useStream; the hook now forgets which tool calls it ran only when the threadId option changes.

  4. 1.2.7 – 1.2.93 releases, nothing new or fixed in the notes

9 internal lines (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.