Packages

@langchain/react

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

Your version

1.1.0

12 Sep 2026Where it was published

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.

    onConnected runs after the initial SSE or WebSocket connection becomes usable and after every successful reconnect. Its payload distinguishes an initial connection from a reconnected connection and includes the reconnect attempt number.

    onReconnect now also receives the scheduled delayMs, 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.