Skip to content

fix(deps): update dependency google-genai to v2 - #2464

Merged
henchaves merged 4 commits into
mainfrom
renovate/major-pep621-deps
May 21, 2026
Merged

fix(deps): update dependency google-genai to v2#2464
henchaves merged 4 commits into
mainfrom
renovate/major-pep621-deps

Conversation

@renovate

@renovate renovate Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
google-genai >=1.0,<2>=1.0,<3 age confidence

Release Notes

googleapis/python-genai (google-genai)

v2.2.0

Compare Source

Features
  • Added missing FunctionCallResultDelta type and arguments field to the ArgumentDelta type (b0131f8)

v2.1.0

Compare Source

Features
  • Add gemini-3.1-flash-lite to model options (2d5e0fa)
  • Add parameters to video response_format. (4e9d68d)
  • Introduce Server Side tools deltas (97d6fe5)
  • Support Blocking FunctionCall in Live API in AgentPlatform (Vertex) (955bca6)
  • Add support for vertex-lyria models lyria-3-pro-preview & lyria-3-clip-preview (1bc0536)
Bug Fixes

v2.0.1

Compare Source

Bug Fixes
  • Update response_format field names to snake_case. (97142b1)

v2.0.0

Compare Source

⚠ BREAKING CHANGES - Interactions Only

Note: The breaking changes are only in interactions. GenerateContent usage in unaffected.
Refer to https://ai.google.dev/gemini-api/docs/interactions-breaking-changes-may-2026 for details

  • Add steps for interactions (41d8e5b)
  • Rename SSE events to interaction.created and interaction.completed (0549c1c)
  • Deprecate legacy response_format and publish new polymorphic field. (7fdc9a1)
Documentation

v1.75.0

Compare Source

Features
  • [Python] Multimodal file search (fe5d69e)
Bug Fixes
  • Avoid caching stale token in async mTLS path (4e17a9c)
Documentation
  • Fix python docstrings for Image.from_file() to use kwargs (cce5398)
  • Update docs (ef26583)

v1.74.0

Compare Source

Features
  • [Interactions] Add FileCitation.{custom_metadata,media_id,page_number} (aed41ec)
  • Add output_info to BatchJob (7b77ab8)
  • Add gemini-3.1-flash-tts-preview model to options (8bdc1c3)
  • Add ImageResizeMode for GenerateVideos (317d2af)
  • Add new Gemini Deep Research agent models (16fffbd)
  • Add one_of support to JSONSchema for Agent Platform (8c00c52)
  • Add Vertex Dataset input and output options for batch jobs (d880f92)
  • interaction-api: Add grounding tool usage breakdown to Interaction Usage. (b24fb5a)
  • Introduce enterprise to Client constructor and GOOGLE_GENAI_USE_ENTERPRISE (693fd9a)
  • Replace the more ambiguous rate field with sample_rate. (88d9b4a)
Bug Fixes
  • Catch google-auth wrapped errors (48ac850)
  • Removing Python 3.9 support due to EOL (8bc2b10)
  • retry: Retry on httpx.TimeoutException with HttpRetryOptions (#​2345) (0598bab)
  • Streaming method doesn't handle multi-line SSE (f8a2e7e)
  • Typing in AsyncClient.__aexit__, __exit__. (a74dc65)
Documentation
  • Add instruction for custom endpoint (dd79904)
  • Fix broken link for rate limits (d22ea99)
  • Regenerate docs for 1.73.1 (2fb714b)
  • Remove duplicate line in genai client docstring. (b1c6026)
  • Replace Vertex AI with Gemini Enterprise Agent Platform (7c1ecd5)
  • Update doc string to replace Vertex AI with Gemini Enterprise Agent Platform, update method error message to replace Vertex AI with Gemini Enterprise Agent Platform (previously known as Vertex AI), update converter error message to replace Vertex AI with Gemini Enterprise Agent Platform (413f0f9)
  • Update Gemini Enterprise Agent Platform home page url (b02cb95)
  • Update README.md with correct Pydantic link (fa97cc6)
  • Update README.md with correct Pydantic link (fa97cc6)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 4am on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label May 18, 2026
@renovate

renovate Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: libs/giskard-llm/pyproject.toml
Artifact update for google-genai resolved to version 2.4.0, which is a pending version that has not yet passed the Minimum Release Age threshold.
Renovate was attempting to update to 2.2.0
This is (likely) not a bug in Renovate, but due to the way your project pins dependencies, _and_ how Renovate calls your package manager to update them.
Until Renovate supports specifying an exact update to your package manager (https://github.com/renovatebot/renovate/issues/41624), it is recommended to directly pin your dependencies (with `rangeStrategy=pin` for apps, or `rangeStrategy=widen` for libraries)
See also: https://docs.renovatebot.com/dependency-pinning/
@renovate
renovate Bot force-pushed the renovate/major-pep621-deps branch 9 times, most recently from 0eafeac to 2d2ff5d Compare May 20, 2026 12:26
@renovate
renovate Bot force-pushed the renovate/major-pep621-deps branch from 2d2ff5d to 9293a1b Compare May 20, 2026 13:45
@kevinmessiaen kevinmessiaen self-assigned this May 20, 2026
@kevinmessiaen
kevinmessiaen requested a review from henchaves May 20, 2026 14:55
@kevinmessiaen

Copy link
Copy Markdown
Member

@gemini-code-assist can you review the changes

@renovate

renovate Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the google-genai dependency to version 2.4.0 and refactors the Google response translation logic to align with the updated API, replacing TurnParam with StepParam and updating associated tests. The reviewer suggested moving the unrelated documentation change regarding commit hygiene in AGENTS.md to a separate pull request to maintain a focused commit history.

Comment thread AGENTS.md
Comment on lines +36 to +37
### 7. Commit Hygiene
– Use Conventional Commits for every commit message (for example, `fix(llm): update google interactions translator`)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This change about commit hygiene seems unrelated to the main purpose of this PR, which is updating the google-genai dependency. To maintain a clean and focused commit history, it would be better to move this documentation change to a separate PR. This helps in reviewing and tracking changes more effectively.

@henchaves
henchaves merged commit 978a481 into main May 21, 2026
27 of 32 checks passed
@henchaves
henchaves deleted the renovate/major-pep621-deps branch May 21, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file safe for build Scope: LLM

2 participants