Skip to content

Releases: aws/aws-advanced-jdbc-wrapper

AWS Advanced JDBC Driver - v2.3.8

31 Jul 22:51
Compare
Choose a tag to compare

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.3.8] - 2024-07-31

🐛 Fixed

  • Avoid setting a blank catalog when closing a connection (PR #1047).
  • Ensure the enableGreenNodeReplacement parameter setting is used during connection (Issue #1059).
  • Ensure GovCloud DNS patterns are supported (PR #1054).

AWS Advanced JDBC Driver - v2.3.7

05 Jun 23:35
Compare
Choose a tag to compare

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.3.7] - 2024-06-05

🪄 Added

  • Documentation:
    • Warnings of transitive dependencies for IAM, Federated, and Okta Authentication plugins (PR #1007).
    • Section in Known Limitations regarding Virtual Threading and possible pinning due to use of synchronized in the codebase (Issue #1024).

🐛 Fixed

  • Driver incorrectly truncating nested connection options when parsing connection urls resulting in unexpected errors (PR #988).
  • ConfigurationProfilePresetCodes.isKnownPreset incorrectly returning false (Issue #1000).
  • Documentation:
    • Incorrect reference to Federated Authentication Plugin (PR #1008).
    • Broken links in code example documentation (Issue #1017).

AWS Advanced JDBC Driver - v2.3.6

01 May 18:23
fb82a67
Compare
Choose a tag to compare

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.3.6] - 2024-05-01

🪄 Added

🐛 Fixed

  • Connection identification and tracking in the host list provider (PR #943)[https://github.com//pull/943].
  • Green node endpoint replacement, allowing the AWS JDBC Driver to detect and connect to green nodes after Blue/Green switchover (PR# 948)(#948). Addresses issue #678.
  • MariaDB Pool Datasource support. Addresses issue #957.

🦀 Changed

  • Log level of Failover.startWriterFailover and Failover.establishedConnection from fine to info for better visibility of failover-related logs (Issue #890).
  • Telemetry's connection property documentation. See Telemetry.

AWS Advanced JDBC Driver - v2.3.5

14 Mar 00:20
2cbb66b
Compare
Choose a tag to compare

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.3.5] - 2024-03-14

🪄 Added

  • Sample code configuring the AWS JDBC Driver with DBCP (PR #930).

🦀 Changed

  • Fix issue with deadlock while using prepared transactions and PostgreSQL Explicit Locking (PR #918).
  • Removed ConnectionStringHostListProvider#identifyConnection since it is not used (PR #920).

AWS Advanced JDBC Driver - v2.3.4

01 Mar 22:37
Compare
Choose a tag to compare

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.3.4] - 2024-03-01

🪄 Added

  • Documentation:
  • Spring Framework application code examples with load balanced access to database cluster reader instances (PR #852).
  • New configuration preset SF_ optimized for Spring Framework applications (PR #852).
  • Lightweight alternative for IAM token generator that requires fewer dependencies (PR #867).

🐛 Fixed

  • Fixes to session state transfer (PR #852).
  • Enhanced Host Monitoring Plugin (EFM) v2 plugin to use ConcurrentHashMap instead of HashMap to avoid ConcurrentModificationException (Issue #855).
  • Move lock location and skip executing Statement.getConnection when running Statement.cancel to fix Statement.cancel for MySQL (PR #851).
  • Remove Telemetry trace associated with a Monitor thread because traces for long-running tasks is an anti-pattern (PR #875).

🦀 Changed

  • HostSelector implementations to take into account HostAvailability (PR #856).
  • Reduced the number of Regular Expression checks with Matcher.find to improve performance (PR #854).
  • HostSpec class to not use a default lastUpdateTime and instead use null (PR 877).
  • Moved Reader Selection Strategies out of the UsingTheReadWriteSplittingPlugin doc and into its own page. See ReaderSelectionStrategies.

AWS Advanced JDBC Driver - v2.3.3

23 Jan 17:08
3812269
Compare
Choose a tag to compare

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.3.3] - 2024-01-23

🪄 Added

🐛 Fixed

  • SqlMethodAnalyzer to handle empty SQL query and not throw IndexOutOfBoundsException (PR #798).
  • Restructure try blocks in dialects for exception handling (PR #799).
  • Log message to communicate that an RDS Custom Cluster endpoint can't be used as the 'clusterInstanceHostPattern' configuration setting (PR 801).
  • Make a variable volatile in RdsHostListProvider (Issue #486).
  • Transfer session state during failover (Issue #812).
  • Release all stopped monitors so that they are not reused (PR #831).
  • Added update candidates for the MariaDB dialect in order to swap to MySQL dialects in the case of using a MySQL database with the protocol jdbc:aws-wrapper:mariadb://, and fixed the RDS MySQL dialect from incorrectly returning false in isDialect method (Issue #789).

🦀 Changed

  • Session state tracking and transfer redesign (PR #821).
  • Improve Multi-AZ cluster detection (PR #824).
  • Enhanced Host Monitoring Plugin (EFM) v2 plugin is now a default plugin. The original EFM plugin can still be used by specifying efm in the wrapperPlugins parameter (PR #825).
  • Update China endpoint patterns (PR #832).

AWS Advanced JDBC Driver - v2.3.2

18 Dec 22:34
Compare
Choose a tag to compare

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.3.2] - 2023-12-18

🪄 Added

  • Federated Authentication Plugin, which supports SAML authentication through ADFS (PR #741).
  • Experimental Enhanced Host Monitoring Plugin v2, which is a redesign of the original Enhanced Host Monitoring Plugin that addresses memory leaks and high CPU usage during monitoring sessions (PR #764).
  • Fastest Response Strategy Plugin, which implements a new autoscaling strategy (PR #755).
  • Plugin code for Aurora Initial Connection Strategy Plugin. This plugin returns an instance endpoint when connected using a cluster endpoint (PR #784).

🐛 Fixed

  • Use existing entries to update the round-robin cache (PR #739).

🦀 Changed

  • Updated HikariCP example to include configuring the datasource with a JDBC URL (PR #749).
  • Replaced the sychronized keyword with reentrant locks in AwsCredentialsManager (PR #785).
  • Set HostId in HostSpec when connecting using Aurora instance endpoints (PR #782).

AWS Advanced JDBC Driver - v2.3.1

29 Nov 22:13
Compare
Choose a tag to compare

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.3.1] - 2023-11-29

🪄 Added

🐛 Fixed

  • Stopped monitoring threads causing out of memory errors (PR #718).
  • Automatically register a target driver in the class path to prevent No suitable driver SQL exceptions (PR #748).

🦀 Changed

  • Session state tracking to include additional state information (PR #729).
  • Log level for intentionally ignored exceptions to reduce the number of warnings (PR #751).

AWS Advanced JDBC Driver - v2.3.0

15 Nov 22:33
Compare
Choose a tag to compare

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.3.0] - 2023-11-15

🪄 Added

  • Fast switchover support for Amazon RDS Multi-AZ DB Clusters (PR #690).
  • Endpoint override for the AWS Secrets Manager plugin (PR #707).
  • Allow users to set up a lambda to initialize new connections (PR #705).
  • Introduced Dialect.prepareConnectProperties to allow dialect classes to modify connection properties when opening a new connection (PR #704).
  • Native telemetry support (PR #617).
  • Documentation on known limitations with global databases (PR #695).

🐛 Fixed

  • Continue monitoring if unhandled Exception is thrown (PR #676).
  • Password properties are now masked in logs (PR #701 and PR #723).
  • Issue when getting a connection for a closed statement (PR #682).
  • Maven coordinates in README (PR #681).
  • Update topology for specific methods (PR #683).

🦀 Changed

  • Added buffer to IAM token expiry and moved token expiry time creation (PR #706).
  • Documentation on known limitations with Blue/Green deployments (PR #680).

AWS Advanced JDBC Driver - v2.2.5

04 Oct 19:10
Compare
Choose a tag to compare

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.2.5] - 2023-10-03

🪄 Added

  • Optional preservation of partial session state post failover (PR #632).
  • Round Robin host selection strategy (PR #603).
  • Sample application failover retry with Spring Boot (PR #638).

🦀 Changed

  • Renamed the messages.properties file to aws_advanced_jdbc_wrapper_messages.properties (Issue #633).