Skip to content

Commit a25edc4

Browse files
authored
Merge branch 'main' into e2e_traces_
2 parents 885ec87 + 7a5afba commit a25edc4

File tree

61 files changed

+10795
-2186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+10795
-2186
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "3.51.0"
2+
".": "3.52.0"
33
}

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@
44

55
[1]: https://pypi.org/project/google-cloud-spanner/#history
66

7+
## [3.52.0](https://github.com/googleapis/python-spanner/compare/v3.51.0...v3.52.0) (2025-02-19)
8+
9+
10+
### Features
11+
12+
* Add additional opentelemetry span events for session pool ([a6811af](https://github.com/googleapis/python-spanner/commit/a6811afefa6739caa20203048635d94f9b85c4c8))
13+
* Add GCP standard otel attributes for python client ([#1308](https://github.com/googleapis/python-spanner/issues/1308)) ([0839f98](https://github.com/googleapis/python-spanner/commit/0839f982a3e7f5142825d10c440005a39cdb39cb))
14+
* Add updated span events + trace more methods ([#1259](https://github.com/googleapis/python-spanner/issues/1259)) ([ad69c48](https://github.com/googleapis/python-spanner/commit/ad69c48f01b09cbc5270b9cefde23715d5ac54b6))
15+
* MetricsTracer implementation ([#1291](https://github.com/googleapis/python-spanner/issues/1291)) ([8fbde6b](https://github.com/googleapis/python-spanner/commit/8fbde6b84d11db12ee4d536f0d5b8064619bdaa9))
16+
* Support GRAPH and pipe syntax in dbapi ([#1285](https://github.com/googleapis/python-spanner/issues/1285)) ([959bb9c](https://github.com/googleapis/python-spanner/commit/959bb9cda953eead89ffc271cb2a472e7139f81c))
17+
* Support transaction and request tags in dbapi ([#1262](https://github.com/googleapis/python-spanner/issues/1262)) ([ee9662f](https://github.com/googleapis/python-spanner/commit/ee9662f57dbb730afb08b9b9829e4e19bda5e69a))
18+
* **x-goog-spanner-request-id:** Introduce AtomicCounter ([#1275](https://github.com/googleapis/python-spanner/issues/1275)) ([f2483e1](https://github.com/googleapis/python-spanner/commit/f2483e11ba94f8bd1e142d1a85347d90104d1a19))
19+
20+
21+
### Bug Fixes
22+
23+
* Retry UNAVAILABLE errors for streaming RPCs ([#1278](https://github.com/googleapis/python-spanner/issues/1278)) ([ab31078](https://github.com/googleapis/python-spanner/commit/ab310786baf09033a28c76e843b654e98a21613d)), closes [#1150](https://github.com/googleapis/python-spanner/issues/1150)
24+
* **tracing:** Ensure nesting of Transaction.begin under commit + fix suggestions from feature review ([#1287](https://github.com/googleapis/python-spanner/issues/1287)) ([d9ee75a](https://github.com/googleapis/python-spanner/commit/d9ee75ac9ecfbf37a95c95a56295bdd79da3006d))
25+
* **tracing:** Only set span.status=OK if UNSET ([#1248](https://github.com/googleapis/python-spanner/issues/1248)) ([1d393fe](https://github.com/googleapis/python-spanner/commit/1d393fedf3be8b36c91d0f52a5f23cfa5c05f835)), closes [#1246](https://github.com/googleapis/python-spanner/issues/1246)
26+
* Update retry strategy for mutation calls to handle aborted transactions ([#1279](https://github.com/googleapis/python-spanner/issues/1279)) ([0887eb4](https://github.com/googleapis/python-spanner/commit/0887eb43b6ea8bd9076ca81977d1446011335853))
27+
728
## [3.51.0](https://github.com/googleapis/python-spanner/compare/v3.50.1...v3.51.0) (2024-12-05)
829

930

google/cloud/spanner_admin_database_v1/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
from .types.backup import Backup
2525
from .types.backup import BackupInfo
26+
from .types.backup import BackupInstancePartition
2627
from .types.backup import CopyBackupEncryptionConfig
2728
from .types.backup import CopyBackupMetadata
2829
from .types.backup import CopyBackupRequest
@@ -51,6 +52,8 @@
5152
from .types.common import EncryptionInfo
5253
from .types.common import OperationProgress
5354
from .types.common import DatabaseDialect
55+
from .types.spanner_database_admin import AddSplitPointsRequest
56+
from .types.spanner_database_admin import AddSplitPointsResponse
5457
from .types.spanner_database_admin import CreateDatabaseMetadata
5558
from .types.spanner_database_admin import CreateDatabaseRequest
5659
from .types.spanner_database_admin import Database
@@ -71,6 +74,7 @@
7174
from .types.spanner_database_admin import RestoreDatabaseMetadata
7275
from .types.spanner_database_admin import RestoreDatabaseRequest
7376
from .types.spanner_database_admin import RestoreInfo
77+
from .types.spanner_database_admin import SplitPoints
7478
from .types.spanner_database_admin import UpdateDatabaseDdlMetadata
7579
from .types.spanner_database_admin import UpdateDatabaseDdlRequest
7680
from .types.spanner_database_admin import UpdateDatabaseMetadata
@@ -79,8 +83,11 @@
7983

8084
__all__ = (
8185
"DatabaseAdminAsyncClient",
86+
"AddSplitPointsRequest",
87+
"AddSplitPointsResponse",
8288
"Backup",
8389
"BackupInfo",
90+
"BackupInstancePartition",
8491
"BackupSchedule",
8592
"BackupScheduleSpec",
8693
"CopyBackupEncryptionConfig",
@@ -129,6 +136,7 @@
129136
"RestoreDatabaseRequest",
130137
"RestoreInfo",
131138
"RestoreSourceType",
139+
"SplitPoints",
132140
"UpdateBackupRequest",
133141
"UpdateBackupScheduleRequest",
134142
"UpdateDatabaseDdlMetadata",

google/cloud/spanner_admin_database_v1/gapic_metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"grpc": {
1111
"libraryClient": "DatabaseAdminClient",
1212
"rpcs": {
13+
"AddSplitPoints": {
14+
"methods": [
15+
"add_split_points"
16+
]
17+
},
1318
"CopyBackup": {
1419
"methods": [
1520
"copy_backup"
@@ -140,6 +145,11 @@
140145
"grpc-async": {
141146
"libraryClient": "DatabaseAdminAsyncClient",
142147
"rpcs": {
148+
"AddSplitPoints": {
149+
"methods": [
150+
"add_split_points"
151+
]
152+
},
143153
"CopyBackup": {
144154
"methods": [
145155
"copy_backup"
@@ -270,6 +280,11 @@
270280
"rest": {
271281
"libraryClient": "DatabaseAdminClient",
272282
"rpcs": {
283+
"AddSplitPoints": {
284+
"methods": [
285+
"add_split_points"
286+
]
287+
},
273288
"CopyBackup": {
274289
"methods": [
275290
"copy_backup"

google/cloud/spanner_admin_database_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.51.0" # {x-release-please-version}
16+
__version__ = "3.52.0" # {x-release-please-version}

0 commit comments

Comments
 (0)