Releases: googleapis/python-genai
Releases · googleapis/python-genai
v2.8.0
2.8.0 (2026-06-03)
Features
- Add Agent Platform MCP support to async generate_content (e3be9af)
- Add transcription language code. (53ea3f6)
- Add TranslationConfig for live translation. (4775314)
- Support ReinforcementTuning in GenAI SDK including ValidateReward API method. (e0854a6)
Bug Fixes
- Include all fields of a single tool (7b1d498)
Documentation
- A comment for field
enable_widgetin messageGoogleMapsis changed (74d81dd) - A comment for field
google_maps_widget_context_tokenin messageGroundingMetadatais changed (74d81dd) - Remove
codegen_instructions.mdfor simpler maintenance, Gemini API Skills should be the single source of truth (bfa2a49) - Update README.md for model/SDK Changes and direct to Gemini API Skills (47c1a13)
- Update the docs for 2.7 (bbef98e)
v2.7.0
2.7.0 (2026-05-27)
Features
v2.6.0
v2.5.0
v2.4.0
v2.3.0
2.3.0 (2026-05-15)
Features
- Add content union to UserInputStep (a5059a8)
- Interaction.{output_text,output_image,output_audio,output_video} (975d16a)
- Migrate Agent Engines, Evaluation, Prompt Management, and Skill features to agentplatform (abb1099)
Documentation
- Refresh generated docs for 2.2 (2ce0298)
v2.2.0
v2.1.0
2.1.0 (2026-05-12)
Features
- Add gemini-3.1-flash-lite to model options (2d5e0fa)
- Add parameters to video response_format. (4e9d68d)
- Introduce Server Side tools deltas (97d6fe5)
- Support Blocking FunctionCall in Live API in AgentPlatform (Vertex) (955bca6)
- Add support for Vertex-lyria models lyria-3-pro-preview & lyria-3-clip-preview (1bc0536)
Bug Fixes
- Steps is not optional (9ea9633)
v2.0.1
v2.0.0
2.0.0 (2026-05-07)
⚠ BREAKING CHANGES - Interactions Only
Note: The breaking changes are only in interactions. GenerateContent usage in unaffected.
Refer to https://ai.google.dev/gemini-api/docs/interactions-breaking-changes-may-2026 for details
- Add steps for interactions (41d8e5b)
- Rename SSE events to interaction.created and interaction.completed (0549c1c)
- Deprecate legacy response_format and publish new polymorphic field. (7fdc9a1)
Documentation
- Update docs (d3020fd)