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

# @tanstack/ai-gemini breaking changes

@tanstack/ai-gemini 1.2.3 (November 17, 2026) is its newest release with breaking changes. The first: Gemini chat streams without a finishReason now report an error instead of success in @tanstack/ai-gemini 1.2.3. Every breaking API change we have recorded in @tanstack/ai-gemini on npm: 203 breaking changes in 26 versions. Below, its 26 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.3.1`, 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.38.1](#v-0-38-1) to [1.2.3](#v-1-2-3): 61 breaking changes in 6 versions.
- From [0.9.0](#v-0-9-0) to [1.2.3](#v-1-2-3): 199 breaking changes in 25 versions.

## @tanstack/ai-gemini 1.2.3 breaking changes

@tanstack/ai-gemini 1.2.3, released November 17, 2026: 1 breaking change.

- **Behavior changed**  

A Gemini chat stream that ends without a finishReason now emits RUN_ERROR with a truncated-stream reason, and onFinish no longer receives the partial text as a success. Code that relied on the partial text arriving as a successful finish... [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.2.3)

## @tanstack/ai-gemini 1.2.1 breaking changes

@tanstack/ai-gemini 1.2.1, released November 9, 2026: 4 breaking changes.

- **Behavior changed**  

Realtime usage totals now count thoughts tokens in completionTokens, so reported numbers will be higher. Update any usage tracking that assumed the old totals. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.2.1)
- **Behavior changed**  

Chat streams that Gemini stops for content filtering now finish with finishReason "content_filter" instead of the previous value. Update code that checks finishReason. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.2.1)
- **Behavior changed** `structuredOutput`  

Calls that Gemini stops for content filtering now fail with a content_filter error. Handle that error in calling code. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.2.1)
- **Behavior changed** `structuredOutputStream`  

Streams that Gemini stops for content filtering now fail with a content_filter error. Handle that error in calling code. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.2.1)

## @tanstack/ai-gemini 1.2.0 breaking changes

@tanstack/ai-gemini 1.2.0, released November 6, 2026: 4 breaking changes.

- **Behavior changed**  

The gemini-omni-1.1-flash model stays available until 2026-12-03. After that date Google routes requests for it to gemini-omni-1.2-flash, so users who depend on 1.1 behavior should move to 1.2. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.2.0)
- **Signature changed** `GeminiInteractionsVideoModels`  

Was const GEMINI_INTERACTIONS_VIDEO_MODELS: readonly \["gemini-omni-1.1-flash"\]; now const GEMINI_INTERACTIONS_VIDEO_MODELS: readonly \["gemini-omni-1.2-flash", "gemini-omni-1.1-flash"\]. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.2.0)
- **Signature changed** `GeminiVideoModelDurationByName`  

Was type GeminiVideoModelDurationByName = {'veo-3.1-generate-preview': 4 | 6 | 8; 'veo-3.1-fast-generate-preview': 4 | 6 | 8; 'veo-3.1-lite-generate-preview': 4 | 6 | 8; 'gemini-omni-1.1-flash': number;}; now type... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.2.0)
- **Signature changed** `GeminiVideoModels`  

Was const GEMINI_VIDEO_MODELS: readonly \["veo-3.1-generate-preview", "veo-3.1-fast-generate-preview", "veo-3.1-lite-generate-preview", "gemini-omni-1.1-flash"\]; now const GEMINI_VIDEO_MODELS: readonly \["veo-3.1-generate-preview"... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.2.0)

## @tanstack/ai-gemini 1.1.1 breaking changes

@tanstack/ai-gemini 1.1.1, released November 5, 2026: 3 breaking changes.

- **Behavior changed** `embed`  

embed() with the Gemini adapter sends inputs in sequential requests of at most 100 texts instead of one request. Vectors keep input order and Vertex billable characters are summed across requests. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.1.1)
- **Signature changed** `GeminiEmbeddingAdapter.client`  

Was protected client: GoogleGenAI; now protected client: GeminiClient. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.1)
- **Signature changed** `GeminiVideoAdapter.client`  

Was protected client: GoogleGenAI; now protected client: GeminiClient. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.1)

## @tanstack/ai-gemini 1.1.0 breaking changes

@tanstack/ai-gemini 1.1.0, released November 4, 2026: 6 breaking changes.

- **Behavior changed** `completionTokens`  

completionTokens now includes Gemini thinking tokens, so reported output token counts for thinking models go up. Code that totals or bills from completionTokens should expect higher values; completionTokensDetails.reasoningTokens is... [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%401.1.0)
- **Signature changed** `GeminiFilesAdapter.delete`  

Was delete(id: string): Promise\<void>; now delete(id: string, options?: {abortSignal?: AbortSignal;}): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.0)
- **Signature changed** `GeminiFilesAdapter.get`  

Was get(id: string): Promise\<FileHandle<'gemini'>>; now get(id: string, options?: {abortSignal?: AbortSignal;}): Promise\<FileHandle<'gemini'>>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.0)
- **Signature changed** `GeminiFilesAdapter.upload`  

Was upload(input: FileUploadInput): Promise\<FileHandle<'gemini'>>; now upload(input: FileUploadInput, options?: {abortSignal?: AbortSignal;}): Promise\<FileHandle<'gemini'>>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.0)
- **Signature changed** `GeminiVideoAdapter.getVideo`  

Was getVideo(jobId: string): Promise\<VideoUrlResult>; now getVideo(jobId: string, options?: {abortSignal?: AbortSignal;}): Promise\<VideoUrlResult>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.0)
- **Signature changed** `GeminiVideoAdapter.getVideoStatus`  

Was getVideoStatus(jobId: string): Promise\<VideoStatusResult>; now getVideoStatus(jobId: string, options?: {abortSignal?: AbortSignal;}): Promise\<VideoStatusResult>. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.1.0)

## @tanstack/ai-gemini 1.0.0 breaking changes

@tanstack/ai-gemini 1.0.0, released October 22, 2026: 43 breaking changes.

- **Removed** `CodeExecutionTool`  

Each provider tool type alias is gone; use the Config name for the tool type instead. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `ComputerUseTool`  

Each provider tool type alias is gone; use the Config name for the tool type instead. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `FileSearchTool`  

Each provider tool type alias is gone; use the Config name for the tool type instead. [tanstack.com](https://tanstack.com/ai/latest/docs/migration/v1)
- **Removed** `GEMINI_NATIVE_IMAGE_MODELS`  

This constant only served the retired image models and is gone. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)
- **Removed** `Gemini25FlashImageSize`  

The type is gone; no direct replacement is named in the guide. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)
- **Removed** `GeminiAnyImageProviderOptions`  

Every Gemini image model now uses GeminiNativeImageProviderOptions. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)
- **Removed** `GeminiAspectRatio`  

This type only served the retired image models and is gone. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)
- **Removed** `GeminiImageModelSizeByName.gemini-2.5-flash-image`  

GeminiImageModelSizeByName.gemini-2.5-flash-image was removed in @tanstack/ai-gemini 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)
- **Removed** `GeminiImageModelSizeByName.gemini-3-pro-image-preview`  

GeminiImageModelSizeByName.gemini-3-pro-image-preview was removed in @tanstack/ai-gemini 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)
- **Removed** `GeminiImageModelSizeByName.gemini-3.1-flash-image-preview`  

GeminiImageModelSizeByName.gemini-3.1-flash-image-preview was removed in @tanstack/ai-gemini 1.0.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/1.0.0)

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

## Older versions

20 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-gemini 0.38.1 breaking changes

@tanstack/ai-gemini 0.38.1, released October 19, 2026: 2 breaking changes.

- **Removed** `metadata.tanstack.input`  

The TOOL_CALL_END event no longer includes metadata.tanstack.input; read the tool input from metadata.tanstack.args, which carries the raw argument string, instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.38.1)
- **Behavior changed**  

Adapters no longer turn malformed tool arguments into {}. The tool receives a "Failed to parse tool arguments as JSON" error that the model can repair; Mistral still ends the run with an error. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.38.1)

### @tanstack/ai-gemini 0.38.0 breaking changes

@tanstack/ai-gemini 0.38.0, released October 13, 2026: 24 breaking changes.

- **Removed** `GeminiTextProviderOptions.thinkingConfig`  

Thinking is now set with the reasoning option of chat(). Move thinkingConfig settings to reasoning. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.38.0)
- **Removed** `GeminiThinkingOptions`  

The type is gone. Use the reasoning option of chat() instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.38.0)

And 22 more in this version.

### @tanstack/ai-gemini 0.37.0 breaking changes

@tanstack/ai-gemini 0.37.0, released October 8, 2026: 7 breaking changes.

- **Removed** `GEMINI_OMNI_FLASH_PREVIEW`  

The GEMINI_OMNI_FLASH_PREVIEW model metadata is removed, along with its entries in the video model lists and duration tables. Use gemini-omni-1.1-flash instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.37.0)
- **Removed** `GeminiVideoModelDurationByName.gemini-omni-flash-preview`  

The deprecated gemini-omni-flash-preview model id is removed. Use the GA id gemini-omni-1.1-flash instead. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.37.0)

And 5 more in this version.

### @tanstack/ai-gemini 0.36.0 breaking changes

@tanstack/ai-gemini 0.36.0, released October 7, 2026: 4 breaking changes.

- **Signature changed** `GEMINI_NATIVE_IMAGE_MODELS`  

Was const GEMINI_NATIVE_IMAGE_MODELS: readonly \["gemini-3.1-flash-image", "gemini-3.1-flash-image-preview", "gemini-3.1-flash-lite-image", "gemini-3-pro-image", "gemini-3-pro-image-preview", "gemini-2.5-flash-image"\]; now const... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.36.0)
- **Signature changed** `GeminiImageModels`  

Was const GEMINI_IMAGE_MODELS: readonly \["gemini-3.1-flash-image", "gemini-3.1-flash-lite-image", "gemini-3-pro-image", "gemini-2.5-flash-image", "imagen-4.0-generate-001", "imagen-4.0-fast-generate-001", "imagen-4.0-ultra-generate-001"... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.36.0)

And 2 more in this version.

### @tanstack/ai-gemini 0.32.0 breaking changes

@tanstack/ai-gemini 0.32.0, released September 22, 2026: 2 breaking changes.

- **Default changed** `GeminiRealtimeModel`  

The realtime adapter's default model is now gemini-3.8-live. Pass model: 'gemini-3.1-flash-live-preview' to keep the legacy preview model. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.32.0)
- **Signature changed** `GeminiRealtimeModel`  

Was type GeminiRealtimeModel = 'gemini-3.1-flash-live-preview'; now type GeminiRealtimeModel = 'gemini-3.8-live' | 'gemini-3.8-live-extended-thinking' | 'gemini-3.1-flash-live-preview'. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.32.0)

### @tanstack/ai-gemini 0.29.0 breaking changes

@tanstack/ai-gemini 0.29.0, released September 3, 2026: 1 breaking change.

- **Signature changed** `GeminiClientConfig`  

Was type GeminiClientConfig = GoogleGenAIOptions; now interface GeminiClientConfig extends GoogleGenAIOptions. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.29.0)

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

@tanstack/ai-gemini 0.28.0, released September 2, 2026: 13 breaking changes.

- **Signature changed** `experimental:createGeminiTextInteractions`  

Was function createGeminiTextInteractions\<TModel extends GeminiModels>(model: TModel, apiKey: string, config?: Omit\<GeminiTextInteractionsConfig, 'apiKey'>): GeminiTextInteractionsAdapter\<TModel, ResolveProviderOptions... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.28.0)
- **Signature changed** `experimental:geminiTextInteractions`  

Was function geminiTextInteractions\<TModel extends GeminiModels>(model: TModel, config?: Omit\<GeminiTextInteractionsConfig, 'apiKey'>): GeminiTextInteractionsAdapter\<TModel, ResolveProviderOptions, ResolveInputModalities\<TModel>... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.28.0)

And 11 more in this version.

### @tanstack/ai-gemini 0.25.0 breaking changes

@tanstack/ai-gemini 0.25.0, released August 21, 2026: 1 breaking change.

- **Removed** `experimental:GeminiTextInteractionsConfig.apiKey`  

GeminiTextInteractionsConfig.apiKey was removed in @tanstack/ai-gemini 0.25.0 [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.25.0)

### @tanstack/ai-gemini 0.24.0 breaking changes

@tanstack/ai-gemini 0.24.0, released August 18, 2026: 17 breaking changes.

- **Removed** `aspectRatio`  

Imagen-only options such as aspectRatio and negativePrompt no longer compile on native models; migrate aspectRatio to size or imageConfig and drop the rest. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.24.0)
- **Removed** `gemini-3-pro-image-preview`  

The -preview native image model ids were shut down and now return 404; switch to the GA ids. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.24.0)

And 15 more in this version.

### @tanstack/ai-gemini 0.23.0 breaking changes

@tanstack/ai-gemini 0.23.0, released August 14, 2026: 5 breaking changes.

- **Signature changed** `GEMINI_MODELS`  

Was const GEMINI_MODELS: readonly \["gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3-flash-preview", "gemini-3.1-flash-lite", "gemini-3.1-flash-lite-preview", "gemini-2.5-pro"... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.23.0)
- **Signature changed** `GeminiChatModelProviderOptionsByName`  

Was type GeminiChatModelProviderOptionsByName = {\[GEMINI_3_6_FLASH.name\]: GeminiToolConfigOptions & GeminiSafetyOptions & GeminiCommonConfigOptions & GeminiCachedContentOptions & GeminiStructuredOutputOptions & GeminiThinkingOptions... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.23.0)

And 3 more in this version.

### @tanstack/ai-gemini 0.21.0 breaking changes

@tanstack/ai-gemini 0.21.0, released August 4, 2026: 5 breaking changes.

- **Signature changed** `GEMINI_MODELS`  

Was const GEMINI_MODELS: readonly \["gemini-3.5-flash", "gemini-3.1-pro-preview", "gemini-3-flash-preview", "gemini-3.1-flash-lite", "gemini-3.1-flash-lite-preview", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite"\]; now const... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.21.0)
- **Signature changed** `GeminiChatModelProviderOptionsByName`  

Was type GeminiChatModelProviderOptionsByName = {\[GEMINI_3_1_PRO.name\]: GeminiToolConfigOptions & GeminiSafetyOptions & GeminiCommonConfigOptions & GeminiCachedContentOptions & GeminiStructuredOutputOptions & GeminiThinkingOptions... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.21.0)

And 3 more in this version.

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

@tanstack/ai-gemini 0.20.0, released July 16, 2026: 10 breaking changes.

- **Behavior changed** `createGeminiImage`  

URL sources in multimodal image prompts are sent as fileData.fileUri and fetched server-side by Gemini rather than fetched locally and base64-encoded. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.20.0)
- **Behavior changed** `createGeminiVideo`  

Gemini Veo no longer fetches and buffers HTTP(S) URL image inputs by default; it throws. Use a data: URI, a gs:// reference, or set allowUrlFetch: true. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.20.0)

And 8 more in this version.

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

@tanstack/ai-gemini 0.19.0, released July 1, 2026: 7 breaking changes.

- **Removed** `GeminiVideoModelDurationByName.veo-2.0-generate-001`  

The model id veo-2.0-generate-001 returns 404 from the Gemini Developer API and was removed from the adapter. Switch to a current model such as veo-3.1-generate-preview. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.19.0)
- **Removed** `GeminiVideoModelDurationByName.veo-3.0-fast-generate-001`  

The model id veo-3.0-fast-generate-001 returns 404 from the Gemini Developer API and was removed from the adapter. Switch to a current model such as veo-3.1-lite-generate-preview. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.19.0)

And 5 more in this version.

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

@tanstack/ai-gemini 0.17.0, released June 18, 2026: 2 breaking changes.

- **Signature changed** `GeminiImageAdapter`  

Was class GeminiImageAdapter\<TModel extends GeminiImageModel> extends BaseImageAdapter\<TModel, GeminiImageProviderOptions, GeminiImageModelProviderOptionsByName, GeminiImageModelSizeByName>; now class GeminiImageAdapter\<TModel extends... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.17.0)
- **Signature changed** `GeminiImageAdapter.~types`  

Was '\~types': {providerOptions: GeminiImageProviderOptions; modelProviderOptionsByName: GeminiImageModelProviderOptionsByName; modelSizeByName: GeminiImageModelSizeByName;}; now '\~types': {providerOptions: GeminiImageProviderOptions... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.17.0)

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

@tanstack/ai-gemini 0.16.0, released June 15, 2026: 30 breaking changes.

- **Removed** `gemini-2.0-flash`  

The 2.0 line was retired from Google's published list; switch to gemini-2.5-flash. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.16.0)
- **Removed** `gemini-2.0-flash-lite`  

The 2.0 line was retired from Google's published list; no successor is named in the notes. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.16.0)

And 28 more in this version.

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

@tanstack/ai-gemini 0.15.0, released June 3, 2026: 1 breaking change.

- **Removed** `chat`  

The root-level temperature, topP and maxTokens options of chat(), ai() and generate() are gone. Pass each provider's native keys under modelOptions instead, or run the codemod to migrate automatically. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.15.0)

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

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

- **Behavior changed**  

When a provider sends no usage object, usage is now undefined instead of zeroed totals. Code that treats a missing usage as zero tokens must handle undefined. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.14.0)
- **Signature changed** `AudioGenerationResult.usage`  

The usage field is now typed as TokenUsage. Code that reads inputTokens or outputTokens must read promptTokens or completionTokens instead. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.14.0)

And 1 more in this version.

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

@tanstack/ai-gemini 0.11.0, released May 25, 2026: 1 breaking change.

- **Behavior changed** `chat`  

For Gemini 3.x models, chat with outputSchema and tools now sends one combined request instead of a separate finalization call. Middleware that relied on the 'structuredOutput' phase will not see it for these adapters. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.11.0)

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

@tanstack/ai-gemini 0.10.0, released April 24, 2026: 3 breaking changes.

- **Signature changed** `GeminiTTSModels`  

Was const GEMINI_TTS_MODELS: readonly \["gemini-2.5-flash-preview-tts", "gemini-2.5-pro-preview-tts"\]; now const GEMINI_TTS_MODELS: readonly \["gemini-3.1-flash-tts-preview", "gemini-2.5-flash-preview-tts", "gemini-2.5-pro-preview-tts"\]. [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.10.0)
- **Signature changed** `GeneratedAudio`  

Objects that set both url and b64Json, or neither, no longer type-check. Set exactly one of the two fields. [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.10.0)

And 1 more in this version.

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

@tanstack/ai-gemini 0.9.0, released April 21, 2026: 4 breaking changes.

- **Removed** `supports.capabilities`  

Capability entries describing tools (code_execution, file_search, grounding_with_gmaps renamed to google_maps, search_grounding renamed to google_search, url_context) were moved to the new supports.tools field and removed from the... [github.com](https://github.com/TanStack/ai/releases/tag/%40tanstack/ai-gemini%400.9.0)
- **Signature changed** `createGeminiChat`  

Was function createGeminiChat\<TModel extends (typeof GEMINI_MODELS)\[number\]>(model: TModel, apiKey: string, config?: Omit\<GeminiTextConfig, 'apiKey'>): GeminiTextAdapter\<TModel, ResolveProviderOptions\<TModel>... [npmjs.com](https://www.npmjs.com/package/@tanstack/ai-gemini/v/0.9.0)

And 2 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-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.
