From 2ca17d572c6ac3f75a340202b545475ca6732e50 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 01:59:01 +0000 Subject: [PATCH 1/4] chore(main): release 2.9.0-rc0 --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ google/genai/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e4a2e2db..c8d04799b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## [2.9.0-rc0](https://github.com/googleapis/python-genai/compare/v2.8.0...v2.9.0-rc0) (2026-06-16) + + +### Features + +* Add ServiceTier to UsageMetadata ([45b4963](https://github.com/googleapis/python-genai/commit/45b4963f4cdc8dc01cffe85260c629e50595fbf9)) +* Expose Computer Use API fields ([420b5a7](https://github.com/googleapis/python-genai/commit/420b5a774852501f04c716f74b6c58f466bb71df)) +* Gemma 4 local tokenizer support ([ca97c58](https://github.com/googleapis/python-genai/commit/ca97c5805666f6386d0148848132c07ce81e2c72)) +* **interaction-api:** Add `model` field and `CodeMenderAgentData` response message ([4750c75](https://github.com/googleapis/python-genai/commit/4750c75129a6261abeca5b348667a55fcaf98e07)) +* **interaction-api:** Add CodeMenderAgentConfig to the Interactions API AgentInteraction proto ([3900799](https://github.com/googleapis/python-genai/commit/39007990d1502f4daa8ed6f8642947437b6535f1)) +* **interaction-api:** Add presence_penalty, frequency_penalty, and cached_content to models.proto ([05f16fe](https://github.com/googleapis/python-genai/commit/05f16fea01d4c8bdc4d6ac9c2b7bbed11ada3aee)) +* **interaction-api:** Rename usage to total_usage in StreamMetadata. ([7c331c6](https://github.com/googleapis/python-genai/commit/7c331c6c40825cbbbd7cfc354357c171bdf395f5)) +* Introduce gaos sdk libs ([d830f16](https://github.com/googleapis/python-genai/commit/d830f165d223ac5f42ab3fa74d2c3d868b0054d8)) +* Introduce gaos sdk libs ([8e48cd1](https://github.com/googleapis/python-genai/commit/8e48cd19801c14270016fb4de5aec596e57fbbd1)) +* Introduce gaos sdk libs ([8972ca7](https://github.com/googleapis/python-genai/commit/8972ca73005fc59555ad3f857d0cbb9add5c902a)) + + +### Bug Fixes + +* Add fallback for `aiohttp.readline` without `max_line_length` for backward compatibility because we still want to keep aiohttp as optional dependency ([e99ab99](https://github.com/googleapis/python-genai/commit/e99ab99d63625b2f383a08f5fb91812c096f1c2b)), closes [#2487](https://github.com/googleapis/python-genai/issues/2487) +* Fix header ([f8f9749](https://github.com/googleapis/python-genai/commit/f8f97496965795469888b93f3c70d6ea08296a83)) +* Keep live music API keys out of websocket urls ([#2564](https://github.com/googleapis/python-genai/issues/2564)) ([c754ebf](https://github.com/googleapis/python-genai/commit/c754ebf3973fde9894b24c2425cee67eb2d03b64)) +* Make `transformers` an optional dependency for local tokenizers, also add other dependencies to local-tokenizer-extras. ([528926b](https://github.com/googleapis/python-genai/commit/528926b5a94fb6590846e739e643895016d2c0d0)) +* Use .model_copy() instead of deprecated .copy() ([216369f](https://github.com/googleapis/python-genai/commit/216369f519712285db0902f0b248be3c4faf664c)) + + +### Documentation + +* Announce Automatic Function Calling (AFC) upcoming breaking change warning ([4697258](https://github.com/googleapis/python-genai/commit/4697258417902a5d0074a2247db34bfdf40e5468)) +* Clarify Live API START/END_SENSITIVITY_HIGH/LOW defaults are different in Gemini Live and Gemini Enterprise Agent Platform Live API ([a0ec6ab](https://github.com/googleapis/python-genai/commit/a0ec6abc8f54f9cfc110e9b1dd3271971961f193)), closes [#2555](https://github.com/googleapis/python-genai/issues/2555) +* Regenerate docs for 2.8.0 ([93e7ab1](https://github.com/googleapis/python-genai/commit/93e7ab1e8851dd68e59368d49bc2e3695dfd5148)) + + +### Miscellaneous Chores + +* Set version ([eef6a5a](https://github.com/googleapis/python-genai/commit/eef6a5af3d13b9599a884d5d9828e9264df25be4)) +* Set version ([6a44633](https://github.com/googleapis/python-genai/commit/6a44633a94be0f5cc0259c1550fb575fc461dbac)) + ## [2.8.0](https://github.com/googleapis/python-genai/compare/v2.7.0...v2.8.0) (2026-06-03) diff --git a/google/genai/version.py b/google/genai/version.py index 950456342..ecc0b2687 100644 --- a/google/genai/version.py +++ b/google/genai/version.py @@ -13,4 +13,4 @@ # limitations under the License. # -__version__ = '2.8.0' # x-release-please-version +__version__ = '2.9.0-rc0' # x-release-please-version diff --git a/pyproject.toml b/pyproject.toml index 55b829ad3..85c335749 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.8.0" +version = "2.9.0-rc0" description = "GenAI Python SDK" readme = "README.md" license = "Apache-2.0" From 6669db5c2bfb58b388b85724d40cbbe4af38731d Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Mon, 15 Jun 2026 22:04:46 -0700 Subject: [PATCH 2/4] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 85c335749..12baa1fef 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.9.0-rc0" +version = "2.9.0rc0" description = "GenAI Python SDK" readme = "README.md" license = "Apache-2.0" From 935c08a32b4d8658edd5d985b3c18bf4a73d4d00 Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Mon, 15 Jun 2026 22:05:28 -0700 Subject: [PATCH 3/4] Update version.py --- google/genai/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/genai/version.py b/google/genai/version.py index ecc0b2687..a2208f6fe 100644 --- a/google/genai/version.py +++ b/google/genai/version.py @@ -13,4 +13,4 @@ # limitations under the License. # -__version__ = '2.9.0-rc0' # x-release-please-version +__version__ = '2.9.0rc0' # x-release-please-version From 7ca12c6643a30ab78d20c224831382c6f56959bc Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Mon, 15 Jun 2026 22:21:39 -0700 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8d04799b..f03ab053e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,19 +2,17 @@ ## [2.9.0-rc0](https://github.com/googleapis/python-genai/compare/v2.8.0...v2.9.0-rc0) (2026-06-16) +### Major updates + +* **The interactions implementation has been completely replaced**. The public api surface should be unchanged. ([d830f16](https://github.com/googleapis/python-genai/commit/d830f165d223ac5f42ab3fa74d2c3d868b0054d8)) ### Features * Add ServiceTier to UsageMetadata ([45b4963](https://github.com/googleapis/python-genai/commit/45b4963f4cdc8dc01cffe85260c629e50595fbf9)) * Expose Computer Use API fields ([420b5a7](https://github.com/googleapis/python-genai/commit/420b5a774852501f04c716f74b6c58f466bb71df)) * Gemma 4 local tokenizer support ([ca97c58](https://github.com/googleapis/python-genai/commit/ca97c5805666f6386d0148848132c07ce81e2c72)) -* **interaction-api:** Add `model` field and `CodeMenderAgentData` response message ([4750c75](https://github.com/googleapis/python-genai/commit/4750c75129a6261abeca5b348667a55fcaf98e07)) -* **interaction-api:** Add CodeMenderAgentConfig to the Interactions API AgentInteraction proto ([3900799](https://github.com/googleapis/python-genai/commit/39007990d1502f4daa8ed6f8642947437b6535f1)) * **interaction-api:** Add presence_penalty, frequency_penalty, and cached_content to models.proto ([05f16fe](https://github.com/googleapis/python-genai/commit/05f16fea01d4c8bdc4d6ac9c2b7bbed11ada3aee)) * **interaction-api:** Rename usage to total_usage in StreamMetadata. ([7c331c6](https://github.com/googleapis/python-genai/commit/7c331c6c40825cbbbd7cfc354357c171bdf395f5)) -* Introduce gaos sdk libs ([d830f16](https://github.com/googleapis/python-genai/commit/d830f165d223ac5f42ab3fa74d2c3d868b0054d8)) -* Introduce gaos sdk libs ([8e48cd1](https://github.com/googleapis/python-genai/commit/8e48cd19801c14270016fb4de5aec596e57fbbd1)) -* Introduce gaos sdk libs ([8972ca7](https://github.com/googleapis/python-genai/commit/8972ca73005fc59555ad3f857d0cbb9add5c902a)) ### Bug Fixes @@ -33,11 +31,6 @@ * Regenerate docs for 2.8.0 ([93e7ab1](https://github.com/googleapis/python-genai/commit/93e7ab1e8851dd68e59368d49bc2e3695dfd5148)) -### Miscellaneous Chores - -* Set version ([eef6a5a](https://github.com/googleapis/python-genai/commit/eef6a5af3d13b9599a884d5d9828e9264df25be4)) -* Set version ([6a44633](https://github.com/googleapis/python-genai/commit/6a44633a94be0f5cc0259c1550fb575fc461dbac)) - ## [2.8.0](https://github.com/googleapis/python-genai/compare/v2.7.0...v2.8.0) (2026-06-03)