@langchain/react
1.3.0 · 17 Nov 2026MIT154.8k / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/react From 1.0.31 to 1.3.0
22 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
useStreamacceptsstateKeys, thevalueskeys your UI reads. Opening a thread then sendsselectonGET /threads/{thread_id}/statefor 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.valuescontains only those keys plus the messages key, after loading and while a run streams, including on a server that ignoresselect. A custom adapter'sgetStatereceives{ select }, andHttpAgentServerAdapterforwards it. WithoutstateKeys, nothing changes.
- New
1.2.11 – 1.2.144 releases, nothing new or fixed in the notes
- Fixed
Effects replayed by StrictMode, Fast Refresh or
<Activity>no longer run a pending headless tool twice inuseStream; the hook now forgets which tool calls it ran only when thethreadIdoption changes.
- Fixed
1.2.1 – 1.2.99 releases, nothing new or fixed in the notes
- New
useStream's"enqueue"multitask strategy can now be backed by real, durable server-side runs instead of an in-memory client-only queue.
- New
1.1.1 – 1.1.22 releases, nothing new or fixed in the notes
- New
Expose connection lifecycle callbacks for built-in streaming transports.
- New
- Fixed
sdk: Keep stream.interrupts truthful after sequential multi-interrupt resume
- Fixed
22 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.