NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2767 most downloaded on npm
[](https://www.npmjs.com/package/@google/genai) [](https://www.npmjs.com/package/@google/genai)
Last release 2 days ago
02 Oct 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
2 years old
104 releases · first in 2025
add lyria-3.5 , gemini-omni-1.1-flash , and gemini-omni-flash-preview to Interactions Model enum
One column per month.
add gcs_metrics_uri for exporting tuning job metrics.
CreateAgentInteraction for Trigger.interaction and TriggerCreateParams.interaction (c4341e1)add sample_audio to Voice in GAOS SDK
add credential APIs resource to gaos.
Add from_environment support for environment copying
Add Gemini 3.8 Flash model to SDKs and update Flash model descriptions
Add support for the audio/webm MIME type.
Add AudioTranscriptionConfigMode
Add IDLE state to live connection status enum and mark REQUIRES_ACTION as deprecated.
mode enum (VERBATIM, SMART) to AudioTranscriptionConfig and TranscriptionConfig. (4c5208b)2.17.1 (2026-08-13) Bug Fixes Add gemini-3.7-flash
Add interaction_status to LiveServerContent
Add the Gemini Robotics ER 2 Preview model
Support GoogleMaps Tool grounding_types places and routing
add deprecation warnings to Imagen generate_images, edit_images, generate_videos (if using prompt/text/image args), LiveConnectConfig.GenerationConfig…
language_codes field to AudioTranscriptionConfig. (cc808eb)A new field custom_vocabulary is added to Live API
Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs.
Add environment_id in network config
[Interactions] Add ComputerUse.disabled_safety_policies
Add audioOffset to VoiceActivity
Add ServiceTier to UsageMetadata
model field and CodeMenderAgentData response message (688f3a0)Add Agent Platform MCP support to async generate_content
Add Skill Registry ListSkills and DeleteSkill to SDK
add enable_prompt_injection_detection for Computer Use feature for the Gemini API.
Add Gemini 3.5 Flash model to options
support Agent and Environment APIs.
interaction.{output_text,output_image,output_audio,output_video}
Added missing FunctionCallResultDelta type and arguments field to the ArgumentDelta type
Add gemini-3.1-flash-lite to model options
Update response_format field names to snake_case.
Note: The breaking changes are only in interactions. GenerateContent usage in unaffected. Refer to https://ai.google.dev/gemini-api/docs/interactions-…
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
[Python] Multimodal file search
[Interactions] Add FileCitation.{custom_metadata,media_id,page_number}
output_info to BatchJob (5327c60)Refactor Webhook types in GenAI SDKs for easier useage
> CRITICAL WARNING: Do not use this version if you are implementing or relying on webhooks. This release contains known issues regarding webhook sdk.
[!CAUTION] CRITICAL WARNING: Do not use this version if you are implementing or relying on webhooks. This release contains known issues regarding webhook sdk. Please use v1.51.0 or later.
Introduce TYPE_L16 audio content and optional fields.
Support dedicated TextAnnotationDelta for streaming tool responses
Add custom_metadata to FileSearchResult.
[Interactions] Breaking change to Interactions API to refactor TextContent annotations to use specific citation types
functionResponses key in LiveClientMessage (9740426)Add inference_generation_config to EvaluationConfig for Tuning
Add gemini-3.1-flash-image-preview model
change interactions media mime type to enum (breaking change for experimental feature)
Support multimodal embedding for Gemini Embedding 2.0 and support MaaS models in Models.embed_content() (Vertex AI API)
Add HTTP retry support to the SDK
## 1.40.0 (2026-02-04) ### Features
Add include_input query parameter to Get Interaction endpoint.
include_input query parameter to Get Interaction endpoint. (84bc7f4)Add ModelArmorConfig support for prompt and response sanitization via the Model Armor service
Support 4:5 and 5:4 aspect ratio in Interactions
Add FileSearchCallContent to Interactions
[Python] add RegisterFiles so gcs files can be used with genai.
Add minimal and medium thinking levels.
Add IMAGE_RECITATION and IMAGE_OTHER enum values to FinishReason
Add enableEnhancedCivicAnswers feature in GenerateContentConfig
Add empty response for tunings.cancel()
add display name to FunctionResponseBlob
Add missing fields to the model types
Add FileSearch tool and associated FileSearchStore management APIs
Add safety_filter_level and person_generation for Imagen upscaling
test-server-sdk dependency to ^0.2.9. (8d507bf)Remove redundant calls to rollup/api-extractor, speeds up the TS SDK testing further by a factor of 2.
Add enable_enhanced_civic_answers in GenerationConfig
Your coding agent can read these notes before it upgrades. Set up the MCP server →