# What changed in google-genai

> 24 changes in google-genai 2 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 9 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/pypi/google-genai/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## google-genai 2

### Breaking changes

- Unsupported 2.5 and 1.6 models are removed from Interactions model options. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)

### Security

- Matches the mTLS endpoint to each transport's SSL context, including plain aiohttp. (2.31.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.31.0)

### New APIs and options

- Adds gemini-4-argon to the Model enum, making it available as a model choice. (2.31.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.31.0)
- Generate content and generate content stream can automatically resume continuation tokens; this behavior is disabled by default. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- New fields provide billable token counts. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- Interactions adds a CONTINUATION_REQUIRED status. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- The Interactions interaction.status_update event now includes a continuation token. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- Streaming continuation usage metadata is accumulated and exposes initial_prompt_token_count. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- InteractionStatusUpdate events now include usage. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- RealtimeInputConfig gains interimTranscriptTimestampEnabled. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- Transcription gains startOffset and endOffset fields. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)

### Behavior and default changes

- The chats module now automatically resumes continuation tokens. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- Default HTTP timeouts are raised so long-running requests are not killed client-side. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)

### Fixes and other changes

- Clears continuation state and preserves prompt feedback when a continuation hop returns no candidates. (2.31.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.31.0)
- Retries dropped hops, stops on prompt_feedback, and preserves real errors in generate_content. (2.31.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.31.0)
- Fixes parsing of function declarations that use union types. (2.31.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.31.0)
- Fixes grounding metadata merging during automatic continuation in generate content and generate content stream. (2.31.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.31.0)
- Concatenates output_text across multi-step model responses in a turn. (2.30.1) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.1)
- Incomplete continuation stream turns are no longer recorded in curated chat history. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- The env schema now maps keys to EnvVar or string. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- The httpx and websocket transports now use the mTLS endpoint. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- A stale checkpoint token is discarded when the finish reason is non-resumable. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- Intermediate CONTINUATION finish_reason values are cleared during streaming continuation. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
- Streaming generation resumes from the latest checkpoint continuation token after mid-stream errors or cutoffs. (2.30.0) — [release notes](https://github.com/googleapis/python-genai/releases/tag/v2.30.0)
