Changelog¶
0.9.0 (2025-10-20)¶
Documentation¶
deprecation notice for HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY (84be9032eb7ba04bb305870160699d2bc12e0dac)
Features¶
add support for additional reasons to stop image generation (84be9032eb7ba04bb305870160699d2bc12e0dac)
add support for finish_message that contain details the reason why the model stopped generating tokens (84be9032eb7ba04bb305870160699d2bc12e0dac)
add URL_RETRIEVAL_STATUS_UNSAFE and URL_RETRIEVAL_STATUS_PAYWALL statuses for url retrieval (84be9032eb7ba04bb305870160699d2bc12e0dac)
add log_probability_sum (84be9032eb7ba04bb305870160699d2bc12e0dac)
add Computer Use tool type (84be9032eb7ba04bb305870160699d2bc12e0dac)
add support for FunctionResponsePart (84be9032eb7ba04bb305870160699d2bc12e0dac)
add support for image generation features (84be9032eb7ba04bb305870160699d2bc12e0dac)
add support for additional reasons to stop image generation (84be9032eb7ba04bb305870160699d2bc12e0dac)
add support for raw media bytes for function response (84be9032eb7ba04bb305870160699d2bc12e0dac)
add log_probability_sum (84be9032eb7ba04bb305870160699d2bc12e0dac)
add URL_RETRIEVAL_STATUS_UNSAFE and URL_RETRIEVAL_STATUS_PAYWALL statuses for url retrieval (84be9032eb7ba04bb305870160699d2bc12e0dac)
Bug Fixes¶
replaced GenerateVideoResponse by PredictLongRunningGeneratedVideoResponse field (84be9032eb7ba04bb305870160699d2bc12e0dac)
0.8.0 (2025-10-16)¶
Features¶
Add support for Python 3.14 (98ee71abc0f97c88239b50bf0e0827df19630def)
Bug Fixes¶
Deprecate credentials_file argument (98ee71abc0f97c88239b50bf0e0827df19630def)
0.7.0 (2025-08-29)¶
⚠ BREAKING CHANGES¶
add support for video_metadata
Features¶
add a flag whether the model supports thinking (4d08928)
add a flag whether the model supports thinking (4d08928)
add AudioTranscriptionConfig (4d08928)
add MultiSpeakerVoiceConfig to speech config (4d08928)
add support for function response scheduling in the conversation (4d08928)
add support for thought_signature (4d08928)
add support for UrlContextMetadata (4d08928)
add support for video_metadata (4d08928)
add time_range_filter to GoogleSearch tool type (4d08928)
add UNEXPECTED_TOOL_CALL to the Candidate.FinishReason enum (4d08928)
add url_context to GoogleSearch tool type (4d08928)
0.6.18 (2025-04-29)¶
Features¶
add CODE_RETRIEVAL_QUERY embedding task type (d530650)
add CODE_RETRIEVAL_QUERY embedding task type (d530650)
add language_code to speech config (d530650)
add minimum, maximum, any_of, property_ordering, default and null type to Schema (d530650)
add seed to GenerationConfig (d530650)
add support for live API (https://github.com/googleapis/go-genai/issues/275) (d530650)
add support for ModalityTokenCounts in UsageMetadata responses (d530650)
add support for ModalityTokenCounts in UsageMetadata responses (d530650)
add support for Veo: PredictLongRunning and generated/downloadable files (d530650)
add ThinkingConfig, MediaResolution, and seed to GenerationConfig (d530650)
0.6.17 (2025-03-15)¶
Bug Fixes¶
[Many APIs] Allow Protobuf 6.x (a1b9294)
0.6.16 (2025-02-12)¶
Features¶
0.6.15 (2025-01-13)¶
Features¶
Add BidiGenerateContent + all the necessary protos (2c1e359)
Add civic_integrity toggle to generation_config (2c1e359)
Add GoogleSearch tool type (2c1e359)
Add id to FunctionCall and FunctionResponse (2c1e359)
Add image_safety block_reason + finish_reason (2c1e359)
Add response_modalities to generation_config (2c1e359)
Add return type
Schema responseto function declarations (2c1e359)Add TuningMultiturnExample (2c1e359)
Add v1alpha (2c1e359)
Add voice_config to generation_config (2c1e359)
Documentation¶
Update safety filter list to include civic_integrity (2c1e359)
0.6.14 (2024-12-12)¶
Features¶
Add support for opt-in debug logging (b1dfc55)
Bug Fixes¶
Fix typing issue with gRPC metadata when key ends in -bin (b1dfc55)
0.6.13 (2024-11-21)¶
Features¶
Documentation¶
Some small updates. (3535963)
0.6.12 (2024-10-31)¶
Bug Fixes¶
disable universe-domain validation (85c7512)
0.6.11 (2024-10-24)¶
Features¶
0.6.10 (2024-09-23)¶
Features¶
Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result} (d6238e4)
Add GoogleSearchRetrieval tool and candidate.grounding_metadata (d6238e4)
Add HarmBlockThreshold.OFF (d6238e4)
Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY (d6238e4)
Add PredictionService (for Imagen) (d6238e4)
Add Schema.min_items (d6238e4)
Add TunedModels.reader_project_numbers (d6238e4)
Documentation¶
0.6.9 (2024-08-19)¶
Features¶
Documentation¶
Many small fixes (fdebbf2)
0.6.8 (2024-07-30)¶
Bug Fixes¶
Retry and timeout values do not propagate in requests during pagination (c6eeae0)
0.6.7 (2024-07-08)¶
Bug Fixes¶
0.6.6 (2024-06-26)¶
Features¶
0.6.5 (2024-06-11)¶
Features¶
Documentation¶
Small fixes (09c7fae)
0.6.4 (2024-05-16)¶
Features¶
Documentation¶
0.6.3 (2024-05-07)¶
Features¶
0.6.2 (2024-04-15)¶
Features¶
v1: Add
output dimensionalitytoEmbedContentRequestmessage (e3bfbc6)v1: Add
QUESTION_ANSWERINGandFACT_VERIFICATIONtoTaskTypeEnum (e3bfbc6)v1: Add rest binding for tuned models (e3bfbc6)
v1beta: Add
output dimensionalitytoEmbedContentRequestmessage (e2cf0c4)v1beta: Add
QUESTION_ANSWERINGandFACT_VERIFICATIONtoTaskTypeEnum (e2cf0c4)v1beta: Add
response_mime_typetoGenerationConfigmessage (e2cf0c4)
Documentation¶
0.6.1 (2024-04-03)¶
Features¶
Documentation¶
A comment for field
candidate_countin message.[google.ai](https://www.google.com/url?sa=D&q=http%3A%2F%2Fgoogle.ai).generativelanguage.v1beta.GenerationConfigis changed (c0a0bf6)
0.6.0 (2024-03-22)¶
⚠ BREAKING CHANGES¶
make learning rate a one-of
Features¶
Add
learning_rate_multiplierto tuningHyperparameters(35017ea)
Bug Fixes¶
make learning rate a one-of (35017ea)
Documentation¶
A few small updates (35017ea)
0.5.4 (2024-03-05)¶
Bug Fixes¶
0.5.3 (2024-02-22)¶
Bug Fixes¶
0.5.2 (2024-02-06)¶
Bug Fixes¶
0.5.1 (2024-02-01)¶
Features¶
Allow users to explicitly configure universe domain (a0392ee)
0.5.0 (2024-01-24)¶
⚠ BREAKING CHANGES¶
Fix content.proto’s Schema -
typeshould be required
Features¶
Update GenAI libraries to include input_safety_feedback (d2004d4)
Bug Fixes¶
Fix content.proto’s Schema -
typeshould be required (d2004d4)
Documentation¶
0.4.1 (2024-01-22)¶
Documentation¶
0.4.0 (2023-12-09)¶
Features¶
0.3.5 (2023-12-07)¶
Features¶
Bug Fixes¶
0.3.4 (2023-09-30)¶
Documentation¶
0.3.3 (2023-09-21)¶
Bug Fixes¶
0.3.2 (2023-09-20)¶
Features¶
0.3.1 (2023-07-05)¶
Bug Fixes¶
0.3.0 (2023-06-29)¶
Bug Fixes¶
remove
BLOCK_NONEfromHarmBlockThreshold(9d46f7f)