Releases: googleapis/python-genai
Releases · googleapis/python-genai
v1.68.0
1.68.0 (2026-03-17)
Breaking changes
- [Interactions] Breaking change to Interactions API to refactor TextContent annotations to use specific citation types (6c3379f)
- [Interactions] Breaking change for Interactions, rename ContentDelta unions. (1b03909)
- [Interactions] Breaking change to Interactions API to rename rendered_content to search_suggestions (0e21c4e)
Features
- [Interactions] Add and update 'signature' fields for tool call/result content types. (d896373)
- [Interactions] Support Google Maps in Interactions (68f247c)
- Support include_server_side_tool_invocations for genai. (546440c)
Bug Fixes
- deps: Correct typing-extensions constraint (1.67 Issue)[https://github.com/googleapis/python-genai/releases/tag/v1.67.0] (9a4fd39)
- Python 3.10-3.11 breakage caused by #2131 (9a4fd39)
- Treat
attempts=0asattempts=1in retry options to ensure no retries (2856c0a)
Documentation
- Regenerate docs for 1.67.0 (ff7469a)
v1.67.0
1.67.0 (2026-03-12)
Caution
Known Issue:
This release contains a bug where the typing-extensions lower bound is set too low, which causes the SDK to break in some environments.
Recommended Actions:
- Fall back to 1.66.0: If you do not immediately need the new features in 1.67.0, we recommend sticking with the previous stable version:
pip install google-genai==1.66.0 - Manual Fix: If you must use 1.67.0, you can resolve the issue by manually upgrading
typing-extensions:
pip install "typing-extensions>=4.14.0"
Features
- Add inference_generation_config to EvaluationConfig for Tuning (1fdb4b8)
- Add live history_config with initial_history_in_client_content (a80babd)
- Add support for referencing registered metrics by resource name in evaluation run API (41b348e)
- Enable language code for audio transcription config in Live API for Vertex AI (c04be0d)
Bug Fixes
v1.66.0
v1.65.0
1.65.0 (2026-02-26)
Features
- Add gemini-3.1-pro-preview to list of models in Interactions (fe86870)
- Add Image Grounding support to GoogleSearch tool (0035182)
- Enable server side MCP and disable all other AFC when server side MCP is configured. (4dd7b16)
- Support more image sizes and resolutions (8b2a4e0)
Bug Fixes
- Change interactions media mime type to enum (breaking change for experimental feature) (e0f3378)
- Handle non-list response_stream in HttpResponse.json property (006042d)
- Handle non-list response_stream in HttpResponse.json property (#1903) (61aec34)
- Make aiohttp an optional dependency, bump aiohttp version upperbound, and ensure HttpOptions.async_client_args propagates to custom aiohttp.ClientSession request args for proxy etc. (b28d144), closes #2090 #2051 #1950
Documentation
v1.64.0
v1.63.0
1.63.0 (2026-02-11)
Features
- Add INCOMPLETE status to Interaction. (1a84605)
- Support encryption_spec in tuning job creation configuration for GenAI SDK (057d6f0)
Bug Fixes
- Base_url and global location parsing (2c40555)
- Remove build warning due to extra comma: assertion on a tuple is always true (1cc2c2d)
- Remove debug print statement. (60c0a2f)
- Remove unused import of
websockets(3b82b5f)
Documentation
v1.62.0
v1.61.0
1.61.0 (2026-01-30)
Features
- Add
include_inputquery parameter to Get Interaction endpoint. (a0240d9) - Add registerFiles for you can use gcs files with mldev. (965395b)
- Support distillation tuning (9e49d71)
- Support OSS Tuning in GenAI SDK (51748a7)
Bug Fixes
- Add metadata in batch inlined response (08c47aa)