---
title: "@tanstack/ai-react 1.1.1 Breaking Changes on npm | Since.dev"
description: "What each @tanstack/ai-react release removed, renamed or changed: 169 breaking changes in 18 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@tanstack/ai-react
last_updated: 2026-12-04
---

# @tanstack/ai-react breaking changes

@tanstack/ai-react 1.1.1 (November 20, 2026) is its newest release with breaking changes, 2 of them. The first: Configuration changed fromChatTransport. Every breaking API change we have recorded in @tanstack/ai-react on npm: 169 breaking changes in 18 versions. Below, its 18 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.3.0`, released November 30, 2026. [Source repository](https://github.com/TanStack/ai)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.31.0](#v-0-31-0) to [1.1.1](#v-1-1-1): 48 breaking changes in 2 versions.
- From [0.9.0](#v-0-9-0) to [1.1.1](#v-1-1-1): 150 breaking changes in 17 versions.

## @tanstack/ai-react 1.1.1 breaking changes

@tanstack/ai-react 1.1.1, released November 20, 2026: 2 breaking changes.

- **Configuration changed** `fromChatTransport`  

The connection now reads threadId, tools and outputSchema from useChat. Code that passes them to fromChatTransport should remove them and set them on useChat instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%401.1.1)
- **Signature changed** `UseChatOptions`  

Was type UseChatOptions\<TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined, TContext = InferredClientContext\<TTools>, TInterrupts extends ReadonlyArray\<InterruptDefinition\<any, any, any... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/1.1.1)

## @tanstack/ai-react 1.0.0 breaking changes

@tanstack/ai-react 1.0.0, released October 22, 2026: 46 breaking changes.

- **Removed**  

Every @deprecated export, option, field and type alias is removed; each had a replacement shipped in 0.x. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%401.0.0)
- **Removed**  

Old wire formats and readers for 0.x saved data are gone; use a 1.0 client with a 1.0 server. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%401.0.0)
- **Removed**  

Provider models that are shut down are removed in 1.0. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%401.0.0)
- **Removed** `@tanstack.ai-react-ui`  

The @tanstack/ai-react-ui package has no 1.0 release. Remove it and use the /ui subpath of @tanstack/ai-react instead. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `Chat`  

Build the chat UI with createChatHook and supply your own components instead of Chat, ChatMessages, ChatMessage, and ChatInput. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `interrupt.error`  

Read the first entry of interrupt.errors instead of interrupt.error. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `TOOL_CALL_START.toolName`  

Read the tool name from toolCallName instead of toolName. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%401.0.0)
- **Removed** `ui:Chat`  

Use createChatHook instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/1.0.0)
- **Removed** `ui:ChatInput`  

Use createChatUI instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/1.0.0)
- **Removed** `ui:ChatInputProps`  

ChatInputProps was removed in @tanstack/ai-react 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/1.0.0)

And 36 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @tanstack/ai-react 0.31.0 breaking changes

@tanstack/ai-react 0.31.0, released October 19, 2026: 8 breaking changes.

- **Behavior changed** `RealtimeClient.connect`  

Connecting clears messages and pending user and assistant transcripts from the previous session. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.31.0)
- **Behavior changed** `RealtimeClient.interrupt`  

Calling interrupt() also clears pendingAssistantTranscript. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.31.0)
- **Behavior changed** `useChat`  

Changing messages or queue in place throws a TypeError. Use setMessages to change messages. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.31.0)
- **Signature changed** `ui:ChatUIHost.messages`  

Was messages: Array\<UIMessage\<TTools, TData, TSubagents>>; now messages: ReadonlyArray\<UIMessage\<TTools, TData, TSubagents>>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.31.0)
- **Signature changed** `ui:ChatUIHost.queue`  

Was queue: Array\<QueuedMessage>; now queue: ReadonlyArray\<QueuedMessage>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.31.0)
- **Signature changed** `ui:ChatUIHost.setMessages`  

Was setMessages: (messages: Array\<UIMessage\<TTools, TData>>) => void; now setMessages: (messages: ReadonlyArray\<UIMessage\<TTools, TData>>) => void. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.31.0)
- **Signature changed** `useChat`  

Code that passes messages to its own functions should type that parameter as ReadonlyArray\<UIMessage>. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.31.0)
- **Signature changed** `UseRealtimeChatReturn.messages`  

Was messages: Array\<RealtimeMessage>; now messages: ReadonlyArray\<RealtimeMessage>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.31.0)

## @tanstack/ai-react 0.30.1 breaking changes

@tanstack/ai-react 0.30.1, released October 8, 2026: 2 breaking changes.

- **Behavior changed** `chat`  

chat({ stream: false }) and streamToText() now return a ChatResult with text and chunks, not a string. Destructure text from the result to migrate. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.30.1)
- **Behavior changed** `streamToText`  

streamToText() now returns a ChatResult with text and chunks, not a string. Destructure text from the result to migrate. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.30.1)

## @tanstack/ai-react 0.30.0 breaking changes

@tanstack/ai-react 0.30.0, released October 7, 2026: 2 breaking changes.

- **Signature changed** `StructuredOutputPart.data`  

The data field of StructuredOutputPart is no longer optional when status is 'complete'. Code that validates messages with a schema typed as UIMessage must split the structured-output part by status and make data required for 'complete'. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.30.0)
- **Signature changed** `UseChatOptions`  

Was type UseChatOptions\<TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined, TContext = InferredClientContext\<TTools>, TInterrupts extends ReadonlyArray\<InterruptDefinition\<any, any, any... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.30.0)

## @tanstack/ai-react 0.29.1 breaking changes

@tanstack/ai-react 0.29.1, released September 24, 2026: 2 breaking changes.

- **Signature changed** `useWebMCPTools`  

Was function useWebMCPTools\<const TTools extends ReadonlyArray\<AnyClientTool>, TContext = InferredClientContext\<TTools>>(tools: TTools, ...\[options\]: UseWebMCPToolsArguments\<TTools, TContext>): void; now const useWebMCPTools: typeof... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.29.1)
- **Signature changed** `UseWebMCPToolsOptions`  

Was type UseWebMCPToolsOptions\<TTools extends ReadonlyArray\<AnyClientTool>, TContext = InferredClientContext\<TTools>> = Omit\<RegisterWebMCPToolsOptions\<TTools, TContext>, 'signal'> & {onError?: (error: unknown) => void;}; now type... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.29.1)

## Older versions

12 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @tanstack/ai-react 0.28.0 breaking changes

@tanstack/ai-react 0.28.0, released September 24, 2026: 9 breaking changes.

- **Behavior changed** `fromSpecTokenUsage`  

It now adds every entry of RUN_FINISHED.usage\[\] instead of reading only the first, so reported totals are higher for runs with more than one usage entry. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.28.0)
- **Signature changed** `createChatHook`  

Was function createChatHook\<const TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined, TContext = InferredClientContext\<TTools>, const TInterrupts extends... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.28.0)

And 7 more in this version.

### @tanstack/ai-react 0.26.0 breaking changes

@tanstack/ai-react 0.26.0, released September 17, 2026: 7 breaking changes.

- **Removed** `ui:TextPartProps.disableDefaultPlugins`  

TextPartProps.disableDefaultPlugins was removed in @tanstack/ai-react 0.26.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.26.0)
- **Removed** `ui:TextPartProps.rehypePlugins`  

TextPartProps.rehypePlugins was removed in @tanstack/ai-react 0.26.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.26.0)

And 5 more in this version.

### @tanstack/ai-react 0.21.1 breaking changes

@tanstack/ai-react 0.21.1, released August 20, 2026: 3 breaking changes.

- **Signature changed** `useChat`  

Was function useChat\<const TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined, TContext = InferredClientContext\<TTools>>(options: UseChatOptions\<TTools, TSchema, TContext>)... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.21.1)
- **Signature changed** `UseChatOptions`  

Was type UseChatOptions\<TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined, TContext = InferredClientContext\<TTools>> = DistributedOmit\<ChatClientOptions\<TTools, TContext>... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.21.1)

And 1 more in this version.

### @tanstack/ai-react 0.20.0 breaking changes

@tanstack/ai-react 0.20.0, released August 19, 2026: 17 breaking changes.

- **Removed** `id`  

Chat and generation clients no longer take a separate id option. Pass threadId instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.20.0)
- **Removed** `UseGenerateAudioOptions.id`  

Use threadId instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.20.0)

And 15 more in this version.

### @tanstack/ai-react 0.19.0 breaking changes

@tanstack/ai-react 0.19.0, released August 4, 2026: 32 breaking changes.

- **Removed**  

Apps that relied on zod arriving through @tanstack/ai must now declare zod themselves with npm install zod. [github.com](https://github.com/TanStack/ai/blob/@tanstack/ai-react@0.19.0/packages/ai-react/CHANGELOG.md)
- **Removed** `artifactBlobKey`  

artifactBlobKey is no longer exported. Use resolveArtifactBlobKey for reads. [github.com](https://github.com/TanStack/ai/commit/826cfed738ec19e8f416bc5373ad50de0c1824cc)

And 30 more in this version.

### @tanstack/ai-react 0.18.0 breaking changes

@tanstack/ai-react 0.18.0, released July 17, 2026: 2 breaking changes.

- **Behavior changed** `sendMessage`  

Messages sent while a stream is in flight are now queued by default and sent once the stream settles. To restore the previous drop-while-busy behavior, pass queue: 'drop'. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.18.0)
- **Signature changed** `UseChatOptions`  

Was type UseChatOptions\<TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined, TContext = InferredClientContext\<TTools>> = DistributedOmit\<ChatClientOptions\<TTools, TContext>... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.18.0)

### @tanstack/ai-react 0.17.0 breaking changes

@tanstack/ai-react 0.17.0, released July 16, 2026: 3 breaking changes.

- **Removed** `UseRealtimeChatReturn.setVADMode`  

UseRealtimeChatReturn.setVADMode was removed in @tanstack/ai-react 0.17.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.17.0)
- **Removed** `UseRealtimeChatReturn.vadMode`  

UseRealtimeChatReturn.vadMode was removed in @tanstack/ai-react 0.17.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.17.0)

And 1 more in this version.

### @tanstack/ai-react 0.16.0 breaking changes

@tanstack/ai-react 0.16.0, released June 26, 2026: 7 breaking changes.

- **Signature changed** `useGenerateAudio`  

Was function useGenerateAudio\<TOnResult extends ((result: AudioGenerationResult) => any) | undefined = undefined>(options: Omit\<UseGenerateAudioOptions, 'onResult'> & {onResult?: TOnResult;})... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.16.0)
- **Signature changed** `useGenerateImage`  

Was function useGenerateImage\<TOnResult extends ((result: ImageGenerationResult) => any) | undefined = undefined>(options: Omit\<UseGenerateImageOptions, 'onResult'> & {onResult?: TOnResult;})... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.16.0)

And 5 more in this version.

### @tanstack/ai-react 0.14.0 breaking changes

@tanstack/ai-react 0.14.0, released June 1, 2026: 3 breaking changes.

- **Behavior changed**  

Tools that return undefined or null are now checked against outputSchema, so a schema that forbids those values now yields an output-error. Make the schema allow null or undefined where those returns are intended. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.14.0)
- **Signature changed** `useChat`  

Was function useChat\<TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined>(options: UseChatOptions\<TTools, TSchema>): UseChatReturn\<TTools, TSchema>; now function useChat\<TTools extends... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.14.0)

And 1 more in this version.

### @tanstack/ai-react 0.12.0 breaking changes

@tanstack/ai-react 0.12.0, released May 26, 2026: 3 breaking changes.

- **Removed** `UseChatOptions.live`  

UseChatOptions.live was removed in @tanstack/ai-react 0.12.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.12.0)
- **Removed** `UseChatOptions.outputSchema`  

UseChatOptions.outputSchema was removed in @tanstack/ai-react 0.12.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.12.0)

And 1 more in this version.

### @tanstack/ai-react 0.11.0 breaking changes

@tanstack/ai-react 0.11.0, released May 19, 2026: 2 breaking changes.

- **Behavior changed** `useChat`  

When outputSchema is set, streamed JSON no longer appears as a TextPart on assistant messages; it accumulates in a structured-output part instead. Code that filtered out TextParts can stay as is or drop the filter. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.11.0)
- **Signature changed** `UseChatReturn`  

Was type UseChatReturn\<TTools extends ReadonlyArray\<AnyClientTool> = any, TSchema extends SchemaInput | undefined = undefined> = BaseUseChatReturn\<TTools> & (TSchema extends SchemaInput ? {partial: DeepPartial\<InferSchemaType\<TSchema>>... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.11.0)

### @tanstack/ai-react 0.9.0 breaking changes

@tanstack/ai-react 0.9.0, released May 14, 2026: 19 breaking changes.

- **Removed** `OpenAISummarizeProviderOptions`  

Infer the type from the adapter with InferTextProviderOptions or drop the explicit annotation instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-react%400.9.0)
- **Removed** `UseChatReturn.addToolApprovalResponse`  

UseChatReturn.addToolApprovalResponse was removed in @tanstack/ai-react 0.9.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-react/v/0.9.0)

And 17 more in this version.

## Related packages

- [@tanstack/ai](https://since.dev/packages/npm/@tanstack/ai.md)
- [@tanstack/ai-client](https://since.dev/packages/npm/@tanstack/ai-client.md)
- [@tanstack/ai-gemini](https://since.dev/packages/npm/@tanstack/ai-gemini.md)
- [@tanstack/ai-anthropic](https://since.dev/packages/npm/@tanstack/ai-anthropic.md)
- [@tanstack/ai-ollama](https://since.dev/packages/npm/@tanstack/ai-ollama.md)
- [@tanstack/ai-openai](https://since.dev/packages/npm/@tanstack/ai-openai.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
