NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #203 most downloaded on PyPI
GenAI Python SDK
Latest stable
3.6.1
Last release 3 days ago
18 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
12 versions withdrawn
withdrawn after publishing
2 years old
142 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Add specialized send methods to the live api
send methods to the live api (9c4e4dc)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Log warning to users that Part.from_video_metadata will be deprecated.
types.Content is passed to send_message() to correctly adhere to type annotation. To migrate code previously passing content = types.Content(...) to send_message(), pass content.parts instead.(7fb2c7e)Leverage httpx connection pooling and avoid instantiation of httpx.Client or httpx.AsyncClient for each call
types.Content is passed to send_message() to correctly adhere to type annotation. To migrate code previously passing content = types.Content(...) to send_message(), pass content.parts instead.Add base steps to EditImageConfig
Determine mime_type from local images
Add response_id and create_time to GenerateContentResponse
Add generate_videos (Veo 2) support for Python
Enable Media resolution for Gemini API.
Add support for typing.Literal in response_schema (fixes #264)
Tuning.tune for Gemini API no longer blocks until the tuning operation is resolved (fcf8888)Remove deprecated field: deprecated_response_payload
deprecated_response_payloadANY mode. (451cf98)deprecated_response_payload (197fa46)Add labels for GenerateContent requests
Rename files.upload argument to "file" instead of "path".
Moved the HttpOptions class into types.py, by making it autogenerated. This causes the following breaking change:
Callable type not just functions.Callable type not just functions. (0e4a003)Renamed types.FunctionDeclaration.from_function to types.FunctionDeclaration.from_callable
types.FunctionDeclaration.from_function to types.FunctionDeclaration.from_callable (5afa6bb)bytes type handling (the base64.urlsafe_bencode error) (1bc161d)Support API keys for VertexAI mode generate_content
ser_json_byte val_json_bytes in bytes type public interface (1176e43)Make Imagen upscale_factor a required argument, make upscale config optional
contents must be passed to CreateCachedContentConfig instead of as a parameter to create_cached_content.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per month.