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.
- Read / Write Splitting and Load Balancing (Experimental). Ongoing changes are being implemented to mirror behaviour of the community MySQL JDBC driver. We do not recommend using this in production until an official release.
- The Aurora Stale DNS Plugin to prevent the user application from incorrectly opening a new connection to an old writer node when DNS records have not yet updated after a recent failover event. For more details, see here.
- FailoverSQLException classes for easier error handling. See example here.
- OSGi compatibility (PR #270).
- AwsCredentialsManager to customize credentials providers used in
IamAuthenticationPlugin
andAwsSecretsManagerPlugin
. For more information, see the documentation.
DataSourceConnectionProvider
no longer removes user/password properties on connect (Issue #288 and Issue #305).- Runtime exceptions thrown as reported in issue #284.
- Incorrect log message in
PluginServiceImpl#setAvailability
that says host alias not found instead of empty hosts change list. - FailoverTimeoutMS not being obeyed during failover, causing failover to take twice as long (PR #244).
- Reader failover sometimes reconnect to writer instances as reported by Issue #233. Applications can now set the
failoverStrictReader
parameter to only allow failover to reader nodes during the reader failover process. See more details [here](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheFailoverPlugin.md#failover-parameters. - AWS Secrets Manager Plugin leaking PoolingHttpClientConnectionManager (PR #321).
- Internal
inTransaction
flag not being updated whenautocommit
status changes (PR #282). - Incorrect wrapper version returned from
getDriverVersion
calls (PR #319). - Incorrect
setReadOnly
behaviour when the method is called on a closed connection (Issue #311)). isCurrentHostWriter
incorrectly return false during writer failover (PR #323).
- Use default connection check intervals/timeouts in the EFM plugin when a user-supplied setting is not available (PR #274).
- Thread-safety improvements within in the EFM plugin (PR #332).
1.0.0 - 2022-10-06
The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take advantage of the features of clustered Aurora databases.
- Support for PostgreSQL
- The Failover Connection Plugin
- The Host Monitoring Connection Plugin
- The AWS IAM Authentication Connection Plugin
- The AWS Secrets Manager Connection Plugin