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 today
16 Sep 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
100 releases · first in 2025
Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFunctions
One column per month.
Add 'turn_complete_reason' and 'waiting_for_input' fields.
Add labels to create tuning job config
generate the function_call class's converters
Add resolution field for Gemini Developer API Veo 3 generation
add sdkHttpResponse.headers to *Delete responses.
sdkHttpResponse.headers to *Delete responses. (397c602)Support Imagen image segmentation on Vertex
add an _exclude_fields characteristic in the config for unused values to avoid unnecessary and unused code in converter and type generation.
gemini-2.5-flash-preview-04-17 with gemini-2.5-flash. (d7f1c30)Add image_size field for Gemini Developer API Imagen 4 generation
allow methods in models to return headers in sdk_http_response by default.
Add image_size field for Vertex Imagen 4 generation
Add addWatermark parameter to the edit image configuration.
addWatermark parameter to the edit image configuration. (16bca99)hasMcpToolUsage to set the MCP tool usage when it is detected by calling mcpToTool (a70f9c4)Add new languages for Imagen 4 prompt language
Enable Vertex Multimodal Dataset as input to supervised fine-tuning.
Add compressionQuality enum for generate_videos
allow users to access headers for generateContent method and generateContentStream
Update MCP dependencies to be type-only
add a timeout parameter to CallableToolConfig
Add enhance_prompt field for Gemini Developer API generate_videos
Adding thought_signature field to the Part to store the signature for thoughts.
thought_signature field to the Part to store the signature for thoughts. (20815b2)Remove unsupported Lyria enum for music generation mode
support new fields in FileData, GenerationConfig, GroundingChunkRetrievedContext, RetrievalConfig, Schema, TuningJob, VertexAISearch,
> This version drops support for end-of-life Node.js v18.
Fix Lyria method name for JS, update parameters type
add time range filter to Google Search Tool
time range filter to Google Search Tool (a938111)Move test-server-sdk to devDependencies
Add Imagen edit_image support in JS SDK
Add text and data accessors to LiveServerMessage
text and data accessors to LiveServerMessage (a3c4201)Tool.enterprise_web_search field (29b097d)add support for live grounding metadata
add models.delete and models.update to manage tuned models
default field in Schema for Gemini API calls (6f72396)add additional realtime input fields
GenerateContentResponse.data to return concatenation of all inline data parts. (97b59a2)default field in Schema when users call Gemini API (2e61cce)Simplified the types allowed on the generateContent contents parameter.
Add domain to Web GroundingChunk
Change File.sizeBytes from number type to string type
allow title property to be sent to Gemini API. Gemini API now supports the title property, so it's ok to pass this onto both Vertex and Gemini API.
Unexport Content converter functions
Make "turnComplete:true" the default.
remove the createPartFromVideoMetadata usability function.
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →