Skip to content

Commit d85fd00

Browse files
authored
chore: update the driver version for 1.1.2 release (#316)
1 parent 5e0b1cf commit d85fd00

File tree

3 files changed

+46
-27
lines changed

3 files changed

+46
-27
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/#semantic-versioning-200).
55

6+
## [1.1.2] - 2022-11-22
7+
8+
### Added
9+
* Upstream changes from MySQL 8.0.31 community driver.
10+
* A new `enableFailoverStrictReader` parameter so the driver only reconnects to reader nodes after a failover.
11+
12+
### Changed
13+
* Upgraded dependency versions
14+
15+
### Fixed
16+
* Update FailoverConnectionPlugin license.
17+
* Fixed plugin factories package names in the README.
18+
* Resolved an issue where the driver attempts to query for the topology during a prepared transaction.[Issue 292](https://github.com/awslabs/aws-mysql-jdbc/issues/292)
19+
* Resolved an issue where distinct ClientPreparedStatement objects incorrectly have the same hashCode.[Issue 308](https://github.com/awslabs/aws-mysql-jdbc/issues/308)
20+
* Fixed the writer failover process where the driver reconnects to a reader node due to outdated topology information.
21+
* Fixed some incorrect log messages.
22+
* Enhanced logging to avoid unnecessary String format calls.
623

724
## [1.1.1] - 2022-09-22
825

@@ -81,6 +98,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8198
### Added
8299
* This driver is based on the MySQL 8.0.21 community driver. The driver is cluster aware for Amazon Aurora MySQL. It takes advantage of Amazon Aurora's fast failover capabilities, reducing failover times from minutes to seconds.
83100

101+
[1.1.2]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.1.1...1.1.2
102+
[1.1.1]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.1.0...1.1.1
84103
[1.1.0]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.0.0...1.1.0
85104
[1.0.0]: https://github.com/awslabs/aws-mysql-jdbc/compare/0.4.0...1.0.0
86105
[0.4.0]: https://github.com/awslabs/aws-mysql-jdbc/compare/0.3.0...0.4.0

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ The AWS JDBC Driver for MySQL can be installed from pre-compiled packages that c
2929

3030
**Example - Direct download with wget**
3131
```bash
32-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.1/aws-mysql-jdbc-1.1.1.jar
33-
cp aws-mysql-jdbc-1.1.1.jar /home/userx/libs/
34-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.1.jar
32+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.2/aws-mysql-jdbc-1.1.2.jar
33+
cp aws-mysql-jdbc-1.1.2.jar /home/userx/libs/
34+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.2.jar
3535
```
3636

3737
**Upgrading to a newer version with wget**
3838

39-
To upgrade the driver, replace the .jar file of your earlier driver with the new `.jar` file. After replacing the `.jar` file, update the CLASSPATH to include the name of the new file. For example, to upgrade to version 1.1.1:
39+
To upgrade the driver, replace the .jar file of your earlier driver with the new `.jar` file. After replacing the `.jar` file, update the CLASSPATH to include the name of the new file. For example, to upgrade to version 1.1.2:
4040
```bash
41-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.1/aws-mysql-jdbc-1.1.1.jar
42-
cp aws-mysql-jdbc-1.1.1.jar /home/userx/libs/
43-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.1.jar
41+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.2/aws-mysql-jdbc-1.1.2.jar
42+
cp aws-mysql-jdbc-1.1.2.jar /home/userx/libs/
43+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.2.jar
4444
```
4545

4646
#### As a Maven dependency
@@ -52,20 +52,20 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
5252
<dependency>
5353
<groupId>software.aws.rds</groupId>
5454
<artifactId>aws-mysql-jdbc</artifactId>
55-
<version>1.1.1</version>
55+
<version>1.1.2</version>
5656
</dependency>
5757
</dependencies>
5858
```
5959

6060
**Upgrading to a newer version with Maven**
6161

62-
To upgrade to a newer version of the driver, replace the version number identified in the `pom.xml` file with the newer driver version. For example, to upgrade to version 1.1.1, modify the file to include:
62+
To upgrade to a newer version of the driver, replace the version number identified in the `pom.xml` file with the newer driver version. For example, to upgrade to version 1.1.2, modify the file to include:
6363
```xml
6464
<dependencies>
6565
<dependency>
6666
<groupId>software.aws.rds</groupId>
6767
<artifactId>aws-mysql-jdbc</artifactId>
68-
<version>1.1.1</version>
68+
<version>1.1.2</version>
6969
</dependency>
7070
</dependencies>
7171
```
@@ -76,16 +76,16 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
7676
**Example - Gradle**
7777
```gradle
7878
dependencies {
79-
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.1'
79+
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.2'
8080
}
8181
```
8282

8383
**Upgrading to a newer version with Gradle**
8484

85-
To upgrade to a newer version of the driver, replace the version number identified in the application's ```build.gradle``` file with the newer driver version. For example, to upgrade to version 1.1.1:
85+
To upgrade to a newer version of the driver, replace the version number identified in the application's ```build.gradle``` file with the newer driver version. For example, to upgrade to version 1.1.2:
8686
```gradle
8787
dependencies {
88-
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.1'
88+
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.2'
8989
}
9090
```
9191

@@ -95,9 +95,9 @@ To use the driver with an IDE (for example, IntelliJ), download the `.jar` file
9595
**Example - IntelliJ**
9696

9797
```bash
98-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.1/aws-mysql-jdbc-1.1.1.jar
99-
cp aws-mysql-jdbc-1.1.1.jar /home/userx/libs/
100-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.1.jar
98+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.2/aws-mysql-jdbc-1.1.2.jar
99+
cp aws-mysql-jdbc-1.1.2.jar /home/userx/libs/
100+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.2.jar
101101
```
102102

103103
After downloading the `.jar` file and updating the CLASSPATH, add the driver information to your `Project`:
@@ -117,9 +117,9 @@ After downloading the `.jar` file and updating the CLASSPATH, add the driver inf
117117
To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH:
118118

119119
```bash
120-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.1/aws-mysql-jdbc-1.1.1.jar
121-
cp aws-mysql-jdbc-1.1.1.jar /home/userx/libs/
122-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.1.jar
120+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.2/aws-mysql-jdbc-1.1.2.jar
121+
cp aws-mysql-jdbc-1.1.2.jar /home/userx/libs/
122+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.2.jar
123123
```
124124

125125
Then, follow the steps listed above to update your project to the latest version.
@@ -131,9 +131,9 @@ To use the driver with the DBeaver database client, download the `.jar` file, co
131131
**Example - DBeaver**
132132

133133
```bash
134-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.1/aws-mysql-jdbc-1.1.1.jar
135-
cp aws-mysql-jdbc-1.1.1.jar /home/userx/libs/
136-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.1.jar
134+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.2/aws-mysql-jdbc-1.1.2.jar
135+
cp aws-mysql-jdbc-1.1.2.jar /home/userx/libs/
136+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.2.jar
137137
```
138138

139139
After downloading the .jar file and adding it to your CLASSPATH, add the driver information to the DBeaver client:
@@ -169,9 +169,9 @@ After adding driver information, you can create new connections that use the AWS
169169
To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH:
170170

171171
```bash
172-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.1/aws-mysql-jdbc-1.1.1.jar
173-
cp aws-mysql-jdbc-1.1.1.jar /home/userx/libs/
174-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.1.jar
172+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.2/aws-mysql-jdbc-1.1.2.jar
173+
cp aws-mysql-jdbc-1.1.2.jar /home/userx/libs/
174+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.2.jar
175175
```
176176
Then, follow the steps listed above to update your DBeaver client settings.
177177

@@ -184,7 +184,7 @@ If there is an unreleased feature you would like to try, it may be available in
184184
<dependency>
185185
<groupId>software.aws.rds</groupId>
186186
<artifactId>aws-mysql-jdbc</artifactId>
187-
<version>1.1.1</version>
187+
<version>1.1.2</version>
188188
<scope>system</scope>
189189
<systemPath>path-to-snapshot-jar</systemPath>
190190
</dependency>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spotbugs.version=4.0.0
4040
# Build properties
4141
com.mysql.cj.build.driver.version.major=1
4242
com.mysql.cj.build.driver.version.minor=1
43-
com.mysql.cj.build.driver.version.subminor=1
43+
com.mysql.cj.build.driver.version.subminor=2
4444
com.mysql.cj.build.driver.displayName=Amazon Web Services (AWS) JDBC Driver for MySQL
4545
com.mysql.cj.build.driver.name=aws-mysql-connector-java
4646
com.mysql.cj.build.licenseType=GPLv2

0 commit comments

Comments
 (0)