Packages

@langchain/react

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

Your version

1.0.0

major5 May 2026Where it was published

1.3.0 is the newest release of 1.x.

In short

1 breaking1 internal

  • Breaking

    Add the React event streaming integration.

Release note

Major Changes

  • Breaking

    Add the React event streaming integration.

    React applications can now use the shared event streaming runtime through
    useStream, useProjection, useSuspenseStream, StreamProvider, and
    focused selector hooks for messages, values, tool calls, custom channels,
    extensions, media, message metadata, and submission queues. The new integration
    supports thread-scoped runs, reattachment, interrupts, WebSocket and
    SSE/custom transports, headless tools, subgraphs, subagents, typed stream
    extensions, and strongly typed state/tool-call inference.

    This release also adds media helpers for streaming UI experiences, including
    useMediaURL, useAudioPlayer, and useVideoPlayer, plus selectors for
    audio, images, video, and files. Shared transport, media, protocol event,
    message metadata, and discovery types are exported from the package so React
    components can compose richer streaming interfaces without deep imports.

    The package documentation and tests have been expanded around custom
    transports, selectors, interrupts, multimodal streaming, suspense, submission
    queues, headless tools, subagents, type safety, and migration from the previous
    streaming API.

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.