Skip to content

chore(main): release 2.34.0 - #3209

Merged
MarkDaoust merged 1 commit into
mainfrom
release-please--branches--main
Oct 29, 2026
Merged

MarkDaoust merged 1 commit into
mainfrom
release-please--branches--main

Conversation

@release-please

@release-please release-please Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

2.34.0 (2026-10-29)

Features

  • Add support for continuation_token and requires_continuation status (daac53e)
  • Add support for Python 3.15. (cb1408b)
  • Add video upscale task parameter (0456043)
  • Drop support for Python 3.10 (2677298)
  • interactions: Add automatic_continuation to interactions.create in the Python SDK (c85d5ae)
  • interactions: Declare continuation_ids on Interaction (4bdde3a)
  • Support base_url, api_version and headers in LiveConnectConfig.http_options (c0e9c54)
  • Support video understanding in Gemini Developer API (34b58fd)

Bug Fixes

  • interactions: Align SDK User-Agent and x-goog-api-client headers (358d249)
  • Resolve PEP 563 string annotations when invoking AFC tools (4650ea1), refs #3156
  • Stop per-request Authorization and X-Server-Timeout from leaking into client default headers (0584c96), refs #3158

This PR was generated with Release Please. See documentation.

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 23, 2026
@release-please
release-please Bot force-pushed the release-please--branches--main branch 11 times, most recently from 0680679 to f780ba8 Compare October 29, 2026 00:44
@release-please
release-please Bot force-pushed the release-please--branches--main branch from f780ba8 to 39c95f2 Compare October 29, 2026 05:02
@MarkDaoust
MarkDaoust merged commit 0dc788c into main Oct 29, 2026
14 checks passed
@MarkDaoust
MarkDaoust deleted the release-please--branches--main branch October 29, 2026 06:20
@release-please

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
fixes #3243

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009528460
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
fixes #3244

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009546459
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
Sync the Speakeasy OpenAPI generator to `v2.955.0` (`https://github.com/speakeasy-api/openapi-generation@8eb507a`) and regenerate the SDKs. Python `preserveUnknownFields` and `modelSerializationMethods` stay disabled in this change.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1008502371
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
…ractions models

Enable `preserveUnknownFields` and `modelSerializationMethods` in the Python SDK. Unknown fields are kept at every nesting level, in responses and in requests: unknown request fields are forwarded instead of silently dropped, so unsupported options such as `transcription_config.diarization` are rejected by the API rather than ignored (#3162), and fields missing from the SDK schema reach the API. Unknown steps, content blocks and annotations round-trip as the payload the server sent, including stateless multi-turn history sent back as SDK objects or as stored dicts; known variants with invalid payloads still raise locally.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009673588
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
…ractions models

Enable `preserveUnknownFields` and `modelSerializationMethods` in the Python SDK. Unknown fields are kept at every nesting level, in responses and in requests: unknown request fields are forwarded instead of silently dropped, so unsupported options such as `transcription_config.diarization` are rejected by the API rather than ignored (#3162), and fields missing from the SDK schema reach the API. Unknown steps, content blocks and annotations round-trip as the payload the server sent, including stateless multi-turn history sent back as SDK objects or as stored dicts; known variants with invalid payloads still raise locally.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009673588
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
Sync the Speakeasy OpenAPI generator to `v2.955.0` (`https://github.com/speakeasy-api/openapi-generation@8eb507a`) and regenerate the SDKs. Python `preserveUnknownFields` and `modelSerializationMethods` stay disabled in this change.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1008502371
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
…ractions models

Enable `preserveUnknownFields` and `modelSerializationMethods` in the Python SDK. Unknown fields are kept at every nesting level, in responses and in requests: unknown request fields are forwarded instead of silently dropped, so unsupported options such as `transcription_config.diarization` are rejected by the API rather than ignored (#3162), and fields missing from the SDK schema reach the API. Unknown steps, content blocks and annotations round-trip as the payload the server sent, including stateless multi-turn history sent back as SDK objects or as stored dicts; known variants with invalid payloads still raise locally.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009673588
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
Sync the Speakeasy OpenAPI generator to `v2.955.0` (`https://github.com/speakeasy-api/openapi-generation@8eb507a`) and regenerate the SDKs. Python `preserveUnknownFields` and `modelSerializationMethods` stay disabled in this change.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1008502371
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
…ractions models

Enable `preserveUnknownFields` and `modelSerializationMethods` in the Python SDK. Unknown fields are kept at every nesting level, in responses and in requests: unknown request fields are forwarded instead of silently dropped, so unsupported options such as `transcription_config.diarization` are rejected by the API rather than ignored (#3162), and fields missing from the SDK schema reach the API. Unknown steps, content blocks and annotations round-trip as the payload the server sent, including stateless multi-turn history sent back as SDK objects or as stored dicts; known variants with invalid payloads still raise locally.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009673588
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
…command

- Switch the `transcribe` default model to `gemini-3.5-transcribe` and add `gemini-3.5-transcribe` to the `Model` enum (catalog group `Speech`).
- For dedicated `*-transcribe` models, send only the audio block with `generation_config.transcription_config` (verbatim mode with `diarization_mode: "speaker"` and `timestamp_granularities: ["word"]` per `--no-speakers`/`--no-timestamps`), and render `md`, `text`, `json`, and `srt` from the returned `word_info` annotations. Segment text is cut from the response text by the annotations' byte indices, so the model's punctuation and spacing are kept (including languages written without spaces); speakers are numbered `Speaker 1`, `Speaker 2`, ... by first appearance (the API's raw labels, e.g. `spk:0`, are opaque); SRT cues are capped at 7 s / 84 bytes including the speaker prefix, without stranding a sentence's last word. md/text warn when the response has no word-level annotations.
- `gemini-3.5-transcribe` accepts audio only: video inputs fall back to `gemini-3.8-flash` when `--model` is not set, and an explicit `--model gemini-3.5-transcribe` with a video input is a usage error; for audio-only WebM (`.webm` maps to `video/webm`), both point at `--mime-type audio/webm`. A request rejected while speaker labels or timestamps are on suggests `--no-speakers --no-timestamps` or `--model gemini-3.8-flash` (those features cap audio at 30 minutes). Each JSON result now reports the model that served it.
- General multimodal models (for example `-m gemini-3.8-flash`) keep the prompt plus `response_format` JSON schema path.
- `transcribe --help` documents the audio-only restriction and the 30-minute limit that applies with speaker labels or timestamps, and links to https://ai.google.dev/gemini-api/docs/transcribe.

Fixes google-gemini/gemini-api-cli#144

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1009314715
copybara-service Bot pushed a commit that referenced this pull request Oct 29, 2026
…GAOS error classes

Have 4xx/5xx GAOS compatibility error classes (`APIStatusError`, `BadRequestError`, `AuthenticationError`, `PermissionDeniedError`, `NotFoundError`, `ConflictError`, `UnprocessableEntityError`, `RateLimitError`, `InternalServerError`, and unmapped 4xx status errors) also inherit from native `google.genai.errors.APIError` (`ClientError` for 4xx, `ServerError` for 5xx) via multiple inheritance, and populate the native `code`, `status`, and `details` attributes alongside existing `status_code` and `body` attributes. Non-HTTP and schema validation errors (`APIConnectionError`, `APITimeoutError`, `APIResponseValidationError`) remain compat-only.

Also export the GAOS error classes on `google.genai.interactions`, `google.genai.private.interactions`, `google.genai.errors` (with `InteractionsAPIError` aliasing compat `APIError`), and `google.genai.private.errors`, and deduplicate `_gaos_private.lib.compat_errors` against `_gaos.lib.compat_errors`.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3209 from googleapis:release-please--branches--main 39c95f2
PiperOrigin-RevId: 1008500737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorelease: tagged kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant