Skip to content

Releases: awslabs/aurora-dsql-connectors

Aurora DSQL SQLx Connector for Rust v0.2.2

Choose a tag to compare

@anwesham-lab anwesham-lab released this 14 Jul 18:33
71262c8

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

Choose a tag to compare

@praba2210 praba2210 released this 05 Jun 18:35
812e5fb

Breaking change: upgraded sqlx from 0.8 to 0.9.

Changes since v0.2.0

  • Bumped sqlx dependency 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

Choose a tag to compare

@praba2210 praba2210 released this 02 Jun 19:31
4ae3e32

What's Changed

New Features

  • Added OCC (Optimistic Concurrency Control) retry with exponential backoff (#542)
    • OCCRetry: static execute() methods with isOCCError() detection and configurable backoff
    • OCCRetryConfig: immutable builder with validated parameters (maxRetries, baseDelay, jitter, etc.)
    • OCCTransactionRunner: bind-once convenience wrapper with run()/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

java/jdbc/v1.4.1...java/jdbc/v1.5.0

Aurora DSQL Connector for Python v0.2.7

Choose a tag to compare

@praba2210 praba2210 released this 28 May 15:45
cb849a7

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

Choose a tag to compare

@praba2210 praba2210 released this 22 May 18:32
467b961

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

node/postgres-js/v0.2.1...node/postgres-js/v0.3.0

Aurora DSQL Connector for node-postgres v0.1.9

Choose a tag to compare

@praba2210 praba2210 released this 18 May 23:58
ba6a1f8

What's Changed

New Features

  • Added OCC (Optimistic Concurrency Control) retry support for transactions via transaction() method on both AuroraDSQLClient and AuroraDSQLPool
  • Support full retry config override per call
  • Exported isOCCError utility for custom retry logic
  • Configurable retry behavior with exponential backoff and jitter

Full Changelog

node/node-postgres/v0.1.8...node/node-postgres/v0.1.9

PHP PDO_PGSQL v0.1.1

Choose a tag to compare

@github-actions github-actions released this 09 Apr 00:06
db47c5e

Release 0.1.1 - See CHANGELOG

PHP PDO_PGSQL v0.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Apr 22:49
bc27feb

Release 0.1.0 - See CHANGELOG

Aurora DSQL SQLx Connector for Rust v0.1.2

Choose a tag to compare

@praba2210 praba2210 released this 30 Mar 18:08
6812d78

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 pool feature)
  • Single connection support via connection::connect() / connection::connect_with()
  • Connection string parsingpostgres://admin@cluster.dsql.us-east-1.on.aws/postgres
  • Region auto-detection from endpoint hostname or AWS SDK defaults
  • Cluster ID shorthandpostgres://admin@<cluster_id>/postgres?region=us-east-1
  • AWS profile support via ?profile=dev query parameter
  • SSL always enabled with verify-full mode
  • OCC retry helpers with exponential backoff and jitter (opt-in occ feature)
  • 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.1 to 0.1.2 for crates.io publication
  • Removed example Cargo.lock from version control
  • Added license headers to test files

Aurora DSQL Connector for JDBC v1.4.1

Choose a tag to compare

@amaksimo amaksimo released this 19 Mar 19:23
e36b89d

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

Full Changelog

java/jdbc/v1.4.0...java/jdbc/v1.4.1