From 37370f75ce96dda1d497fe2a73e771a3e253f108 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 06:30:29 +0000 Subject: [PATCH 1/2] chore(main): release 2.0.0 --- CHANGELOG.md | 18 ++++++++++++++++++ google/genai/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 328a67442..1f5285132 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [2.0.0](https://github.com/googleapis/python-genai/compare/v1.75.0...v2.0.0) (2026-05-07) + + +### ⚠ BREAKING CHANGES + +* Rename SSE events to interaction.created and interaction.completed + +### Features + +* Add steps for interactions ([41d8e5b](https://github.com/googleapis/python-genai/commit/41d8e5b9fc2cfbdf699c4dd9af0d3ec8ffef3eb2)) +* Deprecate legacy response_format and publish new polymorphic field. ([7fdc9a1](https://github.com/googleapis/python-genai/commit/7fdc9a1b9b1365aef296cb997edd05983928a256)) +* Rename SSE events to interaction.created and interaction.completed ([0549c1c](https://github.com/googleapis/python-genai/commit/0549c1cf01dc3243fda8a684700f402ca5a1a355)) + + +### Documentation + +* Update docs ([d3020fd](https://github.com/googleapis/python-genai/commit/d3020fdd29430fb1806e9c8a0b86e31d35b2f870)) + ## [1.75.0](https://github.com/googleapis/python-genai/compare/v1.74.0...v1.75.0) (2026-05-04) diff --git a/google/genai/version.py b/google/genai/version.py index 88c904d4f..b23175b9b 100644 --- a/google/genai/version.py +++ b/google/genai/version.py @@ -13,4 +13,4 @@ # limitations under the License. # -__version__ = '1.75.0' # x-release-please-version +__version__ = '2.0.0' # x-release-please-version diff --git a/pyproject.toml b/pyproject.toml index a4c775190..de8ff0a1a 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 = "1.75.0" +version = "2.0.0" description = "GenAI Python SDK" readme = "README.md" license = "Apache-2.0" From 38866346af31499974d0b053fa42b7df6a354ce1 Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Thu, 7 May 2026 12:39:13 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f5285132..10893f07c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,16 +3,14 @@ ## [2.0.0](https://github.com/googleapis/python-genai/compare/v1.75.0...v2.0.0) (2026-05-07) -### ⚠ BREAKING CHANGES - -* Rename SSE events to interaction.created and interaction.completed +### ⚠ BREAKING CHANGES - Interactions Only -### Features +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](https://github.com/googleapis/python-genai/commit/41d8e5b9fc2cfbdf699c4dd9af0d3ec8ffef3eb2)) -* Deprecate legacy response_format and publish new polymorphic field. ([7fdc9a1](https://github.com/googleapis/python-genai/commit/7fdc9a1b9b1365aef296cb997edd05983928a256)) * Rename SSE events to interaction.created and interaction.completed ([0549c1c](https://github.com/googleapis/python-genai/commit/0549c1cf01dc3243fda8a684700f402ca5a1a355)) - +* Deprecate legacy response_format and publish new polymorphic field. ([7fdc9a1](https://github.com/googleapis/python-genai/commit/7fdc9a1b9b1365aef296cb997edd05983928a256)) ### Documentation