chore(deps): update dependency google-genai to v2#14140
chore(deps): update dependency google-genai to v2#14140renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the google-genai dependency to version 2.0.0 across multiple modules. Feedback indicates that this major version update introduces breaking changes to the Interactions API used in the genai/live directory, which will cause existing samples to fail without corresponding code migrations. Furthermore, it is recommended to specify the [aiohttp] extra for the google-genai dependency in the live API requirements to ensure the necessary asynchronous backend is available.
| @@ -1,4 +1,4 @@ | |||
| google-genai==1.42.0 | |||
| google-genai==2.0.0 | |||
There was a problem hiding this comment.
The update to google-genai==2.0.0 introduces breaking changes for the Interactions API, which is the foundation for the Live API samples in this directory. Specifically, SSE events have been renamed (e.g., to interaction.created and interaction.completed) and the response_format field has been updated. Since this PR only updates the dependency version without corresponding code migrations, the samples in this directory will likely break.
Additionally, google-genai made aiohttp an optional dependency in v1.65.0. Because the Live API is asynchronous, it is recommended to use the [aiohttp] extra to ensure the necessary async backend is available for these samples.
google-genai[aiohttp]==2.0.0
References
- While related changes in other files can be deferred to simplify the review process, ensuring that the dependency specification itself is complete (e.g., including necessary extras like [aiohttp] for async samples) is appropriate for a dependency update PR.
This PR contains the following updates:
==1.7.0→==2.0.0==1.43.0→==2.0.0==1.47.0→==2.0.0==1.45.0→==2.0.0==1.42.0→==2.0.0==1.60.0→==2.0.0Release Notes
googleapis/python-genai (google-genai)
v2.0.0Compare Source
⚠ BREAKING CHANGES - Interactions Only
Note: The breaking changes are only in interactions.
GenerateContentusage in unaffected.Refer to https://ai.google.dev/gemini-api/docs/interactions-breaking-changes-may-2026 for details
Documentation
v1.75.0Compare Source
Features
Bug Fixes
Documentation
v1.74.0Compare Source
Features
output_infotoBatchJob(7b77ab8)enterpriseto Client constructor andGOOGLE_GENAI_USE_ENTERPRISE(693fd9a)Bug Fixes
AsyncClient.__aexit__,__exit__. (a74dc65)Documentation
Vertex AIwithGemini Enterprise Agent Platform, update method error message to replaceVertex AIwithGemini Enterprise Agent Platform (previously known as Vertex AI), update converter error message to replaceVertex AIwithGemini Enterprise Agent Platform(413f0f9)v1.73.1Compare Source
Bug Fixes
webhooks.retrievetowebhooks.get. (649f4b0)Documentation
v1.73.0Compare Source
Features
Bug Fixes
v1.72.0Compare Source
Features
Documentation
v1.71.0Compare Source
Features
Documentation
v1.70.0Compare Source
Features
Bug Fixes
v1.69.0Compare Source
Features
Bug Fixes
Documentation
v1.68.0Compare Source
Breaking changes
Features
Bug Fixes
attempts=0asattempts=1in retry options to ensure no retries (2856c0a)Documentation
v1.67.0Compare Source
Features
Bug Fixes
v1.66.0Compare Source
Features
v1.65.0Compare Source
Features
Bug Fixes
Documentation
v1.64.0Compare Source
Features
v1.63.0Compare Source
Features
Bug Fixes
websockets(3b82b5f)Documentation
v1.62.0Compare Source
Features
Bug Fixes
v1.61.0Compare Source
Features
include_inputquery parameter to Get Interaction endpoint. (a0240d9)Bug Fixes
v1.60.0Compare Source
Features
Documentation
v1.59.0Compare Source
Features
Documentation
v1.58.0Compare Source
Features
Bug Fixes
Documentation
v1.57.0Compare Source
Features
Bug Fixes
Documentation
codegen_instructions.mdfor Gemini 3 Flash (22500b5)v1.56.0Compare Source
Features
Bug Fixes
Documentation
v1.55.0Compare Source
Features
Bug Fixes
Documentation
v1.54.0Compare Source
Features
Bug Fixes
Documentation
v1.53.0Compare Source
Features
Bug Fixes
Documentation
v1.52.0Compare Source
Features
Bug Fixes
TypeError: issubclass() arg 1 must be a classwhen usingList[str]forcontents(c624d7e)v1.51.0Compare Source
Features
Bug Fixes
Documentation
v1.50.1Compare Source
Bug Fixes
v1.50.0Compare Source
Features
Bug Fixes
Documentation
v1.49.0Compare Source
Features
Bug Fixes
Documentation
v1.48.0Compare Source
Features
Bug Fixes
v1.47.0Compare Source
Features
Bug Fixes
__del__methods more robust in_api_clientandclient. (64cab58)Documentation
v1.46.0Compare Source
Features
Bug Fixes
Documentation
v1.45.0Compare Source
Features
Bug Fixes
v1.44.0Compare Source
Features
Bug Fixes
Documentation
v1.43.0Compare Source
Features
Documentation
v1.42.0Compare Source
Features
FunctionResponsePartand creating FunctionResponsePartwithFunctionResponseParts(72c92d8)Bug Fixes
READ_BUFFER_SIZEin_api_client.pyfor streaming large chunks in new model (981bba7)v1.41.0Compare Source
Features
NO_IMAGEenum value toFinishReason(3877044)Bug Fixes
Documentation
v1.40.0Compare Source
Features
ImageConfigtoGenerateContentConfig(88088df)Bug Fixes
v1.39.1Compare Source
Bug Fixes
Documentation
v1.39.0Compare Source
Features
Bug Fixes
JOB_STATE_RUNNINGandJOB_STATE_EXPIREDfor Gemini Batches states (739f72d)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.