Releases: awslabs/aurora-dsql-connectors
Release list
Aurora DSQL SQLx Connector for Rust v0.2.2
Disable aws-sdk-dsql default features to drop the legacy rustls 0.21 stack (GHSA-82j2-j2ch-gfr8).
The connector only uses aws_sdk_dsql::auth_token for request signing; the SDK's HTTP client and TLS features are never used at runtime, so default-features = false removes the vulnerable hyper-rustls 0.24 / rustls 0.21 dependencies with no functional change.
Changes since v0.2.1
- fix(rust): disable aws-sdk-dsql default features to drop legacy rustls 0.21 (#516)
Aurora DSQL SQLx Connector for Rust v0.2.1
Breaking change: upgraded sqlx from 0.8 to 0.9.
Changes since v0.2.0
- Bumped
sqlxdependency from 0.8 to 0.9 - Dynamic SQL strings now require
AssertSqlSafe()wrapping per sqlx 0.9 - Bumped MSRV from 1.85 to 1.94
- Bumped crate version to 0.2.1
Migration
Replace raw string queries:
// Before (sqlx 0.8)
sqlx::query(&format!("SELECT * FROM {}", table))
// After (sqlx 0.9)
use sqlx::AssertSqlSafe;
sqlx::query(AssertSqlSafe(format!("SELECT * FROM {}", table)))Installation
[dependencies]
aurora-dsql-sqlx-connector = { version = "0.2.1", features = ["pool", "occ"] }Full Changelog: rust/sqlx/v0.2.0...rust/sqlx/v0.2.1
Aurora DSQL Connector for JDBC v1.5.0
What's Changed
New Features
- Added OCC (Optimistic Concurrency Control) retry with exponential backoff (#542)
OCCRetry: staticexecute()methods withisOCCError()detection and configurable backoffOCCRetryConfig: immutable builder with validated parameters (maxRetries, baseDelay, jitter, etc.)OCCTransactionRunner: bind-once convenience wrapper withrun()/runVoid()VoidTransactionCallback: ergonomic void lambda interface
- Added per-connection credentials provider support (#451)
Bug Fixes
- Use PreparedStatement in example code (#520)
Dependency Updates
- Bumped AWS SDK (auth, dsql, regions) to 2.44.13
- Bumped PostgreSQL JDBC driver to 42.7.11
- Bumped JReleaser to 1.24.0
- Bumped Gradle wrapper to 9.5.1
- Bumped Spotless to 8.5.1
- Bumped JUnit Jupiter to 5.14.4
- Bumped JUnit BOM to 6.1.0
Full Changelog
Aurora DSQL Connector for Python v0.2.7
This release adds OCC (Optimistic Concurrency Control) retry with exponential backoff support for all drivers (psycopg, psycopg2, asyncpg).
What's Changed
- feat(python): add OCC retry with exponential backoff by @praba2210 in #539
Full Changelog: python/connector/v0.2.6...python/connector/v0.2.7
Aurora DSQL Connector for Postgres.js v0.3.0
What's Changed
New Features
- Added OCC (Optimistic Concurrency Control) retry with exponential backoff for
begin()transactions- Automatic retry on OCC conflicts (OC000, OC001, 40001)
- Supports constructor-level and per-call opt-in/out with configurable backoff parameters
Full Changelog
Aurora DSQL Connector for node-postgres v0.1.9
What's Changed
New Features
- Added OCC (Optimistic Concurrency Control) retry support for transactions via
transaction()method on bothAuroraDSQLClientandAuroraDSQLPool - Support full retry config override per call
- Exported
isOCCErrorutility for custom retry logic - Configurable retry behavior with exponential backoff and jitter
Full Changelog
PHP PDO_PGSQL v0.1.1
Release 0.1.1 - See CHANGELOG
PHP PDO_PGSQL v0.1.0
Release 0.1.0 - See CHANGELOG
Aurora DSQL SQLx Connector for Rust v0.1.2
First release of aurora-dsql-sqlx-connector on crates.io.
What's Included
- Automatic IAM authentication — token generation for both admin and regular users
- Connection pooling with background token refresh at 80% of token duration (opt-in
poolfeature) - Single connection support via
connection::connect()/connection::connect_with() - Connection string parsing —
postgres://admin@cluster.dsql.us-east-1.on.aws/postgres - Region auto-detection from endpoint hostname or AWS SDK defaults
- Cluster ID shorthand —
postgres://admin@<cluster_id>/postgres?region=us-east-1 - AWS profile support via
?profile=devquery parameter - SSL always enabled with
verify-fullmode - OCC retry helpers with exponential backoff and jitter (opt-in
occfeature) - Programmatic configuration via
DsqlConnectOptionsBuilder
Installation
toml
[dependencies]
aurora-dsql-sqlx-connector = "0.1.2"
With all features
aurora-dsql-sqlx-connector = { version = "0.1.2", features = ["pool", "occ"] }
Changes since v0.1.1
- Bumped version from
0.0.1to0.1.2for crates.io publication - Removed example
Cargo.lockfrom version control - Added license headers to test files
Aurora DSQL Connector for JDBC v1.4.1
What's Changed
Improvements
- Removed token caching for simplified credential handling (#155)
- Added example READMEs and admin/non-admin support (#252)
- Added Dependabot coverage for Java example project (#240)
Dependency Updates
- Bumped AWS SDK (dsql, regions) to 2.42.15
- Bumped PostgreSQL JDBC driver to 42.7.10
- Bumped JReleaser to 1.23.0
- Bumped Gradle wrapper to 9.4.0
- Bumped Mockito to 5.23.0
- Bumped Spotless to 8.3.0
- Bumped JUnit Jupiter to 5.14.3
- Bumped SpotBugs annotations to 4.9.8