Skip to content

Commit 01bcfac

Browse files
Update changelog and bump version for 2.5.4
1 parent b680b4a commit 01bcfac

File tree

16 files changed

+37
-27
lines changed

16 files changed

+37
-27
lines changed

Diff for: CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ 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.5.4] - 2024-12-23
7+
### :bug: Fixed
8+
- Avoid setting ignoreNewTopologyRequestsEndTimeNano on initial connection ([PR #1221](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1221)).
9+
- Limitless Connection Plugin set round-robin weights properly to original properties, not a copy ([PR #1223](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1223)).
10+
11+
### :crab: Changed
12+
- Update dependencies to address [CVE-2024-47535](https://www.cve.org/CVERecord?id=CVE-2024-47535) ([Issue #1229](https://github.com/aws/aws-advanced-jdbc-wrapper/issues/1229)).
13+
614
## [2.5.3] - 2024-11-29
715
### :magic_wand: Added
816
- Add WRITER custom endpoint type ([PR #1202](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1202)).
@@ -396,6 +404,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
396404
- The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
397405
- The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
398406

407+
[2.5.4]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.5.3...2.5.4
399408
[2.5.3]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.5.2...2.5.3
400409
[2.5.2]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.5.1...2.5.2
401410
[2.5.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.5.0...2.5.1

Diff for: Maintenance.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
| October 24, 2024 | [Release 2.5.1](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.5.1) |
3030
| November 5, 2024 | [Release 2.5.2](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.5.2) |
3131
| November 29, 2024 | [Release 2.5.3](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.5.3) |
32+
| December 23, 2024 | [Release 2.5.4](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.5.4) |
3233

3334
`aws-advanced-jdbc-wrapper` [follows semver](https://semver.org/#semantic-versioning-200) which means we will only
3435
release breaking changes in major versions. Generally speaking patches will be released to fix existing problems without
@@ -82,4 +83,4 @@ from the updated source after the PRs are merged.
8283
| Major Version | Latest Minor Version | Status | Initial Release | Maintenance Window Start | Maintenance Window End |
8384
|---------------|----------------------|-------------|-----------------|--------------------------|------------------------|
8485
| 1 | 1.0.2 | Maintenance | Oct 5, 2022 | Apr 28, 2023 | Apr 28, 2024 |
85-
| 2 | 2.5.3 | Current | Apr 28, 2023 | N/A | N/A |
86+
| 2 | 2.5.4 | Current | Apr 28, 2023 | N/A | N/A |

Diff for: benchmarks/README.md

+1-1
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.5.3-jmh.jar`.
10+
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.5.4-jmh.jar`.
1111
1. you may have to update the command based on the exact version of the produced JAR file

Diff for: docs/GettingStarted.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you are using the AWS JDBC Driver as part of a Gradle project, include the wr
1616
1717
```gradle
1818
dependencies {
19-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.5.3'
19+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.5.4'
2020
implementation group: 'org.postgresql', name: 'postgresql', version: '42.5.0'
2121
}
2222
```
@@ -30,16 +30,16 @@ You can use pre-compiled packages that can be downloaded directly from [GitHub R
3030
For example, the following command uses wget to download the wrapper:
3131

3232
```bash
33-
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.5.3/aws-advanced-jdbc-wrapper-2.5.3.jar
33+
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.5.4/aws-advanced-jdbc-wrapper-2.5.4.jar
3434
```
3535

3636
Then, the following command adds the AWS JDBC Driver to the CLASSPATH:
3737

3838
```bash
39-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.5.3.jar
39+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.5.4.jar
4040
```
4141

42-
> **Note**: There is also a JAR suffixed with `-bundle-federated-auth`. It is an Uber JAR that contains the AWS JDBC Driver as well as all the dependencies needed to run the Federated Authentication Plugin. **Our general recommendation is to use the `aws-advanced-jdbc-wrapper-2.5.3.jar` for use cases unrelated to complex Federated Authentication environments**. To learn more, please check out the [Federated Authentication Plugin](./using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md#bundled-uber-jar).
42+
> **Note**: There is also a JAR suffixed with `-bundle-federated-auth`. It is an Uber JAR that contains the AWS JDBC Driver as well as all the dependencies needed to run the Federated Authentication Plugin. **Our general recommendation is to use the `aws-advanced-jdbc-wrapper-2.5.4.jar` for use cases unrelated to complex Federated Authentication environments**. To learn more, please check out the [Federated Authentication Plugin](./using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md#bundled-uber-jar).
4343
4444
### As a Maven Dependency
4545

@@ -50,7 +50,7 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
5050
<dependency>
5151
<groupId>software.amazon.jdbc</groupId>
5252
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
53-
<version>2.5.3</version>
53+
<version>2.5.4</version>
5454
</dependency>
5555
</dependencies>
5656
```
@@ -61,15 +61,15 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
6161

6262
```gradle
6363
dependencies {
64-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.5.3'
64+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.5.4'
6565
}
6666
```
6767

6868
To add a Gradle dependency in a Kotlin syntax, use the following configuration:
6969

7070
```kotlin
7171
dependencies {
72-
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.5.3")
72+
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.5.4")
7373
}
7474
```
7575

Diff for: docs/using-the-jdbc-driver/UsingTheJdbcDriver.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ If there is an unreleased feature you would like to try, it may be available in
226226
<dependency>
227227
<groupId>software.amazon.jdbc</groupId>
228228
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
229-
<version>2.5.4-SNAPSHOT</version>
229+
<version>2.5.5-SNAPSHOT</version>
230230
<scope>system</scope>
231231
<systemPath>path-to-snapshot-jar</systemPath>
232232
</dependency>

Diff for: docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This JAR is a drop-in ready solution and is **recommended for customers who do n
3232
As this plugin has a number of transitive dependencies, the goal of this JAR is to eliminate the need to manually source all the dependencies and avoid potential issues with managing them.
3333
In that spirit, the dependencies in this JAR are shaded with the prefix `shaded` to avoid potential package conflicts with pre-existing packages in your environment.
3434

35-
It is important to note that the Uber JAR is bundled with the AWS Java RDS SDK and is larger (**15 MB**) than our `aws-advanced-jdbc-wrapper-2.5.3.jar`. So please take that into account when deciding if this solution is for you.
35+
It is important to note that the Uber JAR is bundled with the AWS Java RDS SDK and is larger (**15 MB**) than our `aws-advanced-jdbc-wrapper-2.5.4.jar`. So please take that into account when deciding if this solution is for you.
3636

3737
If you would like to download and install the bundled Uber JAR, follow these [instructions](../../GettingStarted.md#direct-download-and-installation).
3838

Diff for: examples/SpringBootHikariExample/README.md

+1-1
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 JDBC Driver 2.5.3
7+
> - AWS JDBC Driver 2.5.4
88
> - Postgresql 42.5.4
99
> - Java 8
1010

Diff for: examples/SpringHibernateExample/README.md

+1-1
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 JDBC Driver 2.5.3
8+
> - AWS JDBC Driver 2.5.4
99
> - Postgresql 42.5.4
1010
> - Gradle 7
1111
> - Java 11

Diff for: examples/SpringTxFailoverExample/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this tutorial, you will set up a Spring Boot application using the AWS JDBC D
44

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

Diff for: examples/SpringWildflyExample/README.md

+3-3
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 JDBC Driver 2.5.3
8+
> - AWS JDBC Driver 2.5.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.5.3.jar
41+
│ │ └───aws-advanced-jdbc-wrapper-2.5.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.5.3.jar"/>
138+
<resource-root path="aws-advanced-jdbc-wrapper-2.5.4.jar"/>
139139
<resource-root path="postgresql-42.5.4.jar"/>
140140
</resources>
141141
</module>

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

+1-1
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.5.3.jar"/>
22+
<resource-root path="aws-advanced-jdbc-wrapper-2.5.4.jar"/>
2323
<resource-root path="postgresql-42.5.4.jar"/>
2424
</resources>
2525
</module>

Diff for: examples/VertxExample/README.md

+1-1
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 Driver 2.5.3
6+
> - AWS JDBC Driver 2.5.4
77
> - PostgreSQL 42.5.4
88
> - Java 8
99
> - Vert.x 4.4.2

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
aws-advanced-jdbc-wrapper.version.major=2
1616
aws-advanced-jdbc-wrapper.version.minor=5
17-
aws-advanced-jdbc-wrapper.version.subminor=3
17+
aws-advanced-jdbc-wrapper.version.subminor=4
1818
snapshot=false
1919
nexus.publish=true
2020

Diff for: wrapper/build.gradle.kts

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ plugins {
2929
dependencies {
3030
implementation("org.checkerframework:checker-qual:3.48.1")
3131
compileOnly("org.apache.httpcomponents:httpclient:4.5.14")
32-
compileOnly("software.amazon.awssdk:rds:2.29.29")
33-
compileOnly("software.amazon.awssdk:auth:2.29.29") // Required for IAM (light implementation)
34-
compileOnly("software.amazon.awssdk:http-client-spi:2.29.29") // Required for IAM (light implementation)
35-
compileOnly("software.amazon.awssdk:sts:2.29.29")
32+
compileOnly("software.amazon.awssdk:rds:2.29.34")
33+
compileOnly("software.amazon.awssdk:auth:2.29.34") // Required for IAM (light implementation)
34+
compileOnly("software.amazon.awssdk:http-client-spi:2.29.34") // Required for IAM (light implementation)
35+
compileOnly("software.amazon.awssdk:sts:2.29.34")
3636
compileOnly("com.zaxxer:HikariCP:4.0.3") // Version 4.+ is compatible with Java 8
37-
compileOnly("software.amazon.awssdk:secretsmanager:2.29.29")
37+
compileOnly("software.amazon.awssdk:secretsmanager:2.29.34")
3838
compileOnly("com.fasterxml.jackson.core:jackson-databind:2.17.1")
3939
compileOnly("com.mysql:mysql-connector-j:8.3.0")
4040
compileOnly("org.postgresql:postgresql:42.7.4")

Diff for: wrapper/src/test/resources/hibernate_files/hibernate-core.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161
transitive = true
6262
}
6363
testImplementation "joda-time:joda-time:2.3"
64-
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.5.3.jar')
64+
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.5.4.jar')
6565
testImplementation dbLibs.postgresql
6666
testImplementation dbLibs.mysql
6767
testImplementation dbLibs.h2

Diff for: wrapper/src/test/resources/hibernate_files/java-module.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ dependencies {
9797
// Since both the DB2 driver and HANA have a package "net.jpountz" we have to add dependencies conditionally
9898
// This is due to the "no split-packages" requirement of Java 9+
9999

100-
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.5.3.jar')
100+
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.5.4.jar')
101101
testRuntimeOnly dbLibs.mysql
102102

103103
if ( db.startsWith( 'db2' ) ) {

0 commit comments

Comments
 (0)