From 08beb1714824ea53ce8b05f002e4314997ea3ff0 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Tue, 3 Dec 2024 04:30:32 +0000
Subject: [PATCH 1/2] chore(main): release 6.82.0
---
CHANGELOG.md | 20 +++++++++++++++++++
benchmarks/pom.xml | 2 +-
google-cloud-spanner-bom/pom.xml | 18 ++++++++---------
google-cloud-spanner-executor/pom.xml | 4 ++--
google-cloud-spanner/pom.xml | 4 ++--
.../pom.xml | 4 ++--
.../pom.xml | 4 ++--
grpc-google-cloud-spanner-executor-v1/pom.xml | 4 ++--
grpc-google-cloud-spanner-v1/pom.xml | 4 ++--
pom.xml | 20 +++++++++----------
.../pom.xml | 4 ++--
.../pom.xml | 4 ++--
.../pom.xml | 4 ++--
proto-google-cloud-spanner-v1/pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 20 +++++++++----------
16 files changed, 71 insertions(+), 51 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 395574d2ab..ce1e733c4a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,25 @@
# Changelog
+## [6.82.0](https://github.com/googleapis/java-spanner/compare/v6.81.2...v6.82.0) (2024-12-03)
+
+
+### Features
+
+* Add option for retrying DML as PDML ([#3480](https://github.com/googleapis/java-spanner/issues/3480)) ([b545557](https://github.com/googleapis/java-spanner/commit/b545557b1a27868aeb5115b3947d42db015cc00e))
+* Add the last statement option to ExecuteSqlRequest and ExecuteBatchDmlRequest ([76ab801](https://github.com/googleapis/java-spanner/commit/76ab8011b0aa03e5bb98e375595358732cde31b7))
+
+
+### Bug Fixes
+
+* **deps:** Update the Java code generator (gapic-generator-java) to 2.50.0 ([76ab801](https://github.com/googleapis/java-spanner/commit/76ab8011b0aa03e5bb98e375595358732cde31b7))
+* Shutdown built in metrics meter provider ([#3518](https://github.com/googleapis/java-spanner/issues/3518)) ([c935e2e](https://github.com/googleapis/java-spanner/commit/c935e2eff780100273bc35c11458485c9bb05230))
+* **spanner:** GetEdition() is returning null for Instance ([#3496](https://github.com/googleapis/java-spanner/issues/3496)) ([77cb585](https://github.com/googleapis/java-spanner/commit/77cb585d57fd30f953b0ffb80be124e3cb1c6f39))
+
+
+### Dependencies
+
+* Update dependency commons-io:commons-io to v2.18.0 ([#3492](https://github.com/googleapis/java-spanner/issues/3492)) ([5c8b3ad](https://github.com/googleapis/java-spanner/commit/5c8b3ade163b4cdb81a53f5dcf777ebba48ef265))
+
## [6.81.2](https://github.com/googleapis/java-spanner/compare/v6.81.1...v6.81.2) (2024-11-20)
diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml
index 1954a1a134..22c13635ce 100644
--- a/benchmarks/pom.xml
+++ b/benchmarks/pom.xml
@@ -24,7 +24,7 @@
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/google-cloud-spanner-bom/pom.xml b/google-cloud-spanner-bom/pom.xml
index 206d9b3dd1..1db01f1094 100644
--- a/google-cloud-spanner-bom/pom.xml
+++ b/google-cloud-spanner-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-spanner-bom
- 6.81.3-SNAPSHOT
+ 6.82.0
pom
com.google.cloud
@@ -53,43 +53,43 @@
com.google.cloud
google-cloud-spanner
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.cloud
google-cloud-spanner
test-jar
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-instance-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-database-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
proto-google-cloud-spanner-admin-instance-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
proto-google-cloud-spanner-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
proto-google-cloud-spanner-admin-database-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/google-cloud-spanner-executor/pom.xml b/google-cloud-spanner-executor/pom.xml
index e8f01722d9..c108b69b1a 100644
--- a/google-cloud-spanner-executor/pom.xml
+++ b/google-cloud-spanner-executor/pom.xml
@@ -5,14 +5,14 @@
4.0.0
com.google.cloud
google-cloud-spanner-executor
- 6.81.3-SNAPSHOT
+ 6.82.0
jar
Google Cloud Spanner Executor
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/google-cloud-spanner/pom.xml b/google-cloud-spanner/pom.xml
index c4a9cc0953..b7589c1020 100644
--- a/google-cloud-spanner/pom.xml
+++ b/google-cloud-spanner/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-spanner
- 6.81.3-SNAPSHOT
+ 6.82.0
jar
Google Cloud Spanner
https://github.com/googleapis/java-spanner
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
google-cloud-spanner
diff --git a/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/grpc-google-cloud-spanner-admin-database-v1/pom.xml
index 91aacbe271..000a88b626 100644
--- a/grpc-google-cloud-spanner-admin-database-v1/pom.xml
+++ b/grpc-google-cloud-spanner-admin-database-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-database-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
grpc-google-cloud-spanner-admin-database-v1
GRPC library for grpc-google-cloud-spanner-admin-database-v1
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/grpc-google-cloud-spanner-admin-instance-v1/pom.xml
index 8423332b6c..b794aca19d 100644
--- a/grpc-google-cloud-spanner-admin-instance-v1/pom.xml
+++ b/grpc-google-cloud-spanner-admin-instance-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-instance-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
grpc-google-cloud-spanner-admin-instance-v1
GRPC library for grpc-google-cloud-spanner-admin-instance-v1
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/grpc-google-cloud-spanner-executor-v1/pom.xml b/grpc-google-cloud-spanner-executor-v1/pom.xml
index c4fc06b270..b63e9bd603 100644
--- a/grpc-google-cloud-spanner-executor-v1/pom.xml
+++ b/grpc-google-cloud-spanner-executor-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-spanner-executor-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
grpc-google-cloud-spanner-executor-v1
GRPC library for google-cloud-spanner
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/grpc-google-cloud-spanner-v1/pom.xml b/grpc-google-cloud-spanner-v1/pom.xml
index 5454023dd3..dc1c2c1c93 100644
--- a/grpc-google-cloud-spanner-v1/pom.xml
+++ b/grpc-google-cloud-spanner-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-spanner-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
grpc-google-cloud-spanner-v1
GRPC library for grpc-google-cloud-spanner-v1
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/pom.xml b/pom.xml
index 033368b313..72a2a6797e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-spanner-parent
pom
- 6.81.3-SNAPSHOT
+ 6.82.0
Google Cloud Spanner Parent
https://github.com/googleapis/java-spanner
@@ -61,47 +61,47 @@
com.google.api.grpc
proto-google-cloud-spanner-admin-instance-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
proto-google-cloud-spanner-executor-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-executor-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
proto-google-cloud-spanner-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
proto-google-cloud-spanner-admin-database-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-instance-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-database-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
com.google.cloud
google-cloud-spanner
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/proto-google-cloud-spanner-admin-database-v1/pom.xml b/proto-google-cloud-spanner-admin-database-v1/pom.xml
index e8d3a78f66..4d29a245a8 100644
--- a/proto-google-cloud-spanner-admin-database-v1/pom.xml
+++ b/proto-google-cloud-spanner-admin-database-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-spanner-admin-database-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
proto-google-cloud-spanner-admin-database-v1
PROTO library for proto-google-cloud-spanner-admin-database-v1
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/proto-google-cloud-spanner-admin-instance-v1/pom.xml
index ac5b06ff1c..08da9e3b85 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/pom.xml
+++ b/proto-google-cloud-spanner-admin-instance-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-spanner-admin-instance-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
proto-google-cloud-spanner-admin-instance-v1
PROTO library for proto-google-cloud-spanner-admin-instance-v1
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/proto-google-cloud-spanner-executor-v1/pom.xml b/proto-google-cloud-spanner-executor-v1/pom.xml
index a990c3c1c5..23a213ca72 100644
--- a/proto-google-cloud-spanner-executor-v1/pom.xml
+++ b/proto-google-cloud-spanner-executor-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-spanner-executor-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
proto-google-cloud-spanner-executor-v1
Proto library for google-cloud-spanner
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/proto-google-cloud-spanner-v1/pom.xml b/proto-google-cloud-spanner-v1/pom.xml
index d81e8d8cfd..8c3dc7a8ad 100644
--- a/proto-google-cloud-spanner-v1/pom.xml
+++ b/proto-google-cloud-spanner-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-spanner-v1
- 6.81.3-SNAPSHOT
+ 6.82.0
proto-google-cloud-spanner-v1
PROTO library for proto-google-cloud-spanner-v1
com.google.cloud
google-cloud-spanner-parent
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index a16c9d1956..cca1680ac1 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -32,7 +32,7 @@
com.google.cloud
google-cloud-spanner
- 6.81.3-SNAPSHOT
+ 6.82.0
diff --git a/versions.txt b/versions.txt
index 0cc11757a0..745b2174e2 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,13 +1,13 @@
# Format:
# module:released-version:current-version
-proto-google-cloud-spanner-admin-instance-v1:6.81.2:6.81.3-SNAPSHOT
-proto-google-cloud-spanner-v1:6.81.2:6.81.3-SNAPSHOT
-proto-google-cloud-spanner-admin-database-v1:6.81.2:6.81.3-SNAPSHOT
-grpc-google-cloud-spanner-v1:6.81.2:6.81.3-SNAPSHOT
-grpc-google-cloud-spanner-admin-instance-v1:6.81.2:6.81.3-SNAPSHOT
-grpc-google-cloud-spanner-admin-database-v1:6.81.2:6.81.3-SNAPSHOT
-google-cloud-spanner:6.81.2:6.81.3-SNAPSHOT
-google-cloud-spanner-executor:6.81.2:6.81.3-SNAPSHOT
-proto-google-cloud-spanner-executor-v1:6.81.2:6.81.3-SNAPSHOT
-grpc-google-cloud-spanner-executor-v1:6.81.2:6.81.3-SNAPSHOT
+proto-google-cloud-spanner-admin-instance-v1:6.82.0:6.82.0
+proto-google-cloud-spanner-v1:6.82.0:6.82.0
+proto-google-cloud-spanner-admin-database-v1:6.82.0:6.82.0
+grpc-google-cloud-spanner-v1:6.82.0:6.82.0
+grpc-google-cloud-spanner-admin-instance-v1:6.82.0:6.82.0
+grpc-google-cloud-spanner-admin-database-v1:6.82.0:6.82.0
+google-cloud-spanner:6.82.0:6.82.0
+google-cloud-spanner-executor:6.82.0:6.82.0
+proto-google-cloud-spanner-executor-v1:6.82.0:6.82.0
+grpc-google-cloud-spanner-executor-v1:6.82.0:6.82.0
From 07f7c5f1e9204f660b5e64dd0962fc468f83c2db Mon Sep 17 00:00:00 2001
From: cloud-java-bot
Date: Tue, 3 Dec 2024 04:33:07 +0000
Subject: [PATCH 2/2] chore: generate libraries at Tue Dec 3 04:31:00 UTC 2024
---
.repo-metadata.json | 2 +-
README.md | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.repo-metadata.json b/.repo-metadata.json
index 7848b32f2b..670b37d595 100644
--- a/.repo-metadata.json
+++ b/.repo-metadata.json
@@ -2,7 +2,7 @@
"api_shortname": "spanner",
"name_pretty": "Cloud Spanner",
"product_documentation": "https://cloud.google.com/spanner/docs/",
- "api_description": "is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, \\nschemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication \\nfor high availability.\\n\\nBe sure to activate the Cloud Spanner API on the Developer's Console to\\nuse Cloud Spanner from your project.",
+ "api_description": "is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, schemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication for high availability. Be sure to activate the Cloud Spanner API on the Developer's Console to use Cloud Spanner from your project.",
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-spanner/latest/history",
"release_level": "stable",
"transport": "grpc",
diff --git a/README.md b/README.md
index 294ac252fd..f3c6528dbe 100644
--- a/README.md
+++ b/README.md
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-spanner'
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-spanner:6.81.1'
+implementation 'com.google.cloud:google-cloud-spanner:6.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.81.1"
+libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.82.0"
```
## Authentication
@@ -91,7 +91,7 @@ to add `google-cloud-spanner` as a dependency in your code.
## About Cloud Spanner
-[Cloud Spanner][product-docs] is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, \nschemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication \nfor high availability.\n\nBe sure to activate the Cloud Spanner API on the Developer's Console to\nuse Cloud Spanner from your project.
+[Cloud Spanner][product-docs] is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, schemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication for high availability. Be sure to activate the Cloud Spanner API on the Developer's Console to use Cloud Spanner from your project.
See the [Cloud Spanner client library docs][javadocs] to learn how to
use this Cloud Spanner Client Library.
@@ -721,7 +721,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-spanner/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.81.1
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles