@langchain/react
1.3.0 · 17 Nov 2026MIT154.8k / weekRepositoryHomepagenpmAtom feed
In short
1 new1 internal
Release note
Minor Changes
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.
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.