Skip to content

AWS Advanced JDBC Driver - v2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 May 17:16
· 573 commits to main since this release
dcbe2b0

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.

[2.1.0] - 2023-5-11

🪄 Added

  • Checks for stale writer records in AuroraHostListProvider obtained after writer-failover so that they are not used (PR #435).

🐛 Fixed

  • Potential security concern by ensuring that user-specific connections in the connection pool are returned to the correct user (PR #432).
  • Connection state transfer bug where switching from read-only connection to writer connection incorrectly triggers the failover process (Issue #426).
  • Incorrect invalidation of the newly promoted writer and random readers after failover. EFM plugin to use instance endpoint as the monitoring endpoint in case the initial connection is established using cluster endpoint (PR #431).
  • Running Hibernate tests no longer runs unrelated tests (PR #417).
  • Reader failover using a shared Properties object resulting in race conditions (PR #436 & PR #438).
  • Temporarily setting the socket timeout for the topology query if it is not set, to avoid topology query from executing indefinitely (PR #416).

🦀 Changed

  • Removed logic from the failover plugin that changes connection to a writer instance when setReadOnly(false) is called on a reader connection (Issue #426). This functionality already exists in the read write splitting plugin.
  • Removed Multi-writer cluster related code as they are no longer supported (PR #435).
  • Clarified documentation on the failover process to account for Aurora PostgreSQL clusters being offline during failover (PR #437).
  • ⚠️ Breaking changes were introduced with the new failoverMode configuration parameter (PR #434):
    • The failoverMode parameter replaces the enableFailoverStrictReader configuration parameter.
    • If you were previously using enableFailoverStrictReader=true, please update it to failoverMode=strict-reader.
    • For more information, please check the (documentation)