@langchain/react
1.3.0 · 17 Nov 2026MIT154.8k / weekRepositoryHomepagenpmAtom feed
1.3.0 is the newest release of 1.x.
In short
1 new1 internal
Release note
Minor Changes
Expose connection lifecycle callbacks for built-in streaming transports.
onConnectedruns after the initial SSE or WebSocket connection becomes usable and after every successful reconnect. Its payload distinguishes aninitialconnection from areconnectedconnection and includes the reconnect attempt number.onReconnectnow also receives the scheduleddelayMs, allowing applications to display accurate retry state before the next connection attempt. React, Vue, Svelte, and Angular stream hooks forward both callbacks.
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.