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

# @tanstack/ai-anthropic breaking changes

@tanstack/ai-anthropic 1.1.1 (November 5, 2026) is its newest release with breaking changes. The first: Streams that end without a stop reason now report incomplete-stream in @tanstack/ai-anthropic 1.1.1. Every breaking API change we have recorded in @tanstack/ai-anthropic on npm: 167 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.4`, released December 1, 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.23.0](#v-0-23-0) to [1.1.1](#v-1-1-1): 45 breaking changes in 2 versions.
- From [0.8.0](#v-0-8-0) to [1.1.1](#v-1-1-1): 164 breaking changes in 15 versions.

## @tanstack/ai-anthropic 1.1.1 breaking changes

@tanstack/ai-anthropic 1.1.1, released November 5, 2026: 1 breaking change.

- **Behavior changed**  

An Anthropic stream that ends before a stop reason now reports incomplete-stream instead of finishing with the partial text as a success. Code that relied on onFinish receiving partial output as success should handle this error. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%401.1.1)

## @tanstack/ai-anthropic 1.0.0 breaking changes

@tanstack/ai-anthropic 1.0.0, released October 22, 2026: 44 breaking changes.

- **Removed** `AnthropicChatModelProviderOptionsByName.claude-opus-4-1`  

AnthropicChatModelProviderOptionsByName.claude-opus-4-1 was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicChatModelProviderOptionsByName.claude-opus-5-fast`  

AnthropicChatModelProviderOptionsByName.claude-opus-5-fast was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicChatModelToolCapabilitiesByName.claude-opus-4-1`  

AnthropicChatModelToolCapabilitiesByName.claude-opus-4-1 was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicChatModelToolCapabilitiesByName.claude-opus-5-fast`  

AnthropicChatModelToolCapabilitiesByName.claude-opus-5-fast was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicDocumentMediaType`  

This type is gone in 1.0. Read the media type from source.mimeType instead. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `AnthropicDocumentMetadata.mediaType`  

AnthropicDocumentMetadata.mediaType was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicImageMediaType`  

This type is gone in 1.0. Read the media type from source.mimeType instead. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `AnthropicImageMetadata.mediaType`  

AnthropicImageMetadata.mediaType was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicModelInputModalitiesByName.claude-opus-4-1`  

AnthropicModelInputModalitiesByName.claude-opus-4-1 was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)
- **Removed** `AnthropicModelInputModalitiesByName.claude-opus-5-fast`  

AnthropicModelInputModalitiesByName.claude-opus-5-fast was removed in @tanstack/ai-anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/1.0.0)

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

## @tanstack/ai-anthropic 0.23.0 breaking changes

@tanstack/ai-anthropic 0.23.0, released October 21, 2026: 4 breaking changes.

- **Signature changed** `AnthropicTextAdapter.chatStream`  

Was chatStream(options: TextOptions\<TProviderOptions>): AsyncIterable\<AdapterYieldChunk>; now chatStream(chatOptions: TextOptions\<TProviderOptions>): AsyncIterable\<AdapterYieldChunk>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.23.0)
- **Signature changed** `computerUseTool`  

Each Claude model now accepts only the computer use tool versions it supports, so pairs Anthropic rejects, such as computer_20250124 on claude-opus-4-6, no longer type-check. Use a version the model supports. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.23.0)
- **Signature changed** `tools:computerUseTool`  

Was function computerUseTool(config: ComputerUseToolConfig): AnthropicComputerUseTool; now function computerUseTool(config: BetaToolComputerUse20241022 | BetaToolComputerUse20250124): AnthropicComputerUseTool function... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.23.0)
- **Signature changed** `tools:ComputerUseToolConfig`  

Was type ComputerUseToolConfig = BetaToolComputerUse20241022 | BetaToolComputerUse20250124; now type ComputerUseToolConfig = ComputerUseSingleToolConfig | ComputerToolsetConfig. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.23.0)

## @tanstack/ai-anthropic 0.22.0 breaking changes

@tanstack/ai-anthropic 0.22.0, released October 13, 2026: 35 breaking changes.

- **Removed** `AnthropicAdaptiveOnlyThinkingOptions`  

Code that imports this type must stop using it and set reasoning through chat() instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)
- **Removed** `AnthropicAdaptiveOrDisabledThinkingOptions`  

Code that imports this type must stop using it and set reasoning through chat() instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)
- **Removed** `AnthropicAdaptiveThinkingOptions`  

Code that imports this type must stop using it and set reasoning through chat() instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)
- **Removed** `AnthropicEffortOptions`  

Code that imports this type must stop using it and set reasoning through chat() instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)
- **Removed** `AnthropicOutputConfigOptions`  

Code that imports this type must stop using it and set reasoning through chat() instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)
- **Removed** `AnthropicTextProviderOptions.effort`  

Effort is no longer set through modelOptions.effort. Pass reasoning to chat() instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.22.0)
- **Removed** `AnthropicTextProviderOptions.output_config`  

AnthropicTextProviderOptions.output_config was removed in @tanstack/ai-anthropic 0.22.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.22.0)
- **Removed** `AnthropicTextProviderOptions.thinking`  

Claude thinking is no longer set through modelOptions.thinking. Pass reasoning to chat() instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.22.0)
- **Removed** `AnthropicThinkingOptions`  

Code that imports this type must stop using it and set reasoning through chat() instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)
- **Behavior changed**  

When stop_reason is model_context_window_exceeded, the adapter sends RUN_ERROR with code context_overflow instead of RUN_FINISHED. Code that treated this as a complete answer must handle the error. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.22.0)

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

## @tanstack/ai-anthropic 0.21.0 breaking changes

@tanstack/ai-anthropic 0.21.0, released October 9, 2026: 2 breaking changes.

- **Behavior changed** `anthropicText`  

anthropicText, anthropicSummarize and anthropicFiles now read ANTHROPIC_AUTH_TOKEN and ANTHROPIC_OAUTH_TOKEN before ANTHROPIC_API_KEY, so setting either token changes which credential and auth mode is used. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.21.0)
- **Behavior changed** `usage.promptTokens`  

On the Anthropic, Bedrock Converse and Claude Code adapters promptTokens now includes cache reads and writes. Code that adds cachedTokens or cacheWriteTokens to promptTokens double-counts the cache and must use promptTokens as the total. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.21.0)

## @tanstack/ai-anthropic 0.20.0 breaking changes

@tanstack/ai-anthropic 0.20.0, released October 8, 2026: 5 breaking changes.

- **Behavior changed**  

When a response stops at the output token limit, structured output now raises a truncation error instead of a JSON parse error or a partial result returned as valid data. Code that relied on partial results must handle this error. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.20.0)
- **Signature changed** `ANTHROPIC_MODELS`  

Was const ANTHROPIC_MODELS: readonly \["claude-sonnet-5-5", "claude-opus-5-5", "claude-fable-5-1", "claude-opus-5", "claude-opus-5-fast", "claude-opus-4-6", "claude-opus-4-5", "claude-sonnet-4-6", "claude-sonnet-4-5", "claude-haiku-4-5"... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.20.0)
- **Signature changed** `AnthropicChatModelProviderOptionsByName`  

Was type AnthropicChatModelProviderOptionsByName = {\[CLAUDE_OPUS_4_6.id\]: AnthropicCacheControlOptions & AnthropicContainerOptions & AnthropicContextManagementOptions & AnthropicMCPOptions & AnthropicServiceTierOptions &... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.20.0)
- **Signature changed** `AnthropicChatModelToolCapabilitiesByName`  

Was type AnthropicChatModelToolCapabilitiesByName = {\[CLAUDE_OPUS_4_6.id\]: typeof CLAUDE_OPUS_4_6.supports.tools; \[CLAUDE_OPUS_4_5.id\]: typeof CLAUDE_OPUS_4_5.supports.tools; \[CLAUDE_SONNET_4_6.id\]: typeof CLAUDE_SONNET_4_6.supports.tools... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.20.0)
- **Signature changed** `AnthropicModelInputModalitiesByName`  

Was type AnthropicModelInputModalitiesByName = {\[CLAUDE_OPUS_4_6.id\]: typeof CLAUDE_OPUS_4_6.supports.input; \[CLAUDE_OPUS_4_5.id\]: typeof CLAUDE_OPUS_4_5.supports.input; \[CLAUDE_SONNET_4_6.id\]: typeof CLAUDE_SONNET_4_6.supports.input... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.20.0)

## Older versions

10 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-anthropic 0.19.1 breaking changes

@tanstack/ai-anthropic 0.19.1, released September 24, 2026: 4 breaking changes.

- **Signature changed** `ANTHROPIC_MODELS`  

Was const ANTHROPIC_MODELS: readonly \["claude-fable-5-1", "claude-opus-5", "claude-opus-5-fast", "claude-opus-4-6", "claude-opus-4-5", "claude-sonnet-4-6", "claude-sonnet-4-5", "claude-haiku-4-5", "claude-opus-4-1", "claude-opus-4-7"... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.19.1)
- **Signature changed** `AnthropicChatModelProviderOptionsByName`  

Was type AnthropicChatModelProviderOptionsByName = {\[CLAUDE_OPUS_4_6.id\]: AnthropicCacheControlOptions & AnthropicContainerOptions & AnthropicContextManagementOptions & AnthropicMCPOptions & AnthropicServiceTierOptions &... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.19.1)

And 2 more in this version.

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

@tanstack/ai-anthropic 0.17.0, released August 21, 2026: 2 breaking changes.

- **Behavior changed** `anthropicVertexText`  

anthropicVertexText now accepts only models from the same Vertex Claude catalog; users relying on other model names must switch to a catalog model. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.17.0)
- **Signature changed** `AnthropicTextAdapter.constructor`  

Was constructor(config: AnthropicTextConfig, model: TModel); now constructor(config: AnthropicTextAdapterConfig, model: TModel). [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.17.0)

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

@tanstack/ai-anthropic 0.16.0, released July 3, 2026: 40 breaking changes.

- **Removed** `AnthropicChatModelProviderOptionsByName.claude-3-5-haiku`  

AnthropicChatModelProviderOptionsByName.claude-3-5-haiku was removed in @tanstack/ai-anthropic 0.16.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.16.0)
- **Removed** `AnthropicChatModelProviderOptionsByName.claude-3-7-sonnet`  

AnthropicChatModelProviderOptionsByName.claude-3-7-sonnet was removed in @tanstack/ai-anthropic 0.16.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.16.0)

And 38 more in this version.

### @tanstack/ai-anthropic 0.15.0 breaking changes

@tanstack/ai-anthropic 0.15.0, released June 4, 2026: 3 breaking changes.

- **Signature changed** `AnthropicTextProviderOptions.container`  

Was container?: {id: string | null; skills: Array<{skill_id: string; type: 'anthropic' | 'custom'; version?: string;}> | null;} | null; now container?: {id: string | null; skills: Array\<AnthropicContainerSkill> | null;} | null. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.15.0)
- **Signature changed** `AnthropicTextProviderOptions.container.skills`  

Was skills: Array<{skill_id: string; type: 'anthropic' | 'custom'; version?: string;}> | null; now skills: Array\<AnthropicContainerSkill> | null. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.15.0)

And 1 more in this version.

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

@tanstack/ai-anthropic 0.14.0, released June 3, 2026: 4 breaking changes.

- **Removed** `ai`  

The temperature, topP and maxTokens options are no longer accepted at the root of ai(). Move them into modelOptions using each provider's native keys, or run the provided codemod. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.14.0)
- **Removed** `chat`  

The temperature, topP and maxTokens options are no longer accepted at the root of chat(). Move them into modelOptions using each provider's native keys, or run the provided codemod. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.14.0)

And 2 more in this version.

### @tanstack/ai-anthropic 0.13.0 breaking changes

@tanstack/ai-anthropic 0.13.0, released June 1, 2026: 3 breaking changes.

- **Behavior changed**  

When a provider returns no usage object, the usage extractor now returns undefined instead of zeroed totals. Code that assumed zero totals must handle undefined. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.13.0)
- **Behavior changed** `AudioGenerationResult.usage`  

AudioGenerationResult.usage is now typed as TokenUsage. Read promptTokens and completionTokens instead of inputTokens and outputTokens. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.13.0)

And 1 more in this version.

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

@tanstack/ai-anthropic 0.11.0, released May 25, 2026: 11 breaking changes.

- **Removed** `AnthropicChatModelProviderOptionsByName.claude-opus-4.6-fast`  

AnthropicChatModelProviderOptionsByName.claude-opus-4.6-fast was removed in @tanstack/ai-anthropic 0.11.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.11.0)
- **Removed** `AnthropicChatModelProviderOptionsByName.claude-opus-4.7`  

AnthropicChatModelProviderOptionsByName.claude-opus-4.7 was removed in @tanstack/ai-anthropic 0.11.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.11.0)

And 9 more in this version.

### @tanstack/ai-anthropic 0.10.0 breaking changes

@tanstack/ai-anthropic 0.10.0, released May 19, 2026: 1 breaking change.

- **Signature changed** `AnthropicTextAdapter`  

Was class AnthropicTextAdapter\<TModel extends (typeof ANTHROPIC_MODELS)\[number\], TProviderOptions extends Record\<string, any> = ResolveProviderOptions\<TModel>, TInputModalities extends ReadonlyArray\<Modality> =... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.10.0)

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

@tanstack/ai-anthropic 0.9.0, released May 19, 2026: 5 breaking changes.

- **Removed** `modelOptions.system`  

System prompts must now go through the top-level systemPrompts option on chat() or structuredOutput(). Callers needing cache_control on system text must use a prior version or a custom adapter override. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.9.0)
- **Behavior changed** `modelOptions`  

The adapter now logs an errors-category line via the Logger when unknown modelOptions keys are passed, instead of silently dropping them. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-anthropic%400.9.0)

And 3 more in this version.

### @tanstack/ai-anthropic 0.8.0 breaking changes

@tanstack/ai-anthropic 0.8.0, released April 21, 2026: 3 breaking changes.

- **Signature changed** `AnthropicTextAdapter`  

Was class AnthropicTextAdapter\<TModel extends (typeof ANTHROPIC_MODELS)\[number\], TProviderOptions extends object = ResolveProviderOptions\<TModel>, TInputModalities extends ReadonlyArray\<Modality> = ResolveInputModalities\<TModel>> extends... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.8.0)
- **Signature changed** `AnthropicTextAdapter.chatStream`  

Was chatStream(options: TextOptions\<AnthropicTextProviderOptions>): AsyncIterable\<StreamChunk>; now chatStream(options: TextOptions\<TProviderOptions>): AsyncIterable\<StreamChunk>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-anthropic/v/0.8.0)

And 1 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-react](https://since.dev/packages/npm/@tanstack/ai-react.md)
- [@tanstack/ai-gemini](https://since.dev/packages/npm/@tanstack/ai-gemini.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.
