Skip to content

Commit 71ed75e

Browse files
committedOct 24, 2024·
chore: update changelog and bump version for 2.5.1
1 parent c26868d commit 71ed75e

File tree

15 files changed

+28
-22
lines changed

15 files changed

+28
-22
lines changed
 

‎CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ 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.1] - 2024-10-24
7+
### :bug: Fixed
8+
- `RdsHostListProvider#getClusterId` returning null `clusterId` causing NPE in Limitless Connection Plugin ([PR #1162](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1162)).
9+
610
## [2.5.0] - 2024-10-18
711

812
### :magic_wand: Added
@@ -370,6 +374,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
370374
- The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
371375
- The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
372376

377+
[2.5.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.5.0...2.5.1
373378
[2.5.0]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.4.0...2.5.0
374379
[2.4.0]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.9...2.4.0
375380
[2.3.9]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.8...2.3.9

‎Maintenance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
| August 9, 2024 | [Release 2.3.9](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.9) |
2727
| September 25, 2024 | [Release 2.4.0](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.4.0) |
2828
| October 18, 2024 | [Release 2.5.0](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.5.0) |
29+
| October 24, 2024 | [Release 2.5.1](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.5.1) |
2930

3031
`aws-advanced-jdbc-wrapper` [follows semver](https://semver.org/#semantic-versioning-200) which means we will only
3132
release breaking changes in major versions. Generally speaking patches will be released to fix existing problems without
@@ -79,4 +80,4 @@ from the updated source after the PRs are merged.
7980
| Major Version | Latest Minor Version | Status | Initial Release | Maintenance Window Start | Maintenance Window End |
8081
|---------------|----------------------|-------------|-----------------|--------------------------|------------------------|
8182
| 1 | 1.0.2 | Maintenance | Oct 5, 2022 | Apr 28, 2023 | Apr 28, 2024 |
82-
| 2 | 2.5.0 | Current | Apr 28, 2023 | N/A | N/A |
83+
| 2 | 2.5.1 | 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.5.0-jmh.jar`.
10+
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.5.1-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: 7 additions & 7 deletions
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.0'
19+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.5.1'
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.0/aws-advanced-jdbc-wrapper-2.5.0.jar
33+
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.5.1/aws-advanced-jdbc-wrapper-2.5.1.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.0.jar
39+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.5.1.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.0.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.1.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.0</version>
53+
<version>2.5.1</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.0'
64+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.5.1'
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.0")
72+
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.5.1")
7373
}
7474
```
7575

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

Lines changed: 1 addition & 1 deletion
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.1-SNAPSHOT</version>
229+
<version>2.5.2-SNAPSHOT</version>
230230
<scope>system</scope>
231231
<systemPath>path-to-snapshot-jar</systemPath>
232232
</dependency>

‎docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md

Lines changed: 1 addition & 1 deletion
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.0.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.1.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

‎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 JDBC Driver 2.5.0
7+
> - AWS JDBC Driver 2.5.1
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 JDBC Driver 2.5.0
8+
> - AWS JDBC Driver 2.5.1
99
> - Postgresql 42.5.4
1010
> - Gradle 7
1111
> - Java 11

‎examples/SpringTxFailoverExample/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 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.0
7+
> - AWS JDBC Driver 2.5.1
88
> - Postgresql 42.5.4
99
> - Java 8
1010

‎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 JDBC Driver 2.5.0
8+
> - AWS JDBC Driver 2.5.1
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.0.jar
41+
│ │ └───aws-advanced-jdbc-wrapper-2.5.1.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.0.jar"/>
138+
<resource-root path="aws-advanced-jdbc-wrapper-2.5.1.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.5.0.jar"/>
22+
<resource-root path="aws-advanced-jdbc-wrapper-2.5.1.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 Driver 2.5.0
6+
> - AWS JDBC Driver 2.5.1
77
> - PostgreSQL 42.5.4
88
> - Java 8
99
> - Vert.x 4.4.2

‎gradle.properties

Lines changed: 1 addition & 1 deletion
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=0
17+
aws-advanced-jdbc-wrapper.version.subminor=1
1818
snapshot=false
1919
nexus.publish=true
2020

‎wrapper/src/test/resources/hibernate_files/hibernate-core.gradle

Lines changed: 1 addition & 1 deletion
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.0.jar')
64+
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.5.1.jar')
6565
testImplementation dbLibs.postgresql
6666
testImplementation dbLibs.mysql
6767
testImplementation dbLibs.h2

‎wrapper/src/test/resources/hibernate_files/java-module.gradle

Lines changed: 1 addition & 1 deletion
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.0.jar')
100+
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.5.1.jar')
101101
testRuntimeOnly dbLibs.mysql
102102

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

0 commit comments

Comments
 (0)