-
- As of January 1, 2020 this library no longer supports Python 2 on the latest released version. +
+ As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.
diff --git a/docs/conf.py b/docs/conf.py index 78e49ed55c..4e0af4e74e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- -# Copyright 2024 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,7 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# google-cloud-spanner documentation build configuration file +# +# google-cloud-spanner-admin-instance documentation build configuration file # # This file is execfile()d with the current directory set to its # containing dir. @@ -42,7 +43,7 @@ # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = "1.5.5" +needs_sphinx = "4.5.0" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom @@ -80,9 +81,9 @@ root_doc = "index" # General information about the project. -project = "google-cloud-spanner" -copyright = "2019, Google" -author = "Google APIs" +project = u"google-cloud-spanner-admin-instance" +copyright = u"2025, Google, LLC" +author = u"Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -154,9 +155,9 @@ # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - "description": "Google Cloud Client Libraries for google-cloud-spanner", + "description": "Google Cloud Client Libraries for google-cloud-spanner-admin-instance", "github_user": "googleapis", - "github_repo": "python-spanner", + "github_repo": "google-cloud-python", "github_banner": True, "font_family": "'Roboto', Georgia, sans", "head_font_family": "'Roboto', Georgia, serif", @@ -248,7 +249,7 @@ # html_search_scorer = 'scorer.js' # Output file base name for HTML help builder. -htmlhelp_basename = "google-cloud-spanner-doc" +htmlhelp_basename = "google-cloud-spanner-admin-instance-doc" # -- Options for warnings ------------------------------------------------------ @@ -266,13 +267,13 @@ latex_elements = { # The paper size ('letterpaper' or 'a4paper'). - #'papersize': 'letterpaper', + # 'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). - #'pointsize': '10pt', + # 'pointsize': '10pt', # Additional stuff for the LaTeX preamble. - #'preamble': '', + # 'preamble': '', # Latex figure (float) alignment - #'figure_align': 'htbp', + # 'figure_align': 'htbp', } # Grouping the document tree into LaTeX files. List of tuples @@ -281,8 +282,8 @@ latex_documents = [ ( root_doc, - "google-cloud-spanner.tex", - "google-cloud-spanner Documentation", + "google-cloud-spanner-admin-instance.tex", + u"google-cloud-spanner-admin-instance Documentation", author, "manual", ) @@ -316,8 +317,8 @@ man_pages = [ ( root_doc, - "google-cloud-spanner", - "google-cloud-spanner Documentation", + "google-cloud-spanner-admin-instance", + "google-cloud-spanner-admin-instance Documentation", [author], 1, ) @@ -335,11 +336,11 @@ texinfo_documents = [ ( root_doc, - "google-cloud-spanner", - "google-cloud-spanner Documentation", + "google-cloud-spanner-admin-instance", + "google-cloud-spanner-admin-instance Documentation", author, - "google-cloud-spanner", - "google-cloud-spanner Library", + "google-cloud-spanner-admin-instance", + "google-cloud-spanner-admin-instance Library", "APIs", ) ] diff --git a/google/cloud/spanner_admin_database_v1/gapic_version.py b/google/cloud/spanner_admin_database_v1/gapic_version.py index 17acb3026a..745f02e051 100644 --- a/google/cloud/spanner_admin_database_v1/gapic_version.py +++ b/google/cloud/spanner_admin_database_v1/gapic_version.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/spanner_admin_instance_v1/gapic_version.py b/google/cloud/spanner_admin_instance_v1/gapic_version.py index 17acb3026a..745f02e051 100644 --- a/google/cloud/spanner_admin_instance_v1/gapic_version.py +++ b/google/cloud/spanner_admin_instance_v1/gapic_version.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/spanner_v1/gapic_version.py b/google/cloud/spanner_v1/gapic_version.py index 17acb3026a..745f02e051 100644 --- a/google/cloud/spanner_v1/gapic_version.py +++ b/google/cloud/spanner_v1/gapic_version.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json index e89008727d..e6eeb1f977 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner-admin-database", - "version": "0.0.0" + "version": "3.59.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json index f58e9794e2..92ae0279ef 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner-admin-instance", - "version": "0.0.0" + "version": "3.59.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.spanner.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.v1.json index f7f33c3d29..4d84b1ab9a 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner", - "version": "0.0.0" + "version": "3.59.0" }, "snippets": [ { diff --git a/setup.py b/setup.py index 216b095d0b..858982f783 100644 --- a/setup.py +++ b/setup.py @@ -44,15 +44,18 @@ "proto-plus >= 1.22.2, <2.0.0; python_version>='3.11'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", "grpc-interceptor >= 0.15.4", - # Make OpenTelemetry a core dependency - "opentelemetry-api >= 1.22.0", - "opentelemetry-sdk >= 1.22.0", - "opentelemetry-semantic-conventions >= 0.43b0", - "opentelemetry-resourcedetector-gcp >= 1.8.0a0", - "google-cloud-monitoring >= 2.16.0", - "mmh3 >= 4.1.0 ", ] -extras = {"libcst": "libcst >= 0.2.5"} +extras = { + "tracing": [ + "opentelemetry-api >= 1.22.0", + "opentelemetry-sdk >= 1.22.0", + "opentelemetry-semantic-conventions >= 0.43b0", + "opentelemetry-resourcedetector-gcp >= 1.8.0a0", + "google-cloud-monitoring >= 2.16.0", + "mmh3 >= 4.1.0 ", + ], + "libcst": "libcst >= 0.2.5", +} url = "https://github.com/googleapis/python-spanner" From 5e143437a1b7f4a06e65eb0cb839ec0d09cca840 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 11 Nov 2025 22:51:14 +0000 Subject: [PATCH 36/45] update sha --- .librarian/state.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 2e3ea1d9cd..7136aadc7c 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1,4 +1,4 @@ -image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:39628f6e89c9cad27973b9a39a50f7052bec0435ee58c7027b4fa6b655943e31 +image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 libraries: - id: google-cloud-spanner version: 3.59.0 From 362360435a60ec651bf464170066c4fc7ed7c3c3 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 11 Nov 2025 22:53:16 +0000 Subject: [PATCH 37/45] remove files --- .github/auto-approve.yml | 3 --- .github/release-trigger.yml | 2 -- .github/snippet-bot.yml | 0 .github/sync-repo-settings.yaml | 15 --------------- 4 files changed, 20 deletions(-) delete mode 100644 .github/auto-approve.yml delete mode 100644 .github/release-trigger.yml delete mode 100644 .github/snippet-bot.yml delete mode 100644 .github/sync-repo-settings.yaml diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml deleted file mode 100644 index 311ebbb853..0000000000 --- a/.github/auto-approve.yml +++ /dev/null @@ -1,3 +0,0 @@ -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve -processes: - - "OwlBotTemplateChanges" diff --git a/.github/release-trigger.yml b/.github/release-trigger.yml deleted file mode 100644 index 3c0f1bfc7e..0000000000 --- a/.github/release-trigger.yml +++ /dev/null @@ -1,2 +0,0 @@ -enabled: true -multiScmName: python-spanner diff --git a/.github/snippet-bot.yml b/.github/snippet-bot.yml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml deleted file mode 100644 index d726d1193d..0000000000 --- a/.github/sync-repo-settings.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings -# Rules for main branch protection -branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `main` -- pattern: main - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: true - requiredStatusCheckContexts: - - 'Kokoro' - - 'Kokoro system-3.12' - - 'cla/google' - - 'Samples - Lint' - - 'Samples - Python 3.9' - - 'Samples - Python 3.12' From 594ccfe45eae90713f888276859cb31c4e5add7d Mon Sep 17 00:00:00 2001 From: ohmayr Date: Wed, 12 Nov 2025 02:10:22 +0000 Subject: [PATCH 38/45] update python version for lint --- .github/workflows/presubmit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml index 67db6136d1..6e5f1af29b 100644 --- a/.github/workflows/presubmit.yaml +++ b/.github/workflows/presubmit.yaml @@ -17,7 +17,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v6 with: - python-version: 3.13 + python-version: 3.14 - name: Install nox run: python -m pip install nox - name: Check formatting From 4b3bc2ce6dd50cb42068eef4ee954d749a9ac758 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Fri, 14 Nov 2025 02:36:04 +0000 Subject: [PATCH 39/45] revert setup file to main --- setup.py | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 858982f783..216b095d0b 100644 --- a/setup.py +++ b/setup.py @@ -44,18 +44,15 @@ "proto-plus >= 1.22.2, <2.0.0; python_version>='3.11'", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", "grpc-interceptor >= 0.15.4", + # Make OpenTelemetry a core dependency + "opentelemetry-api >= 1.22.0", + "opentelemetry-sdk >= 1.22.0", + "opentelemetry-semantic-conventions >= 0.43b0", + "opentelemetry-resourcedetector-gcp >= 1.8.0a0", + "google-cloud-monitoring >= 2.16.0", + "mmh3 >= 4.1.0 ", ] -extras = { - "tracing": [ - "opentelemetry-api >= 1.22.0", - "opentelemetry-sdk >= 1.22.0", - "opentelemetry-semantic-conventions >= 0.43b0", - "opentelemetry-resourcedetector-gcp >= 1.8.0a0", - "google-cloud-monitoring >= 2.16.0", - "mmh3 >= 4.1.0 ", - ], - "libcst": "libcst >= 0.2.5", -} +extras = {"libcst": "libcst >= 0.2.5"} url = "https://github.com/googleapis/python-spanner" From 907ed25c3f9f40b5013f6076a888a411edec2b77 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Mon, 17 Nov 2025 23:20:22 +0000 Subject: [PATCH 40/45] reorder apis --- .librarian/state.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 7136aadc7c..e277d77af6 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -4,12 +4,12 @@ libraries: version: 3.59.0 last_generated_commit: cf0434f4bd20618db60ddd16a1e7db2c0dfb9158 apis: - - path: google/spanner/v1 - service_config: spanner.yaml - path: google/spanner/admin/database/v1 service_config: spanner.yaml - path: google/spanner/admin/instance/v1 service_config: spanner.yaml + - path: google/spanner/v1 + service_config: spanner.yaml source_roots: - . preserve_regex: [] From 5e8d17b90c530eb72551358451a3f7244818598b Mon Sep 17 00:00:00 2001 From: ohmayr Date: Mon, 17 Nov 2025 23:31:09 +0000 Subject: [PATCH 41/45] fix docs --- .librarian/state.yaml | 2 +- docs/conf.py | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index e277d77af6..d7f8c76918 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -2,7 +2,7 @@ image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-li libraries: - id: google-cloud-spanner version: 3.59.0 - last_generated_commit: cf0434f4bd20618db60ddd16a1e7db2c0dfb9158 + last_generated_commit: 136201b66f70829232b7ec63fa6e35ca765bcacb apis: - path: google/spanner/admin/database/v1 service_config: spanner.yaml diff --git a/docs/conf.py b/docs/conf.py index 4e0af4e74e..010a6b6cda 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ # limitations under the License. # # -# google-cloud-spanner-admin-instance documentation build configuration file +# google-cloud-spanner documentation build configuration file # # This file is execfile()d with the current directory set to its # containing dir. @@ -81,7 +81,7 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-spanner-admin-instance" +project = u"google-cloud-spanner" copyright = u"2025, Google, LLC" author = u"Google APIs" @@ -155,7 +155,7 @@ # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - "description": "Google Cloud Client Libraries for google-cloud-spanner-admin-instance", + "description": "Google Cloud Client Libraries for google-cloud-spanner", "github_user": "googleapis", "github_repo": "google-cloud-python", "github_banner": True, @@ -249,7 +249,7 @@ # html_search_scorer = 'scorer.js' # Output file base name for HTML help builder. -htmlhelp_basename = "google-cloud-spanner-admin-instance-doc" +htmlhelp_basename = "google-cloud-spanner-doc" # -- Options for warnings ------------------------------------------------------ @@ -282,8 +282,8 @@ latex_documents = [ ( root_doc, - "google-cloud-spanner-admin-instance.tex", - u"google-cloud-spanner-admin-instance Documentation", + "google-cloud-spanner.tex", + u"google-cloud-spanner Documentation", author, "manual", ) @@ -317,8 +317,8 @@ man_pages = [ ( root_doc, - "google-cloud-spanner-admin-instance", - "google-cloud-spanner-admin-instance Documentation", + "google-cloud-spanner", + "google-cloud-spanner Documentation", [author], 1, ) @@ -336,11 +336,11 @@ texinfo_documents = [ ( root_doc, - "google-cloud-spanner-admin-instance", - "google-cloud-spanner-admin-instance Documentation", + "google-cloud-spanner", + "google-cloud-spanner Documentation", author, - "google-cloud-spanner-admin-instance", - "google-cloud-spanner-admin-instance Library", + "google-cloud-spanner", + "google-cloud-spanner Library", "APIs", ) ] From 41e701c850f37eb4d7f5e2c0f035620a4780b869 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 18 Nov 2025 22:02:53 +0000 Subject: [PATCH 42/45] address failure --- .librarian/state.yaml | 2 +- google/cloud/spanner_dbapi/version.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index d7f8c76918..e277d77af6 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -2,7 +2,7 @@ image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-li libraries: - id: google-cloud-spanner version: 3.59.0 - last_generated_commit: 136201b66f70829232b7ec63fa6e35ca765bcacb + last_generated_commit: cf0434f4bd20618db60ddd16a1e7db2c0dfb9158 apis: - path: google/spanner/admin/database/v1 service_config: spanner.yaml diff --git a/google/cloud/spanner_dbapi/version.py b/google/cloud/spanner_dbapi/version.py index 6fbb80eb90..0ae3005c43 100644 --- a/google/cloud/spanner_dbapi/version.py +++ b/google/cloud/spanner_dbapi/version.py @@ -13,8 +13,8 @@ # limitations under the License. import platform -from google.cloud.spanner_v1 import gapic_version as package_version PY_VERSION = platform.python_version() -VERSION = package_version.__version__ +__version__ = "3.59.0" +VERSION = __version__ DEFAULT_USER_AGENT = "gl-dbapi/" + VERSION From 69fccf72b11f890657d1666ef8ef1aec016d5092 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 18 Nov 2025 22:10:09 +0000 Subject: [PATCH 43/45] rename owlbot.py to librarian.py --- .librarian/state.yaml | 2 +- owlbot.py => librarian.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename owlbot.py => librarian.py (100%) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index e277d77af6..4585e16f11 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1,4 +1,4 @@ -image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 +image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e601da6e29c993e14c52867f2c088dfb841beae618d2a4f1e0f7970a888ab020 libraries: - id: google-cloud-spanner version: 3.59.0 diff --git a/owlbot.py b/librarian.py similarity index 100% rename from owlbot.py rename to librarian.py From 6f8a89bc6cdb29aba5f260a8a67c2883a8540b59 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 18 Nov 2025 22:12:58 +0000 Subject: [PATCH 44/45] rename file --- .librarian/generator-input/{owlbot.py => librarian.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .librarian/generator-input/{owlbot.py => librarian.py} (100%) diff --git a/.librarian/generator-input/owlbot.py b/.librarian/generator-input/librarian.py similarity index 100% rename from .librarian/generator-input/owlbot.py rename to .librarian/generator-input/librarian.py From 97d7374a2da97a0ae65623e3f7d7f76a34571b5c Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 18 Nov 2025 22:14:23 +0000 Subject: [PATCH 45/45] chore: create a release --- .librarian/state.yaml | 2 +- CHANGELOG.md | 16 ++++++++++++++++ .../spanner_admin_database_v1/gapic_version.py | 2 +- .../spanner_admin_instance_v1/gapic_version.py | 2 +- google/cloud/spanner_dbapi/version.py | 2 +- google/cloud/spanner_v1/gapic_version.py | 2 +- ...etadata_google.spanner.admin.database.v1.json | 2 +- ...etadata_google.spanner.admin.instance.v1.json | 2 +- .../snippet_metadata_google.spanner.v1.json | 2 +- 9 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 4585e16f11..28820b0b65 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1,7 +1,7 @@ image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e601da6e29c993e14c52867f2c088dfb841beae618d2a4f1e0f7970a888ab020 libraries: - id: google-cloud-spanner - version: 3.59.0 + version: 3.60.0 last_generated_commit: cf0434f4bd20618db60ddd16a1e7db2c0dfb9158 apis: - path: google/spanner/admin/database/v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index b5bbe07325..071c851d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ [1]: https://pypi.org/project/google-cloud-spanner/#history +## [3.60.0](https://github.com/googleapis/python-spanner/compare/v3.59.0...v3.60.0) (2025-11-18) + + +### Features + +* add cloud.region, request_tag and transaction_tag in span attributes (#1449) ([d37fb80a39aea859059ae7d85adc75095a6e14e6](https://github.com/googleapis/python-spanner/commit/d37fb80a39aea859059ae7d85adc75095a6e14e6)) +* Exposing AutoscalingConfig in InstancePartition ([8b6f154085543953556acde161a739414988b7f0](https://github.com/googleapis/python-spanner/commit/8b6f154085543953556acde161a739414988b7f0)) +* enable OpenTelemetry metrics and tracing by default (#1410) ([bb5095dfb615159a575933a332382ba93ba4bbd1](https://github.com/googleapis/python-spanner/commit/bb5095dfb615159a575933a332382ba93ba4bbd1)) +* add support for experimental host (#1452) ([9535e5e096f6ab53f2817af4fd7ac1fa2ca71660](https://github.com/googleapis/python-spanner/commit/9535e5e096f6ab53f2817af4fd7ac1fa2ca71660)) + + +### Bug Fixes + +* Deprecate credentials_file argument ([8b6f154085543953556acde161a739414988b7f0](https://github.com/googleapis/python-spanner/commit/8b6f154085543953556acde161a739414988b7f0)) +* configure keepAlive time for gRPC TCP connections (#1448) ([efb2833e52e54b096e552a4d91f94b017ac733bb](https://github.com/googleapis/python-spanner/commit/efb2833e52e54b096e552a4d91f94b017ac733bb)) + ## [3.59.0](https://github.com/googleapis/python-spanner/compare/v3.58.0...v3.59.0) (2025-10-18) diff --git a/google/cloud/spanner_admin_database_v1/gapic_version.py b/google/cloud/spanner_admin_database_v1/gapic_version.py index 745f02e051..992322a033 100644 --- a/google/cloud/spanner_admin_database_v1/gapic_version.py +++ b/google/cloud/spanner_admin_database_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "3.59.0" # {x-release-please-version} +__version__ = "3.60.0" # {x-release-please-version} diff --git a/google/cloud/spanner_admin_instance_v1/gapic_version.py b/google/cloud/spanner_admin_instance_v1/gapic_version.py index 745f02e051..992322a033 100644 --- a/google/cloud/spanner_admin_instance_v1/gapic_version.py +++ b/google/cloud/spanner_admin_instance_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "3.59.0" # {x-release-please-version} +__version__ = "3.60.0" # {x-release-please-version} diff --git a/google/cloud/spanner_dbapi/version.py b/google/cloud/spanner_dbapi/version.py index 0ae3005c43..ee7431572b 100644 --- a/google/cloud/spanner_dbapi/version.py +++ b/google/cloud/spanner_dbapi/version.py @@ -15,6 +15,6 @@ import platform PY_VERSION = platform.python_version() -__version__ = "3.59.0" +__version__ = "3.60.0" VERSION = __version__ DEFAULT_USER_AGENT = "gl-dbapi/" + VERSION diff --git a/google/cloud/spanner_v1/gapic_version.py b/google/cloud/spanner_v1/gapic_version.py index 745f02e051..992322a033 100644 --- a/google/cloud/spanner_v1/gapic_version.py +++ b/google/cloud/spanner_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "3.59.0" # {x-release-please-version} +__version__ = "3.60.0" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json index e6eeb1f977..0bfe97d988 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner-admin-database", - "version": "3.59.0" + "version": "3.60.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json index 92ae0279ef..9b51de3471 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner-admin-instance", - "version": "3.59.0" + "version": "3.60.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.spanner.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.v1.json index 4d84b1ab9a..1ec5a82e5a 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner", - "version": "3.59.0" + "version": "3.60.0" }, "snippets": [ {