Date: Wed, 14 Jul 2021 10:44:28 +0200
Subject: [PATCH 07/16] feat: add support for tagging to JDBC connection (#270)
* feat: add support for tagging to JDBC connection
* fix: add ignored differences + default implementations
---
clirr-ignored-differences.xml | 22 ++++++++++
.../jdbc/CloudSpannerJdbcConnection.java | 41 +++++++++++++++++++
.../cloud/spanner/jdbc/JdbcConnection.java | 32 +++++++++++++++
3 files changed, 95 insertions(+)
diff --git a/clirr-ignored-differences.xml b/clirr-ignored-differences.xml
index ac9c147d1..0962d5e12 100644
--- a/clirr-ignored-differences.xml
+++ b/clirr-ignored-differences.xml
@@ -111,4 +111,26 @@
com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection
void setReturnCommitStats(boolean)
+
+
+
+ 7012
+ com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection
+ java.lang.String getTransactionTag()
+
+
+ 7012
+ com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection
+ void setTransactionTag(java.lang.String)
+
+
+ 7012
+ com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection
+ java.lang.String getStatementTag()
+
+
+ 7012
+ com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection
+ void setStatementTag(java.lang.String)
+
diff --git a/src/main/java/com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection.java b/src/main/java/com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection.java
index 4a5f001a8..50ae71c56 100644
--- a/src/main/java/com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection.java
+++ b/src/main/java/com/google/cloud/spanner/jdbc/CloudSpannerJdbcConnection.java
@@ -39,6 +39,47 @@
*/
public interface CloudSpannerJdbcConnection extends Connection {
+ /**
+ * Sets the transaction tag to use for the current transaction. This method may only be called
+ * when in a transaction, and before the transaction is actually started, i.e. before any
+ * statements have been executed in the transaction.
+ *
+ * The tag will be set as the transaction tag of all statements during the transaction, and as
+ * the transaction tag of the commit.
+ *
+ *
The transaction tag will automatically be cleared after the transaction has ended.
+ *
+ * @param tag The tag to use.
+ */
+ default void setTransactionTag(String tag) throws SQLException {
+ throw new UnsupportedOperationException();
+ };
+
+ /** @return The transaction tag of the current transaction. */
+ default String getTransactionTag() throws SQLException {
+ throw new UnsupportedOperationException();
+ };
+
+ /**
+ * Sets the statement tag to use for the next statement that will be executed. The tag is
+ * automatically cleared after the statement is executed. Statement tags can be used both with
+ * autocommit=true and autocommit=false, and can be used for partitioned DML.
+ *
+ * @param tag The statement tag to use with the next statement that will be executed on this
+ * connection.
+ */
+ default void setStatementTag(String tag) throws SQLException {
+ throw new UnsupportedOperationException();
+ };
+
+ /**
+ * @return The statement tag that will be used with the next statement that is executed on this
+ * connection.
+ */
+ default String getStatementTag() throws SQLException {
+ throw new UnsupportedOperationException();
+ };
+
/**
* Sets the transaction mode to use for current transaction. This method may only be called when
* in a transaction, and before the transaction is actually started, i.e. before any statements
diff --git a/src/main/java/com/google/cloud/spanner/jdbc/JdbcConnection.java b/src/main/java/com/google/cloud/spanner/jdbc/JdbcConnection.java
index bf9120f53..53c1dc096 100644
--- a/src/main/java/com/google/cloud/spanner/jdbc/JdbcConnection.java
+++ b/src/main/java/com/google/cloud/spanner/jdbc/JdbcConnection.java
@@ -78,6 +78,38 @@ public String nativeSQL(String sql) throws SQLException {
.sqlWithNamedParameters;
}
+ @Override
+ public String getStatementTag() throws SQLException {
+ checkClosed();
+ return getSpannerConnection().getStatementTag();
+ }
+
+ @Override
+ public void setStatementTag(String tag) throws SQLException {
+ checkClosed();
+ try {
+ getSpannerConnection().setStatementTag(tag);
+ } catch (SpannerException e) {
+ throw JdbcSqlExceptionFactory.of(e);
+ }
+ }
+
+ @Override
+ public String getTransactionTag() throws SQLException {
+ checkClosed();
+ return getSpannerConnection().getTransactionTag();
+ }
+
+ @Override
+ public void setTransactionTag(String tag) throws SQLException {
+ checkClosed();
+ try {
+ getSpannerConnection().setTransactionTag(tag);
+ } catch (SpannerException e) {
+ throw JdbcSqlExceptionFactory.of(e);
+ }
+ }
+
@Override
public void setTransactionMode(TransactionMode mode) throws SQLException {
checkClosed();
From 7a6953004fd1401a98f95ea3b351662eb8ab81d7 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 14 Jul 2021 02:06:08 -0700
Subject: [PATCH 08/16] chore: regenerate README (#535)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-07-14 08:46:45,315 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-spanner-jdbc/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-07-14 08:46:46,598 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/ae6a79f2-326e-4d4f-ad8d-bf6a5da0ba25/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
---
.github/readme/synth.metadata/synth.metadata | 4 +-
README.md | 48 +++++++++++++++++++-
2 files changed, 49 insertions(+), 3 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 4d15e3c68..0db3e4168 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-spanner-jdbc.git",
- "sha": "0c3d02f41a4a5c5d3c3100c247a3ea2adc9090ff"
+ "sha": "a4bd82c8e4ce8b7179b943ac06b049598276f1b4"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "39652e3948f455fd0b77535a0145eeec561a3706"
+ "sha": "959d4f81f2d1397297ebda90212df92aa0ef3a6a"
}
}
]
diff --git a/README.md b/README.md
index e97f2eb8b..8b17696d2 100644
--- a/README.md
+++ b/README.md
@@ -128,10 +128,50 @@ activate the `shade` profile like this:
To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting].
-## Java Versions
+## Supported Java Versions
Java 8 or above is required for using this client.
+Google's Java client libraries,
+[Google Cloud Client Libraries][cloudlibs]
+and
+[Google Cloud API Libraries][apilibs],
+follow the
+[Oracle Java SE support roadmap][oracle]
+(see the Oracle Java SE Product Releases section).
+
+### For new development
+
+In general, new feature development occurs with support for the lowest Java
+LTS version covered by Oracle's Premier Support (which typically lasts 5 years
+from initial General Availability). If the minimum required JVM for a given
+library is changed, it is accompanied by a [semver][semver] major release.
+
+Java 11 and (in September 2021) Java 17 are the best choices for new
+development.
+
+### Keeping production systems current
+
+Google tests its client libraries with all current LTS versions covered by
+Oracle's Extended Support (which typically lasts 8 years from initial
+General Availability).
+
+#### Legacy support
+
+Google's client libraries support legacy versions of Java runtimes with long
+term stable libraries that don't receive feature updates on a best efforts basis
+as it may not be possible to backport all patches.
+
+Google provides updates on a best efforts basis to apps that continue to use
+Java 7, though apps might need to upgrade to current versions of the library
+that supports their JVM.
+
+#### Where to find specific information
+
+The latest versions and the supported Java versions are identified on
+the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
+and on [google-cloud-java][g-c-j].
+
## Versioning
@@ -191,3 +231,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
+
+[semver]: https://semver.org/
+[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained
+[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries
+[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html
+[g-c-j]: http://github.com/googleapis/google-cloud-java
From aaf806b499a9f866c7382b8d133b30cb7369bf91 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 15 Jul 2021 07:28:15 -0700
Subject: [PATCH 09/16] chore: add dependencyDashboardLabels to renovate.json
(#536)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/d9079f8e-3fa1-44e6-b6d8-65a7341e9be2/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: https://github.com/googleapis/synthtool/commit/5d3c52f5db664eee9026db76b5bcb466f3a09ca9
---
renovate.json | 5 ++++-
synth.metadata | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/renovate.json b/renovate.json
index 4ac4d97c6..a95a109bd 100644
--- a/renovate.json
+++ b/renovate.json
@@ -69,5 +69,8 @@
}
],
"semanticCommits": true,
- "masterIssue": true
+ "dependencyDashboard": true,
+ "dependencyDashboardLabels": [
+ "type: process"
+ ]
}
diff --git a/synth.metadata b/synth.metadata
index 959044042..50c74895a 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-spanner-jdbc.git",
- "sha": "e8539542a64fc839e263f6e181fd8bf69f482d49"
+ "sha": "7a6953004fd1401a98f95ea3b351662eb8ab81d7"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "09c59c20a4bf0daed1665af59035ff240fe356df"
+ "sha": "5d3c52f5db664eee9026db76b5bcb466f3a09ca9"
}
}
],
From 8655ae5955f5385a9d6445e13264427d73c4d37e Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 19 Jul 2021 11:24:39 +0200
Subject: [PATCH 10/16] deps: update dependency
com.google.cloud:google-cloud-spanner-bom to v6.10.0 (#537)
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index e8e093645..b5fc0bb7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,7 @@
com.google.cloud
google-cloud-spanner-bom
- 6.9.1
+ 6.10.0
pom
import
From 68125c4d896a24f186d90648d3be64b5ad15aa37 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 27 Jul 2021 22:48:31 +0200
Subject: [PATCH 11/16] build(deps): update dependency
com.google.cloud:google-cloud-shared-config to v0.13.1 (#541)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.12.0` -> `0.13.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-config
### [`v0.13.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#0131-httpswwwgithubcomgoogleapisjava-shared-configcomparev0130v0131-2021-07-27)
[Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1)
### [`v0.13.0`](https://togithub.com/googleapis/java-shared-config/releases/v0.13.0)
##### Features
- add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#264](https://www.github.com/googleapis/java-shared-config/issues/264)) ([d274af8](https://www.github.com/googleapis/java-shared-config/commit/d274af836ac9b3e98be84e551b7e9e552397ecc1))
##### Bug Fixes
- Add shopt -s nullglob to dependencies script ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf))
- Update dependencies.sh to not break on mac ([#276](https://www.github.com/googleapis/java-shared-config/issues/276)) ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf))
##### Dependencies
- update auto-value-annotation.version to v1.8.2 ([#275](https://www.github.com/googleapis/java-shared-config/issues/275)) ([4d15246](https://www.github.com/googleapis/java-shared-config/commit/4d152461a5592940a8be762c7a8698a02dbe26cf))
- update dependency com.puppycrawl.tools:checkstyle to v8.43 ([#266](https://www.github.com/googleapis/java-shared-config/issues/266)) ([fae7961](https://www.github.com/googleapis/java-shared-config/commit/fae7961412b33e34e8fcfec78d1451894d4e61d9))
- update dependency com.puppycrawl.tools:checkstyle to v8.44 ([#274](https://www.github.com/googleapis/java-shared-config/issues/274)) ([d53d0e0](https://www.github.com/googleapis/java-shared-config/commit/d53d0e0935e908d16f4e7cf763577cf3fd8128d3))
***
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-spanner-jdbc).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b5fc0bb7e..81b02cdd9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 0.12.0
+ 0.13.1
From 96d3835e07def00057d17751dcbb847ee457cca9 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Tue, 27 Jul 2021 14:12:31 -0700
Subject: [PATCH 12/16] chore: regenerate README (#542)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-07-27 20:52:25,206 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-spanner-jdbc/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-07-27 20:52:26,466 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/7ded6de6-d25f-40c9-81f2-ea9cb5641798/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 13 +++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 0db3e4168..7cd540889 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-spanner-jdbc.git",
- "sha": "a4bd82c8e4ce8b7179b943ac06b049598276f1b4"
+ "sha": "68125c4d896a24f186d90648d3be64b5ad15aa37"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "959d4f81f2d1397297ebda90212df92aa0ef3a6a"
+ "sha": "3d32990b6f4b57be77455e3ca89e6e21cd0c06b3"
}
}
]
diff --git a/README.md b/README.md
index 8b17696d2..7486c06df 100644
--- a/README.md
+++ b/README.md
@@ -8,11 +8,13 @@ Java idiomatic client for [Google Cloud Spanner JDBC][product-docs].
- [Product Documentation][product-docs]
- [Client Library Documentation][javadocs]
+
## Quickstart
If you are using Maven, add this to your pom.xml file:
+
```xml
com.google.cloud
@@ -22,11 +24,13 @@ If you are using Maven, add this to your pom.xml file:
```
If you are using Gradle without BOM, add this to your dependencies
+
```Groovy
compile 'com.google.cloud:google-cloud-spanner-jdbc:2.2.6'
```
If you are using SBT, add this to your dependencies
+
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-spanner-jdbc" % "2.2.6"
```
@@ -35,6 +39,10 @@ libraryDependencies += "com.google.cloud" % "google-cloud-spanner-jdbc" % "2.2.6
See the [Authentication][authentication] section in the base directory's README.
+## Authorization
+
+The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Google Cloud Spanner JDBC APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Google Cloud Spanner JDBC API calls.
+
## Getting Started
### Prerequisites
@@ -178,6 +186,7 @@ and on [google-cloud-java][g-c-j].
This library follows [Semantic Versioning](http://semver.org/).
+
## Contributing
@@ -189,6 +198,7 @@ Please note that this project is released with a Contributor Code of Conduct. By
this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more
information.
+
## License
Apache 2.0 - See [LICENSE][license] for more information.
@@ -220,6 +230,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner-jdbc.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-spanner-jdbc&core=gav
[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
+[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy
[developer-console]: https://console.developers.google.com/
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
[cloud-sdk]: https://cloud.google.com/sdk/
From 9cb3b831a6ad58a79fa095b7b999523c03a80f7b Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 28 Jul 2021 01:24:26 +0200
Subject: [PATCH 13/16] chore(deps): update dependency
com.google.cloud:libraries-bom to v20.9.0 (#539)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.8.0` -> `20.9.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-spanner-jdbc).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index bceb475cd..23c5d00e8 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 20.8.0
+ 20.9.0
pom
import
From 80cbf1f06022005a368bace59b79fe8e3e352037 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 29 Jul 2021 21:57:42 +0200
Subject: [PATCH 14/16] build(deps): update dependency
com.google.cloud:google-cloud-shared-config to v1 (#543)
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 81b02cdd9..c54c39ef5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 0.13.1
+ 1.0.0
From 366430dc270edd09de1a0749ba360f312897b1aa Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 12 Aug 2021 00:16:58 +0200
Subject: [PATCH 15/16] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v2 (#544)
* deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2
* Update pom.xml
Co-authored-by: Neenu Shaji
---
pom.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c54c39ef5..edf705fe5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,7 +69,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 1.4.0
+ 2.0.1
pom
import
@@ -154,6 +154,12 @@
truth
${truth.version}
test
+
+
+ org.checkerframework
+ checker-qual
+
+
org.hamcrest
From 0887f187f2dc9931683409a4de27ee7133279769 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Thu, 12 Aug 2021 17:22:09 +0000
Subject: [PATCH 16/16] chore: release 2.3.0 (#534)
:robot: I have created a release \*beep\* \*boop\*
---
## [2.3.0](https://www.github.com/googleapis/java-spanner-jdbc/compare/v2.2.6...v2.3.0) (2021-08-11)
### Features
* add support for tagging to JDBC connection ([#270](https://www.github.com/googleapis/java-spanner-jdbc/issues/270)) ([a4bd82c](https://www.github.com/googleapis/java-spanner-jdbc/commit/a4bd82c8e4ce8b7179b943ac06b049598276f1b4))
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#544](https://www.github.com/googleapis/java-spanner-jdbc/issues/544)) ([366430d](https://www.github.com/googleapis/java-spanner-jdbc/commit/366430dc270edd09de1a0749ba360f312897b1aa))
* update dependency com.google.cloud:google-cloud-spanner-bom to v6.10.0 ([#537](https://www.github.com/googleapis/java-spanner-jdbc/issues/537)) ([8655ae5](https://www.github.com/googleapis/java-spanner-jdbc/commit/8655ae5955f5385a9d6445e13264427d73c4d37e))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 13 +++++++++++++
pom.xml | 2 +-
samples/snapshot/pom.xml | 2 +-
versions.txt | 2 +-
4 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 55b6ee374..9ffbaac49 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog
+## [2.3.0](https://www.github.com/googleapis/java-spanner-jdbc/compare/v2.2.6...v2.3.0) (2021-08-11)
+
+
+### Features
+
+* add support for tagging to JDBC connection ([#270](https://www.github.com/googleapis/java-spanner-jdbc/issues/270)) ([a4bd82c](https://www.github.com/googleapis/java-spanner-jdbc/commit/a4bd82c8e4ce8b7179b943ac06b049598276f1b4))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#544](https://www.github.com/googleapis/java-spanner-jdbc/issues/544)) ([366430d](https://www.github.com/googleapis/java-spanner-jdbc/commit/366430dc270edd09de1a0749ba360f312897b1aa))
+* update dependency com.google.cloud:google-cloud-spanner-bom to v6.10.0 ([#537](https://www.github.com/googleapis/java-spanner-jdbc/issues/537)) ([8655ae5](https://www.github.com/googleapis/java-spanner-jdbc/commit/8655ae5955f5385a9d6445e13264427d73c4d37e))
+
### [2.2.6](https://www.github.com/googleapis/java-spanner-jdbc/compare/v2.2.5...v2.2.6) (2021-07-06)
diff --git a/pom.xml b/pom.xml
index edf705fe5..789a4b77c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
google-cloud-spanner-jdbc
- 2.2.7-SNAPSHOT
+ 2.3.0
jar
Google Cloud Spanner JDBC
https://github.com/googleapis/java-spanner-jdbc
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 32249bb74..6f757a592 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-spanner-jdbc
- 2.2.7-SNAPSHOT
+ 2.3.0
diff --git a/versions.txt b/versions.txt
index dd8f71e62..4fc1d7c3d 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,4 +1,4 @@
# Format:
# module:released-version:current-version
-google-cloud-spanner-jdbc:2.2.6:2.2.7-SNAPSHOT
+google-cloud-spanner-jdbc:2.3.0:2.3.0