NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1293 most downloaded on PyPI
Google Ai Generativelanguage API client library
Last release 3 days ago
01 Oct 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 42 of 42 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
43 releases · first in 2023
One column per quarter.
### Features * declare Python3.15 support
### Features * regenerate remaining packages
update image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:f5426423676c75008c2135037e7b98f78cbb
add support for GoogleMaps and FileSearch tools
deprecation notice for HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY
Deprecate credentials_file argument
add a flag whether the model supports thinking
add CODE_RETRIEVAL_QUERY embedding task type
### Bug Fixes * [Many APIs] Allow Protobuf 6.x
Add REST Interceptors which support reading metadata
Add BidiGenerateContent + all the necessary protos
Schema response to function declarations (2c1e359)Add support for opt-in debug logging
Add GroundingMetadata.web_search_queries
disable universe-domain validation
### Features * Add support for Python 3.13
Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result}
Add new PromptFeedback and FinishReason entries
Retry and timeout values do not propagate in requests during pagination
### Bug Fixes * Allow Protobuf 5.x
[google-ai-generativelanguage] Add code execution
Add cached_content_token_count to CountTokensResponse
v1: Add generate_content_request to CountTokensRequest
[google-ai-generativelanguage] Add FileState to File
update API sources and regenerate
output dimensionality to EmbedContentRequest message (e3bfbc6)QUESTION_ANSWERING and FACT_VERIFICATION to TaskType Enum (e3bfbc6)output dimensionality to EmbedContentRequest message (e2cf0c4)QUESTION_ANSWERING and FACT_VERIFICATION to TaskType Enum (e2cf0c4)response_mime_type to GenerationConfig message (e2cf0c4)0.6.1 (2026-10-01) Features declare Python3.15 support
candidate_count in message .[google.ai](https://www.google.com/url?sa=D&q=http%3A%2F%2Fgoogle.ai).generativelanguage.v1beta.GenerationConfig is changed (c0a0bf6)Add learning_rate_multiplier to tuning Hyperparameters
deps: Exclude google-auth 2.24.0 and 2.25.0
0.5.3 (2026-08-21) Features update sources and regenerate
Add google-auth as a direct dependency
update API sources and regenerate
Fix content.proto's Schema - type should be required
[google-ai-generativelanguage] Fixed minor documentation typos for field function_declarations in message google.ai.generativelanguage.v1beta.Tool
Add v1, contains only GenerativeService, nothing else
Introduce compatibility with native namespace packages
Nothing published for this version
0.3.4 (2026-09-03) Bug Fixes correct client version strings
set google.ai.generativelanguage_v1beta3 as the default import
Add BatchEmbedText and CountTextTokens to the text service
Add async context manager return types
remove BLOCK_NONE from HarmBlockThreshold
BLOCK_NONE from HarmBlockThreshold (9d46f7f)fix broken client library documentation links
### Features * Add safety settings
add initial files for google.ai.generativelanguage.v1beta2
Your coding agent can read these notes before it upgrades. Set up the MCP server →