From 5d15f00705b2db8fe17d20ee57f362e3dace2df3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 01:09:46 +0000 Subject: [PATCH 1/2] chore(main): release 2.12.0 --- CHANGELOG.md | 13 +++++++++++++ google/genai/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c738a1ad0..a98dd0c09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.12.0](https://github.com/googleapis/python-genai/compare/v2.11.0...v2.12.0) (2026-07-15) + + +### Features + +* Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs. ([c68f857](https://github.com/googleapis/python-genai/commit/c68f857234ed510ed3d85b136cca8a5b7421e597)) +* Add max_total_tokens for Interaction. ([c875069](https://github.com/googleapis/python-genai/commit/c8750696763056122433b4b611c84063c575396a)) +* Add max_total_tokens for Interaction. ([a6d8d54](https://github.com/googleapis/python-genai/commit/a6d8d546d5dc14e3be4282e4fd8dbf7b1ef51ad0)) +* Add trigger resource ([0ab9525](https://github.com/googleapis/python-genai/commit/0ab9525157aa04fbed46caa0955486c2a3aad11a)) +* Add Triggers resource to GoogleGenAI client. ([60727fe](https://github.com/googleapis/python-genai/commit/60727fe1277c68fe7c4da3be7e369408b5463e7f)) +* **interactions:** Add CodeMenderAgentConfig ([50eca74](https://github.com/googleapis/python-genai/commit/50eca746eb6acf66e98e6381b71c122a868613f0)) +* Populate per-modality prompt token count in embedding responses for gemini-embedding-2 ([2ba0154](https://github.com/googleapis/python-genai/commit/2ba0154a41654dc2e999c6242633e2b2eedaa5e7)) + ## [2.11.0](https://github.com/googleapis/python-genai/compare/v2.10.0...v2.11.0) (2026-07-09) ### Features diff --git a/google/genai/version.py b/google/genai/version.py index 48d2beeaf..85ad8ebad 100644 --- a/google/genai/version.py +++ b/google/genai/version.py @@ -13,4 +13,4 @@ # limitations under the License. # -__version__ = '2.11.0' # x-release-please-version +__version__ = '2.12.0' # x-release-please-version diff --git a/pyproject.toml b/pyproject.toml index e2faabb40..467403084 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools", "wheel", "twine>=6.1.0", "packaging>=24.2", "pkginfo>= [project] name = "google-genai" -version = "2.11.0" +version = "2.12.0" description = "GenAI Python SDK" readme = "README.md" license = "Apache-2.0" From de657681b83462a7c47cb28f56a682a336d4df78 Mon Sep 17 00:00:00 2001 From: Wanlin Du Date: Wed, 15 Jul 2026 17:23:52 -0700 Subject: [PATCH 2/2] Remove duplicate max_total_tokens entry in CHANGELOG Removed duplicate entry for max_total_tokens in Interaction. It was rolled back --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a98dd0c09..dbad10248 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,6 @@ ### Features * Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs. ([c68f857](https://github.com/googleapis/python-genai/commit/c68f857234ed510ed3d85b136cca8a5b7421e597)) -* Add max_total_tokens for Interaction. ([c875069](https://github.com/googleapis/python-genai/commit/c8750696763056122433b4b611c84063c575396a)) -* Add max_total_tokens for Interaction. ([a6d8d54](https://github.com/googleapis/python-genai/commit/a6d8d546d5dc14e3be4282e4fd8dbf7b1ef51ad0)) * Add trigger resource ([0ab9525](https://github.com/googleapis/python-genai/commit/0ab9525157aa04fbed46caa0955486c2a3aad11a)) * Add Triggers resource to GoogleGenAI client. ([60727fe](https://github.com/googleapis/python-genai/commit/60727fe1277c68fe7c4da3be7e369408b5463e7f)) * **interactions:** Add CodeMenderAgentConfig ([50eca74](https://github.com/googleapis/python-genai/commit/50eca746eb6acf66e98e6381b71c122a868613f0))