@ai-sdk/react
4.0.152 · 21 Oct 2026Apache-2.05.7M / weekRepositoryHomepagenpmAtom feed
852 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
4.0.150 – 4.0.1523 releases that only update dependencies@ai-sdk/provider-utils 5.0.65@ai-sdk/mcp 2.0.81ai 7.0.148and 1 moreShow each
- 4.0.15221 Oct 2026@ai-sdk/provider-utils 5.0.65@ai-sdk/mcp 2.0.81ai 7.0.148
- 4.0.15120 Oct 2026ai 7.0.147
- 4.0.15020 Oct 2026ai 7.0.146@ai-sdk/provider 4.0.31@ai-sdk/provider-utils 5.0.64and 1 more
4.0.149
19 Oct 2026ai@7.0.145
4.0.148
19 Oct 2026Only updates dependencies:@ai-sdk/provider 4.0.30ai 7.0.144@ai-sdk/mcp 2.0.79@ai-sdk/provider-utils 5.0.63
4.0.147
16 Oct 20268a5233b: Generate default chat IDs on first access so
useChat()can prerender without reading a random value when the ID is not used during rendering.
Patch Changes
8a5233b: Generate default chat IDs on first access so
useChat()can prerender without reading a random value when the ID is not used during rendering.
4.0.143 – 4.0.1464 releases that only update dependencies@ai-sdk/provider 4.0.28ai 7.0.142@ai-sdk/mcp 2.0.77and 1 moreShow each
- 4.0.14615 Oct 2026@ai-sdk/provider 4.0.28ai 7.0.142@ai-sdk/mcp 2.0.77and 1 more
- 4.0.14515 Oct 2026@ai-sdk/mcp 2.0.76
- 4.0.14415 Oct 2026@ai-sdk/provider-utils 5.0.60ai 7.0.141@ai-sdk/mcp 2.0.75
- 4.0.14314 Oct 2026ai 7.0.140
4.0.142
13 Oct 2026ai@7.0.139
4.0.141
12 Oct 2026eab278a: fix: resume interrupted chat streams when the page becomes visible again
useChatwithresume: trueno longer starts a second resume request on mount when the chat is already submitted or streaming, e.g. when remounting with a sharedChatinstance mid-stream.a527dcd: fix(react): prevent stale useObject streams from overwriting newer results
898bc05: fix(react): preserve replay semantics for custom chat transports
Patch Changes
eab278a: fix: resume interrupted chat streams when the page becomes visible again
useChatwithresume: trueno longer starts a second resume request on mount when the chat is already submitted or streaming, e.g. when remounting with a sharedChatinstance mid-stream.a527dcd: fix(react): prevent stale useObject streams from overwriting newer results
898bc05: fix(react): preserve replay semantics for custom chat transports
4.0.135 – 4.0.1406 releases that only update dependenciesai 7.0.137@ai-sdk/mcp 2.0.73@ai-sdk/provider 4.0.26and 1 moreShow each
- 4.0.1409 Oct 2026ai 7.0.137
- 4.0.1399 Oct 2026ai 7.0.136@ai-sdk/mcp 2.0.73
- 4.0.1388 Oct 2026ai 7.0.135@ai-sdk/provider 4.0.26@ai-sdk/mcp 2.0.72and 1 more
- 4.0.1378 Oct 2026ai 7.0.134
- 4.0.1368 Oct 2026ai 7.0.133@ai-sdk/provider 4.0.25@ai-sdk/provider-utils 5.0.57and 1 more
- 4.0.1357 Oct 2026ai 7.0.132@ai-sdk/mcp 2.0.70
4.0.134
7 Oct 2026ai@7.0.131
4.0.131 – 4.0.1333 releases that only update dependenciesai 7.0.130@ai-sdk/provider 4.0.24@ai-sdk/mcp 2.0.69and 1 moreShow each
- 4.0.1337 Oct 2026ai 7.0.130@ai-sdk/provider 4.0.24@ai-sdk/mcp 2.0.69and 1 more
- 4.0.1326 Oct 2026@ai-sdk/provider-utils 5.0.55ai 7.0.129@ai-sdk/provider 4.0.23and 1 more
- 4.0.1315 Oct 2026ai 7.0.128@ai-sdk/provider 4.0.22@ai-sdk/provider-utils 5.0.54and 1 more
4.0.127 – 4.0.1292 releases that only update dependenciesai 7.0.126@ai-sdk/provider 4.0.21@ai-sdk/provider-utils 5.0.53and 1 moreShow each
- 4.0.12930 Sep 2026ai 7.0.126
- 4.0.12730 Sep 2026ai 7.0.124@ai-sdk/provider 4.0.21@ai-sdk/provider-utils 5.0.53and 1 more
4.0.126
30 Sep 20264.0.122 – 4.0.1253 releases that only update dependenciesai 7.0.122@ai-sdk/provider-utils 5.0.50@ai-sdk/provider 4.0.19and 1 moreShow each
- 4.0.12528 Sep 2026ai 7.0.122
- 4.0.12328 Sep 2026ai 7.0.120
- 4.0.12228 Sep 2026ai 7.0.119@ai-sdk/provider-utils 5.0.50@ai-sdk/provider 4.0.19and 1 more
4.0.121
27 Sep 2026ai@7.0.118
4.0.120
27 Sep 2026ai@7.0.117
4.0.114 – 4.0.1195 releases that only update dependenciesai 7.0.116@ai-sdk/provider-utils 5.0.49@ai-sdk/mcp 2.0.60and 1 moreShow each
- 4.0.11925 Sep 2026ai 7.0.116@ai-sdk/provider-utils 5.0.49@ai-sdk/mcp 2.0.60
- 4.0.11724 Sep 2026ai 7.0.114@ai-sdk/mcp 2.0.58
- 4.0.11623 Sep 2026ai 7.0.113@ai-sdk/provider-utils 5.0.47@ai-sdk/mcp 2.0.57
- 4.0.11523 Sep 2026ai 7.0.112@ai-sdk/provider 4.0.18@ai-sdk/mcp 2.0.56and 1 more
- 4.0.11422 Sep 2026ai 7.0.111
4.0.113
22 Sep 2026ai@7.0.110
4.0.112
22 Sep 20267976437: fix(react): prevent stale throttled completion updates from overwriting a newer request
0343bb1: fix(ai): keep replacement completion requests loading and cancellable when an earlier request settles
Patch Changes
7976437: fix(react): prevent stale throttled completion updates from overwriting a newer request
0343bb1: fix(ai): keep replacement completion requests loading and cancellable when an earlier request settles
4.0.111
21 Sep 2026Only updates dependencies:@ai-sdk/mcp 2.0.55ai 7.0.108
4.0.110
18 Sep 202600da674: fix(react): preserve Headers instances in useCompletion requests
e43032f: fix(react): handle rejected asynchronous useObject onFinish callbacks
f42a247: fix(react): keep useObject cleared when an initial value is configured
Patch Changes
00da674: fix(react): preserve Headers instances in useCompletion requests
e43032f: fix(react): handle rejected asynchronous useObject onFinish callbacks
f42a247: fix(react): keep useObject cleared when an initial value is configured
21d4b7d: fix(react): preserve active useObject cancellation state during overlapping requests
4.0.108 – 4.0.1092 releases that only update dependenciesai 7.0.106@ai-sdk/mcp 2.0.53@ai-sdk/provider-utils 5.0.44Show each
- 4.0.10918 Sep 2026ai 7.0.106@ai-sdk/mcp 2.0.53@ai-sdk/provider-utils 5.0.44
- 4.0.10816 Sep 2026ai 7.0.105
4.0.106
16 Sep 2026Only updates dependencies:@ai-sdk/provider-utils 5.0.42ai 7.0.103@ai-sdk/mcp 2.0.51@ai-sdk/provider 4.0.16
4.0.105
15 Sep 20265c0054d: Add optional browser-direct WebRTC for experimental client-delegated Live conversations alongside the existing WebSocket path. Exchange SDP through an application endpoint with
api.session, configure server-owned data-channel permissions, and preserve committed React session ownership. Capture follows the selected sender track, borrowed tracks remain caller-owned, and disconnect recovery and finalization stay bounded. Applications continue to handle client delegation and submit context; Live session updates and Responses delegation remain unsupported.Serialize microphone sender changes and close the peer if detachment fails, without stopping borrowed tracks. Validate nonempty SDP setup answers with a bounded response body, and document the same-origin broker authentication contract.
a050aed: Preserve missing-tool-handler diagnostics in
experimental_useRealtimeby leaving an omittedonToolCallundefined. Publish handler presence only at commit without reconnecting or exposing handlers from abandoned renders. A defined handler returning undefined continues to support manual tool output.a050aed: Publish realtime session ownership and callbacks only when React commits. Keep control identities stable across renders, route retained controls to the current committed session, and revoke them on unmount. Preserve connected sessions when concurrent renders are abandoned, support StrictMode effect replay and React 18 server rendering, and expose continuous session metadata alongside turn-based messages.
Patch Changes
5c0054d: Add optional browser-direct WebRTC for experimental client-delegated Live conversations alongside the existing WebSocket path. Exchange SDP through an application endpoint with
api.session, configure server-owned data-channel permissions, and preserve committed React session ownership. Capture follows the selected sender track, borrowed tracks remain caller-owned, and disconnect recovery and finalization stay bounded. Applications continue to handle client delegation and submit context; Live session updates and Responses delegation remain unsupported.Serialize microphone sender changes and close the peer if detachment fails, without stopping borrowed tracks. Validate nonempty SDP setup answers with a bounded response body, and document the same-origin broker authentication contract.
a050aed: Preserve missing-tool-handler diagnostics in
experimental_useRealtimeby leaving an omittedonToolCallundefined. Publish handler presence only at commit without reconnecting or exposing handlers from abandoned renders. A defined handler returning undefined continues to support manual tool output.a050aed: Publish realtime session ownership and callbacks only when React commits. Keep control identities stable across renders, route retained controls to the current committed session, and revoke them on unmount. Preserve connected sessions when concurrent renders are abandoned, support StrictMode effect replay and React 18 server rendering, and expose continuous session metadata alongside turn-based messages.
a050aed: Add WebSocket relay support to
experimental_useRealtime, with shared session state, capture controls, bounded playback, graceful close, and application-handled client delegation for Live.4b306c2: Add the client-delegation-first realtime WebSocket runtime with session lifecycle, exact final duration, bounded event queues and command acknowledgement tracking, transcripts, context append, and reversible capture. Continuous sessions support PCM16 audio-chunk playback over an application relay with a recoverable live-edge buffer policy. Legacy turn-based WebSockets retain queued playback and frontend tool handling.
Remove the deferred managed Responses coordinator, autoContinueTools option, backend usage state, and Live tool-result aliases. Continuous text and delegation handling belong to the application; sendTextMessage and addToolOutput reject continuous sessions. Server-confirmed provider delegation and turn-based audio-delta on the continuous profile fail explicitly. maxPlaybackBufferSeconds is supported only for continuous PCM sessions.
Fence callbacks, startup publications, tool results, and teardown by connection attempt. Validate token setup before opening a client-secret socket, require explicit relay transport mode, and include WebSocket URL, protocol values, and runtime timeouts/buffer settings in React session configuration keys.
Retain immediate local capture for explicit legacy preconnect streams, including owned-track cleanup and capture continuity through asynchronous setup. Signal transport closing before draining accepted terminal events, share reentrant close settlement, and cancel stale readiness and deadlines. Enforce 128 KiB frame and combined buffered-send budgets only for Live continuous sessions, using actual encoded wire bytes; oversized manual operations remain recoverable while startup and automatic audio failures close the session. Legacy startup, text, tool output, and audio retain their pre-Live behavior without these byte caps. Live pending-audio overflow drains accepted terminal usage within the existing one-second drain window. Validate final provider-transformed WebSocket URL syntax without removing native authentication query parameters.
4.0.102 – 4.0.1043 releases that only update dependenciesai 7.0.101Show each
- 4.0.10415 Sep 2026ai 7.0.101
- 4.0.10314 Sep 2026ai 7.0.100
- 4.0.10212 Sep 2026ai 7.0.99
4.0.100
9 Sep 2026Only updates dependencies:ai 7.0.97@ai-sdk/provider 4.0.13@ai-sdk/mcp 2.0.48@ai-sdk/provider-utils 5.0.39