releases.shpreview
Home/Google/Gemini

Gemini

Google's multimodal AI model family and developer API for building generative AI applications.

Prompt injection detection for Computer Use feature

2.6.0 (2026-05-21)

Features
  • Add enable_prompt_injection_detection for Computer Use feature for the Gemini API. (b1f632d)
  • Add budget_exceeded status (15443c0)
  • Add gemini-3.5-flash (15443c0)
  • Add new fields (2910346)
Documentation
  • Replace vertexai with enterprise in Client instantiation (c1c6df7)
Prompt injection detection for Computer Use; gemini-3.5-flash available

2.6.0 (2026-05-21)

Features
  • add enable_prompt_injection_detection for Computer Use feature for the Gemini API. (f780f3c)
  • Add budget_exceeded status (1e97bd0)
  • Add gemini-3.5-flash (1e97bd0)
  • add new fields (b78eeee)
Chat corruption fixed; parallel tool calls no longer collide

What's Changed

New Contributors

Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.42.0...v0.43.0

Released gemini-3.5-flash, the generally available (GA) version of Gemini 3.5 Flash, our most intelligent model for sustained frontier performance on agentic and coding tasks.

Launched Managed Agents in the Gemini API in public preview. This enables developers to build and deploy autonomous, stateful agents that run in secure, isolated Google-hosted Linux sandbox environments.

Released the general-purpose Antigravity Agent managed agent, antigravity-preview-05-2026, in public preview. The Antigravity agent can autonomously plan, reason, write and execute code, manage files, and browse the web inside its sandbox container.

Agent and Environment APIs now supported

2.4.0 (2026-05-17)

Features
  • support Agent and Environment APIs. (b0d9d2b)
Bug Fixes
  • output_text for turns that don't end with text. (1a3d94f)
Agent and Environment APIs now supported

2.4.0 (2026-05-17)

Features
  • Support Agent and Environment APIs. (ef20d6b)
Bug Fixes
  • Output_text for turns that don't end with text. (2afdeff)
  • Pass max_line_length to readline() to prevent LineTooLong on large SSE lines with MTLS. (0e8f7bb)
Interaction outputs for text, image, audio, video

2.3.0 (2026-05-15)

Features
  • interaction.{output_text,output_image,output_audio,output_video} (0188233)
Agent Engines, Evaluation, Prompt Management, and Skills migrated to agentplatform

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)
Auto-updates no longer switch to less stable channels

What's Changed

New Contributors

Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.41.2...v0.42.0

FunctionCallResultDelta type and ArgumentDelta arguments field added

2.2.0 (2026-05-12)

Features
  • Added missing FunctionCallResultDelta type and arguments field to the ArgumentDelta type (f76138b)
FunctionCallResultDelta type and ArgumentDelta.arguments added

2.2.0 (2026-05-12)

Features
  • Added missing FunctionCallResultDelta type and arguments field to the ArgumentDelta type (b0131f8)
gemini-3.1-flash-lite model added; server-side tools deltas supported

2.1.0 (2026-05-12)

Features
  • Add gemini-3.1-flash-lite to model options (b0664e1)
  • Add parameters to video response_format. (207c8f8)
  • Introduce Server Side tools deltas (2e56d41)
  • support Blocking FunctionCall in Live API in AgentPlatform (Vertex) (6bd8e7d)
  • Add support for Vertex-lyria models lyria-3-pro-preview & lyria-3-clip-preview (f9af7410)
Bug Fixes
gemini-3.1-flash-lite added; server-side tool deltas ship

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
response_format field names now snake_case

2.0.1 (2026-05-09)

Bug Fixes
  • Update response_format field names to snake_case. (26af549)

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 (c0814c4)
  • Deprecate legacy response_format and publish new polymorphic field. (68a6809)
  • Rename SSE events to interaction.created and interaction.completed (d1b836b)
Bug Fixes
  • timeout not functioning (850f680)
Gemini 3.1 Flash-Lite GA; preview deprecates 5/11/26

Released gemini-3.1-flash-lite, the generally available (GA) version of Gemini 3.1 Flash-Lite, optimized for speed, scale, and cost efficiency. Deprecation announcement: The gemini-3.1-flash-lite-preview model is deprecating on 5/11/26 and will be shut down on May 25, 2026.

Sources
6
Category