Skip to content

Commit baa4ef3

Browse files
update versioning, changelog, and docs for version 2.2.4
1 parent 9c3719e commit baa4ef3

File tree

13 files changed

+30
-21
lines changed

13 files changed

+30
-21
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ 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-
## [2.2.x] - ???
6+
## [2.2.4] - 2023-08-25
77
### :magic_wand: Added
88
- Host Availability Strategy to help keep host health status up to date ([PR #530](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/530)).
9+
- Implement `setLoginTimeout` from a suggested enhancement ([Discussion #509](https://github.com/awslabs/aws-advanced-jdbc-wrapper/discussions/509)).
910

1011
### :bug: Fixed
12+
- Allow connecting with reader cluster endpoints for Aurora PostgreSQL versions 13.9 and greater by changing the `AuroraPgDialect` topology query ([Issue #593](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/593)).
1113
- Race condition issues between `MonitorThreadContainer#getInstance()` and `MonitorThreadContainer#releaseInstance()` ([PR #601](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/601)).
1214

1315
### :crab: Changed
@@ -16,7 +18,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1618
- As an enhancement, the wrapper is now able to automatically set the Aurora host list provider for connections to Aurora MySQL and Aurora PostgreSQL databases.
1719
Aurora Host List Connection Plugin is deprecated. If you were using the `AuroraHostListConnectionPlugin`, you can simply remove the plugin from the `wrapperPlugins` parameter.
1820
However, if you choose to, you can ensure the provider is used by specifying a topology-aware dialect, for more information, see [Database Dialects](docs/using-the-jdbc-driver/DatabaseDialects.md).
21+
- Propagate `Connection.clearWarnings()` to underlying connections in the Read Write Splitting Plugin so that the connection object does not accumulate warning messages ([Issue #547](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/547)).
1922
- Close underlying connections in the Read Write Splitting Plugin after switching to read-write or read-only depending on whether internal connection pooling is used ([PR #583](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/583)).
23+
- Sort plugins by default to prevent plugin misconfiguration. This can be disabled by setting the property `autoSortWrapperPluginOrder` to false ([PR #542](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/542)).
24+
- Documentation:
25+
- Clarified AWS JDBC Driver limitations with Blue/Green deployments. See [Known Limitations](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/KnownLimitations.md#amazon-rds-bluegreen-deployments).
26+
- Updated and reworded main README page. See the [README.md](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/README.md).
2027

2128
## [2.2.3] - 2023-07-28
2229
### :magic_wand: Added
@@ -174,6 +181,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
174181
* The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
175182
* The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
176183

184+
[2.2.4]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.3...2.2.4
177185
[2.2.3]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.2...2.2.3
178186
[2.2.2]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.1...2.2.2
179187
[2.2.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.0...2.2.1

Maintenance.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
| June 14, 2023 | [Release 2.2.0](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.0) |
1212
| June 16, 2023 | [Release 2.2.1](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.1) |
1313
| July 5, 2023 | [Release 2.2.2](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.2) |
14-
| July 31, 2023 | [Release 2.2.3](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.3) |
14+
| July 31, 2023 | [Release 2.2.3](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.3) |
15+
| August 25, 2023 | [Release 2.2.4](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.4) |
1516

1617
``aws-advanced-jdbc-wrapper`` [follows semver](https://semver.org/#semantic-versioning-200) which means we will only
1718
release breaking changes in major versions. Generally speaking patches will be released to fix existing problems without
@@ -66,4 +67,4 @@ from the updated source after the PRs are merged.
6667
| Major Version | Latest Minor Version | Status | Initial Release | Maintenance Window Start | Maintenance Window End |
6768
|---------------|----------------------|-------------|-----------------|--------------------------|------------------------|
6869
| 1 | 1.0.2 | Maintenance | Oct 5, 2022 | Apr 28, 2023 | Apr 28, 2024 |
69-
| 2 | 2.2.3 | Current | Apr 28, 2023 | N/A | N/A |
70+
| 2 | 2.2.4 | Current | Apr 28, 2023 | N/A | N/A |

benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ The benchmarks do not measure the performance of target JDBC drivers nor the per
77
## Usage
88
1. Build the benchmarks with the following command `../gradlew jmhJar`.
99
1. the JAR file will be outputted to `build/libs`
10-
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.2.3-jmh.jar`.
10+
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.2.4-jmh.jar`.
1111
1. you may have to update the command based on the exact version of the produced JAR file

docs/GettingStarted.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you are using the AWS JDBC Driver as part of a Gradle project, include the wr
1414

1515
```gradle
1616
dependencies {
17-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.3'
17+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.4'
1818
implementation group: 'org.postgresql', name: 'postgresql', version: '42.5.0'
1919
}
2020
```
@@ -28,13 +28,13 @@ You can use pre-compiled packages that can be downloaded directly from [GitHub R
2828
For example, the following command uses wget to download the wrapper:
2929

3030
```bash
31-
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.2.3/aws-advanced-jdbc-wrapper-2.2.3.jar
31+
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.2.4/aws-advanced-jdbc-wrapper-2.2.4.jar
3232
```
3333

3434
Then, the following command adds the AWS JDBC Driver to the CLASSPATH:
3535

3636
```bash
37-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.2.3.jar
37+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.2.4.jar
3838
```
3939

4040
### As a Maven Dependency
@@ -46,7 +46,7 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
4646
<dependency>
4747
<groupId>software.amazon.jdbc</groupId>
4848
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
49-
<version>2.2.3</version>
49+
<version>2.2.4</version>
5050
</dependency>
5151
</dependencies>
5252
```
@@ -57,15 +57,15 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
5757

5858
```gradle
5959
dependencies {
60-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.3'
60+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.4'
6161
}
6262
```
6363

6464
To add a Gradle dependency in a Kotlin syntax, use the following configuration:
6565

6666
```kotlin
6767
dependencies {
68-
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.2.3")
68+
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.2.4")
6969
}
7070
```
7171

docs/using-the-jdbc-driver/UsingTheJdbcDriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ If there is an unreleased feature you would like to try, it may be available in
138138
<dependency>
139139
<groupId>software.amazon.jdbc</groupId>
140140
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
141-
<version>2.2.3-SNAPSHOT</version>
141+
<version>2.2.4-SNAPSHOT</version>
142142
<scope>system</scope>
143143
<systemPath>path-to-snapshot-jar</systemPath>
144144
</dependency>

examples/SpringBootHikariExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this tutorial, you will set up a Spring Boot application using Hikari and the
44

55
> Note: this tutorial was written using the following technologies:
66
> - Spring Boot 2.7.0
7-
> - AWS Advanced JDBC Wrapper 2.2.3
7+
> - AWS Advanced JDBC Wrapper 2.2.4
88
> - Postgresql 42.5.4
99
> - Java 8
1010

examples/SpringHibernateExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In this tutorial, you will set up a Spring Boot and Hibernate application with t
55
> Note: this tutorial was written using the following technologies:
66
> - Spring Boot 2.7.1
77
> - Hibernate
8-
> - AWS Advanced JDBC Driver 2.2.3
8+
> - AWS Advanced JDBC Driver 2.2.4
99
> - Postgresql 42.5.4
1010
> - Gradle 7
1111
> - Java 11

examples/SpringWildflyExample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In this tutorial, you will set up a Wildfly and Spring Boot application with the
55
> Note: this tutorial was written using the following technologies:
66
> - Spring Boot 2.7.1
77
> - Wildfly 26.1.1 Final
8-
> - AWS Advanced JDBC Wrapper 2.2.3
8+
> - AWS Advanced JDBC Wrapper 2.2.4
99
> - Postgresql 42.5.4
1010
> - Gradle 7
1111
> - Java 11
@@ -38,7 +38,7 @@ Create a Gradle project with the following project hierarchy:
3838
│ └───main
3939
│ │ │───module.xml
4040
│ │ │───postgresql-42.5.4.jar
41-
│ │ └───aws-advanced-jdbc-wrapper-2.2.3.jar
41+
│ │ └───aws-advanced-jdbc-wrapper-2.2.4.jar
4242
└───standalone
4343
├───configuration
4444
├───amazon
@@ -135,7 +135,7 @@ Since this example uses the PostgreSQL JDBC driver as the target driver, you nee
135135
<module xmlns="urn:jboss:module:1.1" name="software.amazon.jdbc">
136136

137137
<resources>
138-
<resource-root path="aws-advanced-jdbc-wrapper-2.2.3.jar"/>
138+
<resource-root path="aws-advanced-jdbc-wrapper-2.2.4.jar"/>
139139
<resource-root path="postgresql-42.5.4.jar"/>
140140
</resources>
141141
</module>

examples/SpringWildflyExample/wildfly/modules/software/amazon/jdbc/main/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<module xmlns="urn:jboss:module:1.1" name="software.amazon.jdbc">
2020

2121
<resources>
22-
<resource-root path="aws-advanced-jdbc-wrapper-2.2.3.jar"/>
22+
<resource-root path="aws-advanced-jdbc-wrapper-2.2.4.jar"/>
2323
<resource-root path="postgresql-42.5.4.jar"/>
2424
</resources>
2525
</module>

examples/VertxExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
In this tutorial, you will set up a Vert.x application with the AWS JDBC Driver, and use the driver to execute some simple database operations on an Aurora PostgreSQL database.
44

55
> Note: this tutorial was written using the following technologies:
6-
> - AWS JDBC Wrapper 2.2.3
6+
> - AWS JDBC Wrapper 2.2.4
77
> - PostgreSQL 42.5.4
88
> - Java 8
99
> - Vert.x 4.4.2

0 commit comments

Comments
 (0)