diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a237eefe..1ceaa8d7d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,10 +3,12 @@ All notable changes to this project will be documented in this file.
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).
-## [2.3.8] - TBD
+## [2.3.8] - 2024-07-31
### :bug: Fixed
- Avoid setting a blank catalog when closing a connection ([PR #1047](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1047)).
+- Ensure the `enableGreenNodeReplacement` parameter setting is used during connection ([Issue #1059](https://github.com/aws/aws-advanced-jdbc-wrapper/issues/1059)).
+- Ensure GovCloud DNS patterns are supported ((PR #1054)[https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1054]).
## [2.3.7] - 2024-06-05
@@ -328,6 +330,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
- The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
- The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
+[2.3.8]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.7...2.3.8
[2.3.7]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.6...2.3.7
[2.3.6]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.5...2.3.6
[2.3.5]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.3.4...2.3.5
diff --git a/Maintenance.md b/Maintenance.md
index bc4e83dba..2ab5ad11c 100644
--- a/Maintenance.md
+++ b/Maintenance.md
@@ -22,6 +22,7 @@
| March 14, 2024 | [Release 2.3.5](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.5) |
| May 01, 2024 | [Release 2.3.6](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.6) |
| June 05, 2024 | [Release 2.3.7](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.7) |
+| July 31, 2024 | [Release 2.3.8](https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/2.3.8) |
`aws-advanced-jdbc-wrapper` [follows semver](https://semver.org/#semantic-versioning-200) which means we will only
release breaking changes in major versions. Generally speaking patches will be released to fix existing problems without
@@ -75,4 +76,4 @@ from the updated source after the PRs are merged.
| Major Version | Latest Minor Version | Status | Initial Release | Maintenance Window Start | Maintenance Window End |
|---------------|----------------------|-------------|-----------------|--------------------------|------------------------|
| 1 | 1.0.2 | Maintenance | Oct 5, 2022 | Apr 28, 2023 | Apr 28, 2024 |
-| 2 | 2.3.7 | Current | Apr 28, 2023 | N/A | N/A |
+| 2 | 2.3.8 | Current | Apr 28, 2023 | N/A | N/A |
diff --git a/benchmarks/README.md b/benchmarks/README.md
index 4e0245afa..c0444be1b 100644
--- a/benchmarks/README.md
+++ b/benchmarks/README.md
@@ -7,5 +7,5 @@ The benchmarks do not measure the performance of target JDBC drivers nor the per
## Usage
1. Build the benchmarks with the following command `../gradlew jmhJar`.
1. the JAR file will be outputted to `build/libs`
-2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.3.7-jmh.jar`.
+2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.3.8-jmh.jar`.
1. you may have to update the command based on the exact version of the produced JAR file
diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md
index ec63132e2..0e445fac4 100644
--- a/docs/GettingStarted.md
+++ b/docs/GettingStarted.md
@@ -16,7 +16,7 @@ If you are using the AWS JDBC Driver as part of a Gradle project, include the wr
```gradle
dependencies {
- implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.3.7'
+ implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.3.8'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.5.0'
}
```
@@ -30,16 +30,16 @@ You can use pre-compiled packages that can be downloaded directly from [GitHub R
For example, the following command uses wget to download the wrapper:
```bash
-wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.3.7/aws-advanced-jdbc-wrapper-2.3.7.jar
+wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.3.8/aws-advanced-jdbc-wrapper-2.3.8.jar
```
Then, the following command adds the AWS JDBC Driver to the CLASSPATH:
```bash
-export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.3.7.jar
+export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.3.8.jar
```
-> **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.7.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).
+> **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.8.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).
### As a Maven Dependency
@@ -50,7 +50,7 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
software.amazon.jdbc
aws-advanced-jdbc-wrapper
- 2.3.7
+ 2.3.8
```
@@ -61,7 +61,7 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
```gradle
dependencies {
- implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.3.7'
+ implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.3.8'
}
```
@@ -69,7 +69,7 @@ To add a Gradle dependency in a Kotlin syntax, use the following configuration:
```kotlin
dependencies {
- implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.3.7")
+ implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.3.8")
}
```
diff --git a/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md b/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md
index ed67e0084..fc2f75f87 100644
--- a/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md
+++ b/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md
@@ -224,7 +224,7 @@ If there is an unreleased feature you would like to try, it may be available in
software.amazon.jdbc
aws-advanced-jdbc-wrapper
- 2.3.8-SNAPSHOT
+ 2.3.9-SNAPSHOT
system
path-to-snapshot-jar
diff --git a/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md b/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md
index e0112370b..f5a2789f0 100644
--- a/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md
+++ b/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md
@@ -32,7 +32,7 @@ This JAR is a drop-in ready solution and is **recommended for customers who do n
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.
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.
-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.3.7.jar`. So please take that into account when deciding if this solution is for you.
+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.3.8.jar`. So please take that into account when deciding if this solution is for you.
If you would like to download and install the bundled Uber JAR, follow these [instructions](../../GettingStarted.md#direct-download-and-installation).
diff --git a/examples/SpringBootHikariExample/README.md b/examples/SpringBootHikariExample/README.md
index 1744a8459..85c0dc28e 100644
--- a/examples/SpringBootHikariExample/README.md
+++ b/examples/SpringBootHikariExample/README.md
@@ -4,7 +4,7 @@ In this tutorial, you will set up a Spring Boot application using Hikari and the
> Note: this tutorial was written using the following technologies:
> - Spring Boot 2.7.0
-> - AWS JDBC Driver 2.3.7
+> - AWS JDBC Driver 2.3.8
> - Postgresql 42.5.4
> - Java 8
diff --git a/examples/SpringHibernateExample/README.md b/examples/SpringHibernateExample/README.md
index 96bbdc9dc..386ac342b 100644
--- a/examples/SpringHibernateExample/README.md
+++ b/examples/SpringHibernateExample/README.md
@@ -5,7 +5,7 @@ In this tutorial, you will set up a Spring Boot and Hibernate application with t
> Note: this tutorial was written using the following technologies:
> - Spring Boot 2.7.1
> - Hibernate
-> - AWS JDBC Driver 2.3.7
+> - AWS JDBC Driver 2.3.8
> - Postgresql 42.5.4
> - Gradle 7
> - Java 11
diff --git a/examples/SpringTxFailoverExample/README.md b/examples/SpringTxFailoverExample/README.md
index b0bf9d3ac..9b1c1d9a0 100644
--- a/examples/SpringTxFailoverExample/README.md
+++ b/examples/SpringTxFailoverExample/README.md
@@ -4,7 +4,7 @@ In this tutorial, you will set up a Spring Boot application using the AWS JDBC D
> Note: this tutorial was written using the following technologies:
> - Spring Boot 2.7.0
-> - AWS JDBC Driver 2.3.7
+> - AWS JDBC Driver 2.3.8
> - Postgresql 42.5.4
> - Java 8
diff --git a/examples/SpringWildflyExample/README.md b/examples/SpringWildflyExample/README.md
index d8d9a8acf..a0788ec94 100644
--- a/examples/SpringWildflyExample/README.md
+++ b/examples/SpringWildflyExample/README.md
@@ -5,7 +5,7 @@ In this tutorial, you will set up a Wildfly and Spring Boot application with the
> Note: this tutorial was written using the following technologies:
> - Spring Boot 2.7.1
> - Wildfly 26.1.1 Final
-> - AWS JDBC Driver 2.3.7
+> - AWS JDBC Driver 2.3.8
> - Postgresql 42.5.4
> - Gradle 7
> - Java 11
@@ -38,7 +38,7 @@ Create a Gradle project with the following project hierarchy:
│ └───main
│ │ │───module.xml
│ │ │───postgresql-42.5.4.jar
- │ │ └───aws-advanced-jdbc-wrapper-2.3.7.jar
+ │ │ └───aws-advanced-jdbc-wrapper-2.3.8.jar
└───standalone
├───configuration
├───amazon
@@ -135,7 +135,7 @@ Since this example uses the PostgreSQL JDBC driver as the target driver, you nee
-
+
diff --git a/examples/SpringWildflyExample/wildfly/modules/software/amazon/jdbc/main/module.xml b/examples/SpringWildflyExample/wildfly/modules/software/amazon/jdbc/main/module.xml
index 2f14befbe..c46255fde 100644
--- a/examples/SpringWildflyExample/wildfly/modules/software/amazon/jdbc/main/module.xml
+++ b/examples/SpringWildflyExample/wildfly/modules/software/amazon/jdbc/main/module.xml
@@ -19,7 +19,7 @@
-
+
diff --git a/examples/VertxExample/README.md b/examples/VertxExample/README.md
index c9e557be4..290f1cba3 100644
--- a/examples/VertxExample/README.md
+++ b/examples/VertxExample/README.md
@@ -3,7 +3,7 @@
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.
> Note: this tutorial was written using the following technologies:
-> - AWS JDBC Driver 2.3.7
+> - AWS JDBC Driver 2.3.8
> - PostgreSQL 42.5.4
> - Java 8
> - Vert.x 4.4.2
diff --git a/gradle.properties b/gradle.properties
index 96e55c46f..5ff584678 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -14,7 +14,7 @@
aws-advanced-jdbc-wrapper.version.major=2
aws-advanced-jdbc-wrapper.version.minor=3
-aws-advanced-jdbc-wrapper.version.subminor=7
+aws-advanced-jdbc-wrapper.version.subminor=8
snapshot=false
nexus.publish=true
diff --git a/wrapper/src/test/resources/hibernate_files/hibernate-core.gradle b/wrapper/src/test/resources/hibernate_files/hibernate-core.gradle
index 38a043aee..53d202406 100644
--- a/wrapper/src/test/resources/hibernate_files/hibernate-core.gradle
+++ b/wrapper/src/test/resources/hibernate_files/hibernate-core.gradle
@@ -61,7 +61,7 @@ dependencies {
transitive = true
}
testImplementation "joda-time:joda-time:2.3"
- testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.3.7.jar')
+ testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.3.8.jar')
testImplementation dbLibs.postgresql
testImplementation dbLibs.mysql
testImplementation dbLibs.h2
diff --git a/wrapper/src/test/resources/hibernate_files/java-module.gradle b/wrapper/src/test/resources/hibernate_files/java-module.gradle
index 475b36cfb..70a852bea 100644
--- a/wrapper/src/test/resources/hibernate_files/java-module.gradle
+++ b/wrapper/src/test/resources/hibernate_files/java-module.gradle
@@ -97,7 +97,7 @@ dependencies {
// Since both the DB2 driver and HANA have a package "net.jpountz" we have to add dependencies conditionally
// This is due to the "no split-packages" requirement of Java 9+
- testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.3.7.jar')
+ testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.3.8.jar')
testRuntimeOnly dbLibs.mysql
if ( db.startsWith( 'db2' ) ) {