From 24e35149b74e661276607e6b8341ca518ed91427 Mon Sep 17 00:00:00 2001 From: infra-db-release-bot <123024576+infra-db-release-bot@users.noreply.github.com> Date: Tue, 13 Jun 2023 08:57:20 -0700 Subject: [PATCH] chore(main): release 1.12.0 (#1312) * chore(main): release 1.12.0 * update versions in pom.xml files and READMEs --------- Co-authored-by: hessjcg --- CHANGELOG.md | 14 ++++++++++++++ core/pom.xml | 2 +- docs/jdbc-mariadb.md | 4 ++-- docs/jdbc-mysql.md | 8 ++++---- docs/jdbc-postgres.md | 4 ++-- docs/jdbc-sqlserver.md | 4 ++-- docs/r2dbc-mysql.md | 4 ++-- docs/r2dbc-postgres.md | 4 ++-- docs/r2dbc-sqlserver.md | 4 ++-- jdbc/mariadb/pom.xml | 2 +- jdbc/mysql-j-5/pom.xml | 2 +- jdbc/mysql-j-8/pom.xml | 2 +- jdbc/postgres/pom.xml | 2 +- jdbc/sqlserver/pom.xml | 2 +- pom.xml | 2 +- r2dbc/core/pom.xml | 2 +- r2dbc/mysql/pom.xml | 2 +- r2dbc/postgres/pom.xml | 2 +- r2dbc/sqlserver/pom.xml | 2 +- version.txt | 2 +- 20 files changed, 42 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b355624f4..7da3c38c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.12.0](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/compare/v1.11.2...v1.12.0) (2023-06-12) + + +### Features + +* Use new certificate refresh logic ([5ad6103](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/commit/5ad61033dd598cf4b1170d159a0b822d04fc61fd)) + + +### Bug Fixes + +* Fix refresh futures to avoid a hanging future when an api request fails during refresh. ([#1319](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/1319)) ([1277b5e](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/commit/1277b5eddcccf1828c45dbf2a37f5bc1f0da8e5c)) +* log error when token is invalid ([#1313](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/1313)) ([2130317](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/commit/2130317355ea4b4c7bfc1e1a62ee8e51168320a4)), closes [#1174](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/1174) +* Retry when attempting to get the auth token ([#1301](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/1301)) ([2694cc5](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/commit/2694cc593c64175780282cdc8b7ea21bdb14aa19)), closes [#1288](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/1288) [#1127](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/1127) + ## [1.11.2](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/compare/v1.11.1...v1.11.2) (2023-05-10) diff --git a/core/pom.xml b/core/pom.xml index c7d86fdd8..c59319940 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -23,7 +23,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 jdbc-socket-factory-core jar diff --git a/docs/jdbc-mariadb.md b/docs/jdbc-mariadb.md index 81bbb4472..89a60429c 100644 --- a/docs/jdbc-mariadb.md +++ b/docs/jdbc-mariadb.md @@ -9,14 +9,14 @@ Include the following in the project's `pom.xml`:     com.google.cloud.sql     mariadb-socket-factory -    1.11.2 +    1.12.0 ``` ##### Gradle Include the following the project's `gradle.build` ```gradle -compile 'com.google.cloud.sql:mariadb-socket-factory:1.11.2' +compile 'com.google.cloud.sql:mariadb-socket-factory:1.12.0' ``` *Note*: Also include the JDBC Driver for MariaDB, `org.mariadb.jdbc:mariadb-java-client:` diff --git a/docs/jdbc-mysql.md b/docs/jdbc-mysql.md index ed1f07a70..98e9bafa5 100644 --- a/docs/jdbc-mysql.md +++ b/docs/jdbc-mysql.md @@ -9,8 +9,8 @@ are unsure, it is recommended to use the latest version of `mysql-connector-java | JDBC Driver Version | Cloud SQL Socket Factory Version | | -------------------------- | ---------------------------------------- | -| mysql-connector-java:8.x | mysql-socket-factory-connector-j-8:1.11.2 | -| mysql-connector-java:5.1.x | mysql-socket-factory:1.11.2 | +| mysql-connector-java:8.x | mysql-socket-factory-connector-j-8:1.12.0 | +| mysql-connector-java:5.1.x | mysql-socket-factory:1.12.0 | ##### Maven Include the following in the project's `pom.xml`: @@ -18,14 +18,14 @@ Include the following in the project's `pom.xml`:     com.google.cloud.sql     mysql-socket-factory-connector-j-8 -    1.11.2 +    1.12.0 ``` ##### Gradle Include the following the project's `build.gradle` ```gradle -compile 'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.11.2' +compile 'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.12.0' ``` ### Creating theJDBC URL diff --git a/docs/jdbc-postgres.md b/docs/jdbc-postgres.md index e5ade476a..c3a0dbe9f 100644 --- a/docs/jdbc-postgres.md +++ b/docs/jdbc-postgres.md @@ -9,14 +9,14 @@ Include the following in the project's `pom.xml`:     com.google.cloud.sql     postgres-socket-factory -    1.11.2 +    1.12.0 ``` ##### Gradle Include the following the project's `gradle.build` ```gradle -compile 'com.google.cloud.sql:postgres-socket-factory:1.11.2' +compile 'com.google.cloud.sql:postgres-socket-factory:1.12.0' ``` *Note*: Also include the JDBC Driver for PostgreSQL, `org.postgresql:postgresql:` diff --git a/docs/jdbc-sqlserver.md b/docs/jdbc-sqlserver.md index 9c0e9ae34..602c9043b 100644 --- a/docs/jdbc-sqlserver.md +++ b/docs/jdbc-sqlserver.md @@ -10,14 +10,14 @@ Include the following in the project's `pom.xml`:     com.google.cloud.sql     cloud-sql-connector-jdbc-sqlserver -    1.11.2 +    1.12.0 ``` ##### Gradle Include the following the project's `gradle.build` ```gradle -compile 'com.google.cloud.sql:cloud-sql-connector-jdbc-sqlserver:1.11.2' +compile 'com.google.cloud.sql:cloud-sql-connector-jdbc-sqlserver:1.12.0' ``` *Note*: Also include the JDBC Driver for SQL Server, `com.microsoft.sqlserver:mssql-jdbc:`. diff --git a/docs/r2dbc-mysql.md b/docs/r2dbc-mysql.md index 6105c06b1..0bb2e21fc 100644 --- a/docs/r2dbc-mysql.md +++ b/docs/r2dbc-mysql.md @@ -10,14 +10,14 @@ Include the following in the project's `pom.xml`: com.google.cloud.sql cloud-sql-connector-r2dbc-mysql - 1.11.2 + 1.12.0 ``` ##### Gradle Include the following the project's `build.gradle` ```gradle -compile 'com.google.cloud.sql:cloud-sql-connector-r2dbc-mysql:1.11.2' +compile 'com.google.cloud.sql:cloud-sql-connector-r2dbc-mysql:1.12.0' ``` *Note: Also include the R2DBC Driver for MySQL, `io.asyncer:r2dbc-mysql:` diff --git a/docs/r2dbc-postgres.md b/docs/r2dbc-postgres.md index b8cd54050..16477299d 100644 --- a/docs/r2dbc-postgres.md +++ b/docs/r2dbc-postgres.md @@ -10,13 +10,13 @@ Include the following in the project's `pom.xml`: com.google.cloud.sql cloud-sql-connector-r2dbc-postgres - 1.11.2 + 1.12.0 ``` ##### Gradle Include the following the project's `build.gradle` ```gradle -compile 'com.google.cloud.sql:cloud-sql-connector-r2dbc-postgres:1.11.2' +compile 'com.google.cloud.sql:cloud-sql-connector-r2dbc-postgres:1.12.0' ``` *Note: Also include the R2DBC Driver for PostgreSQL, `io.r2dbc:r2dbc-postgresql:` diff --git a/docs/r2dbc-sqlserver.md b/docs/r2dbc-sqlserver.md index ad003bd42..499ae57b6 100644 --- a/docs/r2dbc-sqlserver.md +++ b/docs/r2dbc-sqlserver.md @@ -10,13 +10,13 @@ Include the following in the project's `pom.xml`: com.google.cloud.sql cloud-sql-connector-r2dbc-sqlserver - 1.11.2 + 1.12.0 ``` ##### Gradle Include the following the project's `build.gradle` ```gradle -compile 'com.google.cloud.sql:cloud-sql-connector-r2dbc-sqlserver:1.11.2' +compile 'com.google.cloud.sql:cloud-sql-connector-r2dbc-sqlserver:1.12.0' ``` *Note: Also include the R2DBC Driver for SQL Server, `io.r2dbc:r2dbc-mssql:` diff --git a/jdbc/mariadb/pom.xml b/jdbc/mariadb/pom.xml index 567de8f5d..e0284b769 100644 --- a/jdbc/mariadb/pom.xml +++ b/jdbc/mariadb/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml mariadb-socket-factory diff --git a/jdbc/mysql-j-5/pom.xml b/jdbc/mysql-j-5/pom.xml index 506408d1d..588f1c97d 100644 --- a/jdbc/mysql-j-5/pom.xml +++ b/jdbc/mysql-j-5/pom.xml @@ -23,7 +23,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml diff --git a/jdbc/mysql-j-8/pom.xml b/jdbc/mysql-j-8/pom.xml index d44c9cb29..c2e4a7b52 100644 --- a/jdbc/mysql-j-8/pom.xml +++ b/jdbc/mysql-j-8/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml diff --git a/jdbc/postgres/pom.xml b/jdbc/postgres/pom.xml index 95a99cafa..99b414c00 100644 --- a/jdbc/postgres/pom.xml +++ b/jdbc/postgres/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml postgres-socket-factory diff --git a/jdbc/sqlserver/pom.xml b/jdbc/sqlserver/pom.xml index 9891865c6..4850b6ed1 100644 --- a/jdbc/sqlserver/pom.xml +++ b/jdbc/sqlserver/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml cloud-sql-connector-jdbc-sqlserver diff --git a/pom.xml b/pom.xml index 502288134..03880a6e2 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ com.google.cloud.sql jdbc-socket-factory-parent pom - 1.11.3-SNAPSHOT + 1.12.0 Cloud SQL JDBC Socket Factory diff --git a/r2dbc/core/pom.xml b/r2dbc/core/pom.xml index 86e99a675..a5d2b8b74 100644 --- a/r2dbc/core/pom.xml +++ b/r2dbc/core/pom.xml @@ -21,7 +21,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml cloud-sql-connector-r2dbc-core diff --git a/r2dbc/mysql/pom.xml b/r2dbc/mysql/pom.xml index 6868e96bc..0d9239b57 100644 --- a/r2dbc/mysql/pom.xml +++ b/r2dbc/mysql/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml cloud-sql-connector-r2dbc-mysql diff --git a/r2dbc/postgres/pom.xml b/r2dbc/postgres/pom.xml index d5be218ca..f855a120d 100644 --- a/r2dbc/postgres/pom.xml +++ b/r2dbc/postgres/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml cloud-sql-connector-r2dbc-postgres diff --git a/r2dbc/sqlserver/pom.xml b/r2dbc/sqlserver/pom.xml index cdd358a85..8808d0ade 100644 --- a/r2dbc/sqlserver/pom.xml +++ b/r2dbc/sqlserver/pom.xml @@ -22,7 +22,7 @@ com.google.cloud.sql jdbc-socket-factory-parent - 1.11.3-SNAPSHOT + 1.12.0 ../../pom.xml cloud-sql-connector-r2dbc-sqlserver diff --git a/version.txt b/version.txt index 5187bdb89..0eed1a29e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.11.3-SNAPSHOT +1.12.0