Skip to content

Commit

Permalink
chore(main): release 1.12.0 (#1312)
Browse files Browse the repository at this point in the history
* chore(main): release 1.12.0
* update versions in pom.xml files and READMEs

---------

Co-authored-by: hessjcg <[email protected]>
  • Loading branch information
infra-db-release-bot and hessjcg authored Jun 13, 2023
1 parent 13d003e commit 24e3514
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 28 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
</parent>
<artifactId>jdbc-socket-factory-core</artifactId>
<packaging>jar</packaging>
Expand Down
4 changes: 2 additions & 2 deletions docs/jdbc-mariadb.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Include the following in the project's `pom.xml`:
<dependency>
    <groupId>com.google.cloud.sql</groupId>
    <artifactId>mariadb-socket-factory</artifactId>
    <version>1.11.2</version>
    <version>1.12.0</version>
</dependency>
```

##### 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:<LATEST-VERSION>`

Expand Down
8 changes: 4 additions & 4 deletions docs/jdbc-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ 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`:
```maven-pom
<dependency>
    <groupId>com.google.cloud.sql</groupId>
    <artifactId>mysql-socket-factory-connector-j-8</artifactId>
    <version>1.11.2</version>
    <version>1.12.0</version>
</dependency>
```

##### 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
Expand Down
4 changes: 2 additions & 2 deletions docs/jdbc-postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Include the following in the project's `pom.xml`:
<dependency>
    <groupId>com.google.cloud.sql</groupId>
    <artifactId>postgres-socket-factory</artifactId>
    <version>1.11.2</version>
    <version>1.12.0</version>
</dependency>
```

##### 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:<LATEST-VERSION>`

Expand Down
4 changes: 2 additions & 2 deletions docs/jdbc-sqlserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Include the following in the project's `pom.xml`:
<dependency>
    <groupId>com.google.cloud.sql</groupId>
    <artifactId>cloud-sql-connector-jdbc-sqlserver</artifactId>
    <version>1.11.2</version>
    <version>1.12.0</version>
</dependency>
```

##### 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:<LATEST-VERSION>`.

Expand Down
4 changes: 2 additions & 2 deletions docs/r2dbc-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Include the following in the project's `pom.xml`:
<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>cloud-sql-connector-r2dbc-mysql</artifactId>
<version>1.11.2</version>
<version>1.12.0</version>
</dependency>
```

##### 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:<LATEST-VERSION>`
Expand Down
4 changes: 2 additions & 2 deletions docs/r2dbc-postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Include the following in the project's `pom.xml`:
<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>cloud-sql-connector-r2dbc-postgres</artifactId>
<version>1.11.2</version>
<version>1.12.0</version>
</dependency>
```
##### 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:<LATEST-VERSION>`

Expand Down
4 changes: 2 additions & 2 deletions docs/r2dbc-sqlserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Include the following in the project's `pom.xml`:
<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>cloud-sql-connector-r2dbc-sqlserver</artifactId>
<version>1.11.2</version>
<version>1.12.0</version>
</dependency>
```
##### 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:<LATEST-VERSION>`

Expand Down
2 changes: 1 addition & 1 deletion jdbc/mariadb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>mariadb-socket-factory</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jdbc/mysql-j-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion jdbc/mysql-j-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion jdbc/postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>postgres-socket-factory</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jdbc/sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-sql-connector-jdbc-sqlserver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<packaging>pom</packaging>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>


<name>Cloud SQL JDBC Socket Factory</name>
Expand Down
2 changes: 1 addition & 1 deletion r2dbc/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-sql-connector-r2dbc-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion r2dbc/mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-sql-connector-r2dbc-mysql</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion r2dbc/postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-sql-connector-r2dbc-postgres</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion r2dbc/sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.google.cloud.sql</groupId>
<artifactId>jdbc-socket-factory-parent</artifactId>
<version>1.11.3-SNAPSHOT</version>
<version>1.12.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-sql-connector-r2dbc-sqlserver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.3-SNAPSHOT
1.12.0

0 comments on commit 24e3514

Please sign in to comment.