Skip to content

Commit 1fa4653

Browse files
chore: update changelog and versioning for 2.2.5
1 parent a22fe6c commit 1fa4653

File tree

14 files changed

+35
-28
lines changed

14 files changed

+35
-28
lines changed

CHANGELOG.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +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-
## [?]
6+
## [2.2.5] - 2023-10-03
7+
### :magic_wand: Added
8+
- Optional preservation of partial session state post failover ([PR #632](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/632)).
9+
- Round Robin host selection strategy ([PR #603](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/603)).
10+
- Sample application failover retry with Spring Boot ([PR #638](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/638)).
11+
712
### :crab: Changed
8-
- Renamed the `messages.properties` file to `aws_advanced_jdbc_wrapper_messages.properties` ([PR #643](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/647)).
13+
- Renamed the `messages.properties` file to `aws_advanced_jdbc_wrapper_messages.properties` ([Issue #633](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/633)).
914

1015
## [2.2.4] - 2023-08-29
1116
### :magic_wand: Added
@@ -179,12 +184,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
179184
The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take advantage of the features of clustered Aurora databases.
180185

181186
### :magic_wand: Added
182-
* Support for PostgreSQL
183-
* The [Failover Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheFailoverPlugin.md)
184-
* The [Host Monitoring Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheHostMonitoringPlugin.md)
185-
* The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
186-
* The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
187+
- Support for PostgreSQL
188+
- The [Failover Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheFailoverPlugin.md)
189+
- The [Host Monitoring Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheHostMonitoringPlugin.md)
190+
- The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
191+
- The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
187192

193+
[2.2.5]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.4...2.2.5
188194
[2.2.4]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.3...2.2.4
189195
[2.2.3]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.2...2.2.3
190196
[2.2.2]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.1...2.2.2

Maintenance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
| July 5, 2023 | [Release 2.2.2](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.2) |
1414
| July 31, 2023 | [Release 2.2.3](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.3) |
1515
| August 25, 2023 | [Release 2.2.4](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.4) |
16+
| October 3, 2023 | [Release 2.2.5](https://github.com/awslabs/`aws-advanced-jdbc-wrapper`/releases/tag/2.2.5) |
1617

1718
``aws-advanced-jdbc-wrapper`` [follows semver](https://semver.org/#semantic-versioning-200) which means we will only
1819
release breaking changes in major versions. Generally speaking patches will be released to fix existing problems without
@@ -67,4 +68,4 @@ from the updated source after the PRs are merged.
6768
| Major Version | Latest Minor Version | Status | Initial Release | Maintenance Window Start | Maintenance Window End |
6869
|---------------|----------------------|-------------|-----------------|--------------------------|------------------------|
6970
| 1 | 1.0.2 | Maintenance | Oct 5, 2022 | Apr 28, 2023 | Apr 28, 2024 |
70-
| 2 | 2.2.4 | Current | Apr 28, 2023 | N/A | N/A |
71+
| 2 | 2.2.5 | 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.4-jmh.jar`.
10+
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.2.5-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
@@ -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.2.4'
19+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.5'
2020
implementation group: 'org.postgresql', name: 'postgresql', version: '42.5.0'
2121
}
2222
```
@@ -30,13 +30,13 @@ 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.2.4/aws-advanced-jdbc-wrapper-2.2.4.jar
33+
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.2.5/aws-advanced-jdbc-wrapper-2.2.5.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.2.4.jar
39+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.2.5.jar
4040
```
4141

4242
### As a Maven Dependency
@@ -48,7 +48,7 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
4848
<dependency>
4949
<groupId>software.amazon.jdbc</groupId>
5050
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
51-
<version>2.2.4</version>
51+
<version>2.2.5</version>
5252
</dependency>
5353
</dependencies>
5454
```
@@ -59,15 +59,15 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
5959

6060
```gradle
6161
dependencies {
62-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.4'
62+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.5'
6363
}
6464
```
6565

6666
To add a Gradle dependency in a Kotlin syntax, use the following configuration:
6767

6868
```kotlin
6969
dependencies {
70-
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.2.4")
70+
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.2.5")
7171
}
7272
```
7373

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ If there is an unreleased feature you would like to try, it may be available in
137137
<dependency>
138138
<groupId>software.amazon.jdbc</groupId>
139139
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
140-
<version>2.2.4-SNAPSHOT</version>
140+
<version>2.2.5-SNAPSHOT</version>
141141
<scope>system</scope>
142142
<systemPath>path-to-snapshot-jar</systemPath>
143143
</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 JDBC Driver 2.2.4
7+
> - AWS JDBC Driver 2.2.5
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.4
8+
> - AWS Advanced JDBC Driver 2.2.5
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.2.4
7+
> - AWS JDBC Driver 2.2.5
88
> - Postgresql 42.5.4
99
> - Java 8
1010

examples/SpringWildflyExample/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Tutorial: Getting Started with the AWS Advanced JDBC Driver, Spring Boot and Wildfly
1+
# Tutorial: Getting Started with the AWS JDBC Driver, Spring Boot and Wildfly
22

33
In this tutorial, you will set up a Wildfly and Spring Boot application with the AWS Advanced JDBC Driver, and use the wrapper to execute some simple database operations.
44

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.4
8+
> - AWS JDBC Driver 2.2.5
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.4.jar
41+
│ │ └───aws-advanced-jdbc-wrapper-2.2.5.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.4.jar"/>
138+
<resource-root path="aws-advanced-jdbc-wrapper-2.2.5.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.4.jar"/>
22+
<resource-root path="aws-advanced-jdbc-wrapper-2.2.5.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.4
6+
> - AWS JDBC Driver 2.2.5
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,6 +14,6 @@
1414

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

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.2.4.jar')
64+
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.2.5.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.2.4.jar')
100+
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.2.5.jar')
101101
testRuntimeOnly dbLibs.mysql
102102

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

0 commit comments

Comments
 (0)