Releases: aws/aws-advanced-jdbc-wrapper
AWS Advanced JDBC Driver - v2.3.1
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
- User defined session state transfer functions (PR #729).
- Documentation for using the driver with RDS Multi-AZ database clusters (PR #740).
- Configuration profiles and configuration presets (PR #711 and PR #738).
🐛 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
AWS Advanced JDBC Driver - v2.3.0
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
AWS Advanced JDBC Driver - v2.2.5
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 toaws_advanced_jdbc_wrapper_messages.properties
(Issue #633).
AWS Advanced JDBC Driver - v2.2.4
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.4] - 2023-08-29
🪄 Added
- Host Availability Strategy to help keep host health status up to date (PR #530).
- Implement
setLoginTimeout
from a suggested enhancement (Discussion #509).
🐛 Fixed
- Allow connecting with reader cluster endpoints for Aurora PostgreSQL versions 13.9 and greater by changing the
AuroraPgDialect
topology query (Issue #593). - Race condition issues between
MonitorThreadContainer#getInstance()
andMonitorThreadContainer#releaseInstance()
(PR #601).
🦀 Changed
- Dynamically sets the default host list provider based on the dialect used. User applications no longer need to manually set the AuroraHostListProvider when connecting to Aurora Postgres or Aurora MySQL databases.
- Deprecated AuroraHostListConnectionPlugin.
- As an enhancement, the wrapper is now able to automatically set the Aurora host list provider for connections to Aurora MySQL and Aurora PostgreSQL databases.
Aurora Host List Connection Plugin is deprecated. If you were using theAuroraHostListConnectionPlugin
, you can simply remove the plugin from thewrapperPlugins
parameter.
However, if you choose to, you can ensure the provider is used by specifying a topology-aware dialect, for more information, see Database Dialects.
- As an enhancement, the wrapper is now able to automatically set the Aurora host list provider for connections to Aurora MySQL and Aurora PostgreSQL databases.
- Propagate
Connection.clearWarnings()
to underlying connections in the Read Write Splitting Plugin so that the connection object does not accumulate warning messages (Issue #547). - Close underlying connections in the Read Write Splitting Plugin after switching to read-write or read-only depending on whether internal connection pooling is used (PR #583).
- Sort plugins by default to prevent plugin misconfiguration. This can be disabled by setting the property
autoSortWrapperPluginOrder
to false (PR #542). - Documentation:
- Clarified AWS JDBC Driver limitations with Blue/Green deployments. See Known Limitations.
- Updated and reworded main README.md page.
AWS Advanced JDBC Driver - v2.2.3
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.3] - 2023-07-28
🪄 Added
- Developer plugin to help test various scenarios including events like network outages and database cluster failover. This plugin is NOT intended to be used in production environments and is only for testing (PR #531).
- Documentation:
- Developer plugin. See UsingTheJdbcDriver and UsingTheDeveloperPlugin.
- MySQL code samples (PR #532).
- Add a Table of Contents section for the sample codes on README.md. See README.md.
- Sample tutorial and code example for Vert.x. See the tutorial and code example.
- Added Properties section on the README listing all the driver properties and where they are used. See the README.md
AWS Advanced JDBC Driver - v2.2.2
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.2] - 2023-07-05
🪄 Added
- Official support for Amazon Aurora with MySQL compatibility. The AWS JDBC Driver has been validated to support MySQL JDBC Driver and MariaDB JDBC Driver.
- Documentation:
🦀 Changed
AWS Advanced JDBC Driver - v2.2.1
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.1] - 2023-6-16
🐛 Fixed
- Move the Spring Wildfly example
gradle.properties
file toexamples/SpringWildflyExample/spring
(Issue #491).
AWS Advanced JDBC Driver - v2.2.0
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.0] - 2023-6-14
🪄 Added
- Autoscaling and the least connections strategy (PR #451).
- Target driver dialects (PR #452).
- Elastic Load Balancer URL support (PR #476).
- Documentation:
- Using the Driver with plain RDS Databases. See Using the Driver.
- Internal connection pool behaviour only verifying password on initial connection. See Using the Read Write Splitting Plugin Internal Connection Pooling document and code example.
- Link performance test in table of contents. See Documentation Table of Contents.
- Cluster URLs are not internally pooled. See Using Read Write Splitting Plugin Internal Connection Pooling.
- The
leastConnections
strategy in the Using Read Write Splitting Plugin Internal Connection Pooling at point 3.
- Sample code and tutorial for using the driver with:
🐛 Fixed
- Pruned null connections in connection tracker plugins (PR #461).
- HikariCP integration tests and reworked AwsWrapperDataSource by removing property names, introduced a set of simple properties to set database, server name and server port (PR #468).
- Checkstyle failure due to modified license and driver connection provider passing original properties resulting properties being overridden for subsequent connections (PR #471).
- IamAuthConnectionPlugin to properly prioritize the override property IAM_DEFAULT_PORT then Hosts port, and then Dialect port (Issue #473).
- Values for the
wrapperLoggerLevel
parameter are no longer case-sensitive (#PR #481).
🦀 Changed
AWS Advanced JDBC Driver - v2.1.2
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.2] - 2023-5-21
🦀 Changed
AWS Advanced JDBC Driver - v2.1.1
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.1] - 2023-5-15
🐛 Fixed
- MySQL reference in code that could impact workflows with other drivers (PR #446).