Skip to content

Commit b9606b8

Browse files
chore: changelog and changelog for release version 2.3.4
1 parent 9cb2354 commit b9606b8

File tree

14 files changed

+44
-21
lines changed

14 files changed

+44
-21
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@ 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.3.4] - 2024-03-01
7+
### :magic_wand: Added
8+
- Documentation:
9+
- Bundled Uber Jar for Federated Authentication. See [UsingTheFederatedAuthPlugin](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md#bundled-uber-jar).
10+
- Using the Read Write Splitting Plugin's internal connection pool with Spring applications. See [UsingTheReadWriteSplittingPlugin](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md#internal-connection-pools).
11+
- Spring Framework application code examples with load balanced access to database cluster reader instances ([PR #852](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/852)).
12+
- New configuration preset `SF_` optimized for Spring Framework applications ([PR #852](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/852)).
13+
- Lightweight alternative for IAM token generator that requires fewer dependencies ([PR #867](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/867)).
14+
15+
### :bug: Fixed
16+
- Fixes to session state transfer ([PR #852](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/852)).
17+
- Enhanced Host Monitoring Plugin (EFM) v2 plugin to use `ConcurrentHashMap` instead of `HashMap` to avoid `ConcurrentModificationException` ([Issue #855](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/855)).
18+
- Move lock location and skip executing `Statement.getConnection` when running `Statement.cancel` to fix `Statement.cancel` for MySQL ([PR #851](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/851))
19+
- Remove Telemetry trace associated with a Monitor thread because traces for long-running tasks is an anti-pattern ([PR #875](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/875)).
20+
21+
### :crab: Changed
22+
- HostSelector implementations to take into account HostAvailability ([PR #856](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/856)).
23+
- Reduced the number of Regular Expression checks with `Matcher.find` to improve performance ([PR #854](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/854)).
24+
- HostSpec class to not use a default lastUpdateTime and instead use null ([PR 877](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/877)).
25+
- Moved Reader Selection Strategies out of the `UsingTheReadWriteSplittingPlugin` doc and into its own page. See [ReaderSelectionStrategies](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/ReaderSelectionStrategies.md).
26+
627
## [2.3.3] - 2024-01-23
728
### :magic_wand: Added
829
- Documentation:
@@ -262,6 +283,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
262283
- The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
263284
- The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
264285

286+
[2.3.4]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.3...2.3.4
265287
[2.3.3]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.2...2.3.3
266288
[2.3.2]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.1...2.3.2
267289
[2.3.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.0...2.3.1

Maintenance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
| November 29, 2023 | [Release 2.3.1](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.1) |
1919
| December 18, 2023 | [Release 2.3.2](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.2) |
2020
| January 23, 2024 | [Release 2.3.3](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.3) |
21+
| March 1, 2024 | [Release 2.3.4](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.4) |
2122

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ If there is an unreleased feature you would like to try, it may be available in
193193
<dependency>
194194
<groupId>software.amazon.jdbc</groupId>
195195
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
196-
<version>2.3.4-SNAPSHOT</version>
196+
<version>2.3.5-SNAPSHOT</version>
197197
<scope>system</scope>
198198
<systemPath>path-to-snapshot-jar</systemPath>
199199
</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.3.3
7+
> - AWS JDBC Driver 2.3.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 JDBC Driver 2.3.3
8+
> - AWS JDBC Driver 2.3.4
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.3.3
7+
> - AWS JDBC Driver 2.3.4
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.3.3
8+
> - AWS JDBC Driver 2.3.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.3.3.jar
41+
│ │ └───aws-advanced-jdbc-wrapper-2.3.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.3.3.jar"/>
138+
<resource-root path="aws-advanced-jdbc-wrapper-2.3.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.3.3.jar"/>
22+
<resource-root path="aws-advanced-jdbc-wrapper-2.3.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 Driver 2.3.3
6+
> - AWS JDBC Driver 2.3.4
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=3
17-
aws-advanced-jdbc-wrapper.version.subminor=3
17+
aws-advanced-jdbc-wrapper.version.subminor=4
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.3.3.jar')
64+
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.3.4.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.3.3.jar')
100+
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.3.4.jar')
101101
testRuntimeOnly dbLibs.mysql
102102

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

0 commit comments

Comments
 (0)