All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.3 - 2023-01-05
- Removed "SNAPSHOT" from the full version name. Issue 318
- Fixed incorrect driver classpath in README.md
- Fixed failure detection interval in EFM
- Shading to -sources.jar to reflect the main jar which is shaded
1.1.2 - 2022-11-22
- Upstream changes from MySQL 8.0.31 community driver.
- A new
enableFailoverStrictReader
parameter so the driver only reconnects to reader nodes after a failover.
- Upgraded dependency versions
- Updated FailoverConnectionPlugin license.
- Fixed plugin factories package names in the README.
- Resolved an issue where the driver attempts to query for the topology during a prepared transaction.Issue 292
- Resolved an issue where distinct ClientPreparedStatement objects incorrectly have the same hashCode.Issue 308
- Fixed the writer failover process where the driver reconnects to a reader node due to outdated topology information.
- Fixed some incorrect log messages.
- Enhanced logging to avoid unnecessary String format calls.
1.1.1 - 2022-09-22
- Upgraded dependency versions
- Resolved an issue where failover was taking longer than expected when the driver was used with certain versions of HikariCP. Issue 254.
- Resolved an issue where the EFM plugin occasionally threw a NullPointerException while stopping the monitor context. Issue 209.
- Fixed a bug where the AWS Secrets Manager Plugin was not checking nested exceptions when determining if the exception was caused by an unsuccessful login attempt.
- Fixed a bug where failover could take up to two times the length of the failoverTimeoutMs connection property.
- Fixed an incorrect URL template for DBeaver in README.md.
- Fixed some incorrect log messages.
1.1.0 - 2022-06-29
- Upgraded the driver to use AWS Java SDK v.2.17.165.
- Resolved an issue related to
abort
,close
, andisClosed
by filtering out methods that do not require failover. Issue 206. - Resolved an issue where
max_allowed_packet
on the server wasn't being respected by the driver. Issue 191. - Resolved a concurrency issue with the Aurora toplogy cache. Issue 188.
- Resolved an issue where non-network errors were not propagated during failover.
1.0.0 - 2022-03-01
- Upstream changes from MySQL 8.0.28 community driver.
- Hikari connection pool integration tests have been added.
- Docker containers are now created as part of testing and used to run both unit and integration tests.
- Failover performance metrics tracked based on a cluster. With options to enable additional performance metrics per instance.
- Failover functionality refactored into a connection plugin.
- Enhanced Failure Monitoring connection status check.
0.4.0 - 2021-12-14
- Ability to execute additional or supplementary logic related to a
Connection
through Connection Plugin Manager. More details can be found here. Tutorial on writing custom connection plugin can be found here. - Enhanced Failure Monitoring for improved failure detection.
- NetworkFailuresFailoverIntegrationTest now uses environment variables to match FailoverIntegrationTest and ReplicationFailoverIntegrationTest.
- Updated all dependencies.
- Removed
jboss-as-connector
dependency for more up-to-date dependencyjavassist
.
0.3.0 - 2021-11-18
- AWS IAM Authentication is now supported. Usage instructions can be found here.
- Enforce Java 8 in the build process.
- Resolved an issue for when connecting with an invalid connection after a valid connection. Users were able to connect with cached information after a valid connection despite providing invalid information.
- Flakey tests.
0.2.0 - 2021-08-30
- Upstream changes from MySQL 8.0.23 community driver.
- Clarifications and improvements to README.md.
- Potential Breaking Change: Loading of XML external entities are not loaded by default. Users must explictly allow it through using the new "allowXmlUnsafeExternalEntity" connection URL parameter. It is recommended that users verify external entities before loading them.
setAwsProtocolOnly
changed to be static method.
0.1.0 - 2021-01-06
- This driver is based on the MySQL 8.0.21 community driver. The driver is cluster aware for Amazon Aurora MySQL. It takes advantage of Amazon Aurora's fast failover capabilities, reducing failover times from minutes to seconds.