Skip to content

AWS Advanced JDBC Driver - v1.0.1

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 17:11
· 775 commits to main since this release
7d13a22

Changelog

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.0.1] - 2023-01-30

🪄 Added

  • 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 and AwsSecretsManagerPlugin. For more information, see the documentation.

🐛 Fixed

  • 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.
  • AWS Secrets Manager Plugin leaking PoolingHttpClientConnectionManager (PR #321).
  • Internal inTransaction flag not being updated when autocommit 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).

🦀 Changed

  • 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).