Repository navigation
Comparing changes
Open a pull request
base repository: googleapis/python-genai
base: v2.32.0
head repository: googleapis/python-genai
compare: v2.33.0
- 17 commits
- 33 files changed
- 7 contributors
Commits on Oct 21, 2026
-
fix: honor an explicit zero in HttpRetryOptions delay fields
fixes #2026 PiperOrigin-RevId: 1003523084
Configuration menu - View commit details
-
Copy full SHA for 419dd89 - Browse repository at this point
Copy the full SHA 419dd89View commit details -
Configuration menu - View commit details
-
Copy full SHA for a570399 - Browse repository at this point
Copy the full SHA a570399View commit details -
feat: Add support for Python 3.15.
PiperOrigin-RevId: 1003696998
Configuration menu - View commit details
-
Copy full SHA for 1a64450 - Browse repository at this point
Copy the full SHA 1a64450View commit details -
feat: Add support for Python 3.15.
PiperOrigin-RevId: 1003758162
Configuration menu - View commit details
-
Copy full SHA for e1c4fc7 - Browse repository at this point
Copy the full SHA e1c4fc7View commit details -
test(gaos): consolidate mock HTTP server harness in tests/gaos
Extract the duplicated `ThreadingHTTPServer` + `_RecordingHandler` boilerplate across `tests/gaos/test_*_lifecycle.py` into a shared `mock_gaos_server` pytest fixture in `tests/gaos/conftest.py`: - Replace mutable class-level attributes (`captured = []`, `captured_bodies = []`) and dynamic `type("Handler", (_RecordingHandler,), ...)` subclassing with a typed per-test `MockGaosServer` state object bound to `_GaosHTTPServer`. - Standardize environment variable cleanup (`GOOGLE_GENAI_USE_VERTEXAI` and HTTP proxy variables) across all GAOS unit tests, fixing drift where proxy cleanup or `captured_bodies` overrides were omitted in newer test suites. - Support default responses, queued multi-turn responses (`responses`), SSE streaming (`stream_payload`), and route-specific `handler_fn` callbacks in a single reusable fixture. PiperOrigin-RevId: 1003900700Configuration menu - View commit details
-
Copy full SHA for 3097500 - Browse repository at this point
Copy the full SHA 3097500View commit details -
fix: Honor HttpRetryOptions for aiohttp connection errors in async re…
…quests fixes #3160 PiperOrigin-RevId: 1004094486
Configuration menu - View commit details
-
Copy full SHA for ee639c6 - Browse repository at this point
Copy the full SHA ee639c6View commit details -
chore(cli): update Speakeasy OpenAPI generator to v2.950.5
Sync `third_party/golang/github_com/speakeasy_api/openapi_generation/v/v2` to `https://github.com/speakeasy-api/openapi-generation@bbc869f` (`v2.950.5`) and regenerate all SDKs (Python, TypeScript, Java, Go, Dotnet, and CLI). - List the flags each command registers in `--usage` in the CLI (`67f55b4`). - Keep base64 input mode on shared components in Python (`c834e12`). - Compose `--usage` schemas from the runtime command tree in the CLI (`1c47aa7`). - Render streamed events from the frame the server sent in Go and the CLI (`f538ec3`). - Read body-less success responses before the timeout is cancelled in Go and the CLI (`4604e87`). - Report a projected stream's status and resume fields when it ends incomplete in the CLI (`38dc6ac`). - Move command suggestions into hints and drop the dry-run hint on CLI-raised validation errors (`7a70797`). - Upgrade generated MCP servers to SDK v2 (`894473a`). - Keep spaces from tag names in Mintlify page titles (`c407abf`). - Prewarm WASM formatters at generation start instead of process init (`9c7191f`). PiperOrigin-RevId: 1004100178
Configuration menu - View commit details
-
Copy full SHA for 99bab53 - Browse repository at this point
Copy the full SHA 99bab53View commit details -
chore: make bash the valid return type
PiperOrigin-RevId: 1004101438
Configuration menu - View commit details
-
Copy full SHA for cabef9d - Browse repository at this point
Copy the full SHA cabef9dView commit details -
build: Allow websockets 17 in the dependency range
fixes #2835 PiperOrigin-RevId: 1004115950
Configuration menu - View commit details
-
Copy full SHA for d6af6cd - Browse repository at this point
Copy the full SHA d6af6cdView commit details -
fix(client): skip mTLS URL rewriting for multi-regional .rep.googleap…
…is.com endpoints and honor GOOGLE_API_USE_MTLS_ENDPOINT in Google Auth sessions Multi-regional Vertex AI endpoints (`aiplatform.us.rep.googleapis.com` and `aiplatform.eu.rep.googleapis.com`) do not publish `.rep.mtls.googleapis.com` DNS records. When `GOOGLE_API_USE_CLIENT_CERTIFICATE=true` is set (such as on Vertex AI Agent Engine with `AGENT_IDENTITY=true`), rewriting these URLs in `to_mtls_url()` causes requests to fail with `NXDOMAIN` (`Name or service not known`). Additionally, `_request_once`, `_async_request_once`, `download_file`, and `async_download_file` previously checked `session._is_mtls` directly when using `AuthorizedSession` / `AsyncAuthorizedSession`, bypassing `_use_mtls_endpoint()` and ignoring `GOOGLE_API_USE_MTLS_ENDPOINT=never`. - Update `to_mtls_url()` to leave multi-regional `.us.rep.` and `.eu.rep.` endpoints unchanged while continuing to rewrite single-region `.rep.` endpoints. - Gate `to_mtls_url()` in the synchronous and asynchronous Google Auth session paths via `self._use_mtls_endpoint(client_cert_loaded=...)`. PiperOrigin-RevId: 1004213757
Configuration menu - View commit details
-
Copy full SHA for 4e44c84 - Browse repository at this point
Copy the full SHA 4e44c84View commit details
Commits on Oct 22, 2026
-
docs: Update unenforced JSON Schema keywords on Interactions schema f…
…ields. PiperOrigin-RevId: 1004403542
Configuration menu - View commit details
-
Copy full SHA for c97ae02 - Browse repository at this point
Copy the full SHA c97ae02View commit details -
chore(cli): update Speakeasy OpenAPI generator to v2.950.8
Sync `third_party/golang/github_com/speakeasy_api/openapi_generation/v/v2` to `https://github.com/speakeasy-api/openapi-generation@c479885` (`v2.950.8`) and regenerate all SDKs (Python, TypeScript, Java, Go, Dotnet, and CLI). This update includes an important Go toolchain security bump (`go 1.26.8` -> `go 1.26.10`): - **Security (`crypto/x509`)**: Eight eMudhra (`emSign`) intermediate CA certificate private keys were reported compromised. Go `1.26.10` blocks the public keys of those compromised intermediates in `crypto/x509` so certificate chains signed by them no longer verify. - Require `go 1.26.10` in generated `go.mod` files (`face5cd`) and update `third_party/gemini_api_cli/README.md` so consumers and CLI builds using default `GOTOOLCHAIN=auto` automatically select a patched Go `1.26.10+` toolchain instead of an older toolchain that still accepts the compromised CA intermediates. - Bump the generator's own Go toolchain to `1.26.10` (`5033ab8`). PiperOrigin-RevId: 1004902303
Configuration menu - View commit details
-
Copy full SHA for 5051e61 - Browse repository at this point
Copy the full SHA 5051e61View commit details -
feat(client): Support httpx2 with GOOGLE_GENAI_HTTP_CLIENT configuration
Support httpx2 as an opt-in HTTP transport via GOOGLE_GENAI_HTTP_CLIENT=httpx2 or custom client injection, while preserving httpx as the default in minor releases for backward compatibility. #2680 PiperOrigin-RevId: 1004914195
Configuration menu - View commit details
-
Copy full SHA for 87ddba1 - Browse repository at this point
Copy the full SHA 87ddba1View commit details -
feat: include AudioContent, DocumentContent, and VideoContent in Func…
…tionResultSubContent PiperOrigin-RevId: 1005051946
Configuration menu - View commit details
-
Copy full SHA for adbc79c - Browse repository at this point
Copy the full SHA adbc79cView commit details -
feat: Add
storetoGenerateContentConfig(Gemini Developer API on……ly) and `labels` to `LiveConnectConfig`. PiperOrigin-RevId: 1005110886
Configuration menu - View commit details
-
Copy full SHA for 16a29c9 - Browse repository at this point
Copy the full SHA 16a29c9View commit details -
chore: Prevent Pyrefly type errors by explicitly mentioning all types…
… in lists of unions And fix the type signature of a PIL Image call - use `tuple[float, float]` PiperOrigin-RevId: 1005152230
Configuration menu - View commit details
-
Copy full SHA for 096638d - Browse repository at this point
Copy the full SHA 096638dView commit details -
chore(main): release 2.33.0 (#3180)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 92f72b3 - Browse repository at this point
Copy the full SHA 92f72b3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.32.0...v2.33.0