Comparing v3.59.0...v3.60.0 · googleapis/python-spanner
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
- 12 commits
- 104 files changed
- 9 contributors
Commits on Nov 11, 2025
-
feat: Exposing AutoscalingConfig in InstancePartition (#1413)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: Exposing AutoscalingConfig in InstancePartition fix: Deprecate credentials_file argument END_COMMIT_OVERRIDE PiperOrigin-RevId: 825184314 Source-Link: googleapis/googleapis@72e7439 Source-Link: googleapis/googleapis-gen@007caa0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA3Y2FhMDZiYWM2NzY1NzdmOGQ4NDViODc5M2MxNmVmZjY2YWM5YSJ9 BEGIN_NESTED_COMMIT fix: Deprecate credentials_file argument chore: Update gapic-generator-python to 1.28.0 PiperOrigin-RevId: 816753840 Source-Link: googleapis/googleapis@d06cf27 Source-Link: googleapis/googleapis-gen@a524e73 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTUyNGU3MzEwODgyYmJiOTliZmUxMzk5YjE4YmVkMzI4OTc5MjExYyJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Commits on Nov 12, 2025
-
feat: add cloud.region, request_tag and transaction_tag in span attri…
…butes (#1449) This change enhances observability by introducing these new features: 1. **Cloud Region Attribute**: The `cloud.region` attribute is now added to all OpenTelemetry spans generated by the Spanner client. This provides better geographical context for traces, aiding in performance analysis and debugging across different regions. 2. **Transaction Tag**: The `transaction_tag` set on a `Transaction` object is now correctly propagated and included in the `Commit` request. This allows for better end-to-end traceability of transactions. 3. **Request Tag**: This introduces support for `request_tag` on individual Spanner operations like `read`, `execute_sql`, and `execute_update`. When a `request_tag` is provided in the `request_options`, it is now added as a `spanner.request_tag` attribute to the corresponding OpenTelemetry span. This allows for more granular tracing and debugging of specific requests within a transaction or a snapshot. --------- Co-authored-by: surbhigarg92 <surbhigarg.92@gmail.com>
Commits on Nov 19, 2025
-
feat: Add Spanner location API (#1457)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 833474957 Source-Link: googleapis/googleapis@7418c8b Source-Link: googleapis/googleapis-gen@f969a4a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjk2OWE0YTVhZDk5N2JhZjE4OWMzOTkzMTYyOTdkNjBhODE5ODg1YiJ9 BEGIN_NESTED_COMMIT feat: Add Send and Ack mutations for Queues feat: Add QueryAdvisorResult for query plan docs: Update description for the BatchCreateSessionsRequest and Session docs: Update description for the IsolationLevel PiperOrigin-RevId: 832425466 Source-Link: googleapis/googleapis@0eeb1be Source-Link: googleapis/googleapis-gen@bae4179 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmFlNDE3OTI1MjAzZTY4YzgwNmQ5ZjZiZmUzYzIwYWIzY2JmNWQ4NiJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Commits on Dec 4, 2025
-
feat(spanner): make built-in metrics enabled by default (#1459)
Make built-in metrics enabled by default This change inverts the logic for enabling built-in OpenTelemetry metrics. Previously, metrics were disabled by default and could be enabled by setting `ENABLE_SPANNER_METRICS_ENV_VAR=true`. With this update, metrics are now enabled by default to provide better out-of-the-box observability for users. To disable metrics, users must now set the new environment variable: `SPANNER_DISABLE_BUILTIN_METRICS=true` The old `ENABLE_SPANNER_METRICS_ENV_VAR` is no longer used. Unit tests have been updated to reflect this new opt-out behavior. **BREAKING CHANGE**: Built-in metrics are now enabled by default. Users who previously did not set any environment variables will have metrics collection and export turned on automatically after upgrading. To restore the previous behavior and disable metrics, thry have to set the `SPANNER_DISABLE_BUILTIN_METRICS` environment variable to `true`.
Commits on Dec 10, 2025
-
chore(python): Add support for Python 3.14 (#1456)
This PR adds support for Python 3.14 to the library. Key changes include: Key changes include: - Updates to `owlbot.py` to include Python 3.14. - Adding Python 3.14 to the test matrix in `.github/workflows/presubmit.yaml`. - Verified `setup.py` includes the Python 3.14 classifier. - Verified `CONTRIBUTING.rst` includes Python 3.14. - Verified `noxfile.py` updates for 3.14. - Updated Kokoro configurations in `.kokoro/presubmit/` to use `system-3.14` session. - Updated `librarian.py` to account for post-processing. - Fixed a concurrency issue in `tests/unit/test_spanner.py` to make the test suite pass on Python 3.14. Towards internal issue: b/375664027 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Subham Sinha <35077434+sinhasubham@users.noreply.github.com> Co-authored-by: surbhigarg92 <surbhigarg.92@gmail.com>
5 people authored
Dec 10, 2025