Skip to content

Commit 122bff7

Browse files
chore: update changelog and versioning for 1.1.9 (#437)
1 parent 8d952e1 commit 122bff7

File tree

4 files changed

+39
-29
lines changed

4 files changed

+39
-29
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ 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-
## [???]
6+
## [1.1.9] - 2023-07-31
77
### Added
8+
- Documentation:
9+
- An example of how to enable logging ([PR #431](https://github.com/awslabs/aws-mysql-jdbc/pull/431)).
10+
- Release policy ([PR #434](https://github.com/awslabs/aws-mysql-jdbc/pull/434)).
811
- The `keepSessionStateOnFailover` failover property to allow retaining the connection session state after failover without manually reconfiguring a connection ([Issue #425](https://github.com/awslabs/aws-mysql-jdbc/issues/425)).
912

13+
### Fixed
14+
- Avoid updating topology during global transactions which caused JTA transactions to fail ([Issue #292](https://github.com/awslabs/aws-mysql-jdbc/issues/292)).
15+
- Keep `currentHostIndex` and hosts list in sync and pick a new connection when host role changes ([Issue #303](https://github.com/awslabs/aws-mysql-jdbc/issues/303)).
16+
- Redundant reset statement called due to incorrect condition ([Issue #422](https://github.com/awslabs/aws-mysql-jdbc/pull/435)).
17+
1018
## [1.1.8] - 2023-06-28
1119
### Fixed
1220
- The topology service cache no longer stores connection specific properties so connections to the same cluster will not connect with the wrong properties ([Issue #407](https://github.com/awslabs/aws-mysql-jdbc/issues/407)).
@@ -159,6 +167,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
159167
### Added
160168
* 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.
161169

170+
[1.1.9]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.1.8...1.1.9
162171
[1.1.8]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.1.7...1.1.8
163172
[1.1.7]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.1.6...1.1.7
164173
[1.1.6]: https://github.com/awslabs/aws-mysql-jdbc/compare/1.1.5...1.1.6

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.8/aws-mysql-jdbc-1.1.8.jar
33-
cp aws-mysql-jdbc-1.1.8.jar /home/userx/libs/
34-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.8.jar
32+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.9/aws-mysql-jdbc-1.1.9.jar
33+
cp aws-mysql-jdbc-1.1.9.jar /home/userx/libs/
34+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.9.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.8:
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.9:
4040
```bash
41-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.8/aws-mysql-jdbc-1.1.8.jar
42-
cp aws-mysql-jdbc-1.1.8.jar /home/userx/libs/
43-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.8.jar
41+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.9/aws-mysql-jdbc-1.1.9.jar
42+
cp aws-mysql-jdbc-1.1.9.jar /home/userx/libs/
43+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.9.jar
4444
```
4545

4646
#### As a Maven dependency
@@ -52,20 +52,20 @@ You can use [Maven's dependency management](https://central.sonatype.com/search?
5252
<dependency>
5353
<groupId>software.aws.rds</groupId>
5454
<artifactId>aws-mysql-jdbc</artifactId>
55-
<version>1.1.8</version>
55+
<version>1.1.9</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.8, 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.9, 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.8</version>
68+
<version>1.1.9</version>
6969
</dependency>
7070
</dependencies>
7171
```
@@ -76,16 +76,16 @@ You can use [Gradle's dependency management](https://central.sonatype.com/search
7676
**Example - Gradle**
7777
```gradle
7878
dependencies {
79-
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.8'
79+
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.9'
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.8:
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.9:
8686
```gradle
8787
dependencies {
88-
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.8'
88+
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.9'
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.8/aws-mysql-jdbc-1.1.8.jar
99-
cp aws-mysql-jdbc-1.1.8.jar /home/userx/libs/
100-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.8.jar
98+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.9/aws-mysql-jdbc-1.1.9.jar
99+
cp aws-mysql-jdbc-1.1.9.jar /home/userx/libs/
100+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.9.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.8/aws-mysql-jdbc-1.1.8.jar
121-
cp aws-mysql-jdbc-1.1.8.jar /home/userx/libs/
122-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.8.jar
120+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.9/aws-mysql-jdbc-1.1.9.jar
121+
cp aws-mysql-jdbc-1.1.9.jar /home/userx/libs/
122+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.9.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.8/aws-mysql-jdbc-1.1.8.jar
135-
cp aws-mysql-jdbc-1.1.8.jar /home/userx/libs/
136-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.8.jar
134+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.9/aws-mysql-jdbc-1.1.9.jar
135+
cp aws-mysql-jdbc-1.1.9.jar /home/userx/libs/
136+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.9.jar
137137
```
138138

139139
After downloading the .jar file and adding it to your CLASSPATH, add the driver information to the DBeaver client:
@@ -176,9 +176,9 @@ After adding driver information, you can create new connections that use the AWS
176176
To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH:
177177
178178
```bash
179-
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1./aws-mysql-jdbc-1.1.8.jar
180-
cp aws-mysql-jdbc-1.1.8.jar /home/userx/libs/
181-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.8.jar
179+
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1./aws-mysql-jdbc-1.1.9.jar
180+
cp aws-mysql-jdbc-1.1.9.jar /home/userx/libs/
181+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.9.jar
182182
```
183183
Then, follow the steps listed above to update your DBeaver client settings.
184184
@@ -191,7 +191,7 @@ If there is an unreleased feature you would like to try, it may be available in
191191
<dependency>
192192
<groupId>software.aws.rds</groupId>
193193
<artifactId>aws-mysql-jdbc</artifactId>
194-
<version>1.1.8</version>
194+
<version>1.1.9</version>
195195
<scope>system</scope>
196196
<systemPath>path-to-snapshot-jar</systemPath>
197197
</dependency>

RELEASE_POLICY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
| Apr 28, 2023 | [Release 1.1.6](https://github.com/awslabs/aws-mysql-jdbc/releases/tag/1.1.6) |
1212
| May 11, 2023 | [Release 1.1.7](https://github.com/awslabs/aws-mysql-jdbc/releases/tag/1.1.7) |
1313
| June 28, 2023 | [Release 1.1.8](https://github.com/awslabs/aws-mysql-jdbc/releases/tag/1.1.8) |
14+
| July 31, 2023 | [Release 1.1.9](https://github.com/awslabs/aws-mysql-jdbc/releases/tag/1.1.9) |
1415

1516

1617
aws-mysql-jdbc-driver [follows semver](https://semver.org/#semantic-versioning-200) which means we will only release
@@ -52,4 +53,4 @@ from the updated source after the PRs are merged.
5253
| Major Version | Latest Minor Version | Status | Initial Release | Maintenance Window Start | Maintenance Window End |
5354
|---------------|----------------------|-------------|-----------------|--------------------------|------------------------|
5455
| 1 | 1.0.0 | Maintenance | Mar 1, 2022 | June 29, 2022 | June 29, 2023 |
55-
| 2 | 1.1.8 | Current | June 28, 2023 | July 25, 2023 | July 25, 2024 |
56+
| 2 | 1.1.9 | Current | June 28, 2023 | July 25, 2023 | July 25, 2024 |

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=8
43+
com.mysql.cj.build.driver.version.subminor=9
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)