diff --git a/CHANGELOG.md b/CHANGELOG.md index 2596439f7..f287cceba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ 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.6.7] - 2025-11-25 + +### :bug: Fixed +- Handle nested auth exceptions in MySQLExceptionHandler ([PR #1601](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1601)) and in other handlers ([PR #1605](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1605)). +- Outdated topology during Blue/Green switchover leads to wrong connection failover ([PR #1599](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1599)). +- Ensure Blue/Green monitor instances are set up properly ([PR #1612](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1612)). + +### :crab: Changed +- Documentation: + - Replace references to AWS JDBC Driver to AWS Advanced JDBC Wrapper for consistency ([PR #1595](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1595)) + - Update instructions regarding MySQL permissions ([PR #1608](https://github.com/aws/aws-advanced-jdbc-wrapper/pull/1608)) + ## [2.6.6] - 2025-11-05 ### :magic_wand: Added diff --git a/Maintenance.md b/Maintenance.md index 5cd4ef0a1..62a2983cf 100644 --- a/Maintenance.md +++ b/Maintenance.md @@ -39,6 +39,7 @@ | September 11, 2025 | [Release 2.6.4](https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.4) | | October 16, 2025 | [Release 2.6.5](https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.5) | | November 5, 2025 | [Release 2.6.6](https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.6) | +| November 25, 2025 | [Release 2.6.7](https://github.com/aws/aws-advanced-jdbc-wrapper/releases/tag/2.6.7) | `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 @@ -92,4 +93,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.6.6 | Current | Apr 28, 2023 | N/A | N/A | +| 2 | 2.6.7 | Current | Apr 28, 2023 | N/A | N/A | diff --git a/benchmarks/README.md b/benchmarks/README.md index 398816a03..38e9bf49f 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.6.6-jmh.jar`. +2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.6.7-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 ea8d85c97..d66b844ca 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -16,7 +16,7 @@ If you are using the AWS Advanced JDBC Wrapper as part of a Gradle project, incl ```gradle dependencies { - implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.6.6' + implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.6.7' 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/aws/aws-advanced-jdbc-wrapper/releases/download/2.6.6/aws-advanced-jdbc-wrapper-2.6.6.jar +wget https://github.com/aws/aws-advanced-jdbc-wrapper/releases/download/2.6.7/aws-advanced-jdbc-wrapper-2.6.7.jar ``` Then, the following command adds the AWS Advanced JDBC Wrapper to the CLASSPATH: ```bash -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.6.6.jar +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.6.7.jar ``` -> **Note**: There is also a JAR suffixed with `-bundle-federated-auth`. It is an Uber JAR that contains the AWS Advanced JDBC Wrapper 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.6.6.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 Advanced JDBC Wrapper 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.6.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). ### As a Maven Dependency @@ -50,7 +50,7 @@ You can use [Maven's dependency management](https://central.sonatype.com/artifac software.amazon.jdbc aws-advanced-jdbc-wrapper - 2.6.6 + 2.6.7 ``` @@ -61,7 +61,7 @@ You can use [Gradle's dependency management](https://central.sonatype.com/artifa ```gradle dependencies { - implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.6.6' + implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.6.7' } ``` @@ -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.6.6") + implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.6.7") } ``` diff --git a/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md b/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md index 3166ce9bd..829b4f38a 100644 --- a/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md +++ b/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md @@ -236,7 +236,7 @@ To use a snapshot build in your project, check the following examples. More info software.amazon.jdbc aws-advanced-jdbc-wrapper - 2.6.6-SNAPSHOT + 2.6.8-SNAPSHOT diff --git a/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md b/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md index 25bd73445..1599e7b2d 100644 --- a/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md +++ b/docs/using-the-jdbc-driver/using-plugins/UsingTheFederatedAuthPlugin.md @@ -34,7 +34,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.6.6.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.6.7.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 d56bea796..d90addb82 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 Advanced JDBC Wrapper 2.6.6 +> - AWS Advanced JDBC Wrapper 2.6.7 > - Postgresql 42.5.4 > - Java 8 diff --git a/examples/SpringHibernateExample/README.md b/examples/SpringHibernateExample/README.md index ca2e60bcc..4b95f95c3 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 Advanced JDBC Wrapper 2.6.6 +> - AWS Advanced JDBC Wrapper 2.6.7 > - Postgresql 42.5.4 > - Gradle 7 > - Java 11 diff --git a/examples/SpringTxFailoverExample/README.md b/examples/SpringTxFailoverExample/README.md index 8288ffd70..53364492a 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 Advanc > Note: this tutorial was written using the following technologies: > - Spring Boot 2.7.0 -> - AWS Advanced JDBC Wrapper 2.6.6 +> - AWS Advanced JDBC Wrapper 2.6.7 > - Postgresql 42.5.4 > - Java 8 diff --git a/examples/SpringWildflyExample/README.md b/examples/SpringWildflyExample/README.md index 49b14a5a5..bcf6f8d71 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 Advanced JDBC Wrapper 2.6.6 +> - AWS Advanced JDBC Wrapper 2.6.7 > - Postgresql 42.5.4 > - Gradle 7 > - Java 11 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 4133e429f..c264ba335 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 048974b5f..6b954516c 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 Advanced JDBC Wrapper, 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 Advanced JDBC Wrapper 2.6.6 +> - AWS Advanced JDBC Wrapper 2.6.7 > - PostgreSQL 42.5.4 > - Java 8 > - Vert.x 4.4.2 diff --git a/gradle.properties b/gradle.properties index 5ae1eeffb..0c0667eff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ aws-advanced-jdbc-wrapper.version.major=2 aws-advanced-jdbc-wrapper.version.minor=6 -aws-advanced-jdbc-wrapper.version.subminor=6 +aws-advanced-jdbc-wrapper.version.subminor=7 snapshot=false nexus.publish=true