Skip to content

AWS Advanced .NET Data Provider Wrapper - v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Jun 21:10

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.0.0] - 2026-06-16

πŸ¦€ Breaking Changes

Warning

2.0 removes the suggested ClusterId functionality (PR #290).

Suggested ClusterId Functionality

Prior to this change, the wrapper would generate a unique cluster id based on the connection string and the cluster topology; however, in some cases (such as custom endpoints, IP addresses, and CNAME aliases), the wrapper would generate an incorrect identifier. This change was needed to prevent applications with several clusters from accidentally relying on incorrect topology during failover, which could result in the wrapper failing to complete failover successfully. The ClusterId parameter now defaults to 1, so connections that do not specify a ClusterId share a single topology cache.

Migration

Number of Database Clusters in Use Requires Changes Action Items
Single database cluster No No changes required.
Multiple database clusters Yes Review all connection strings and add the mandatory ClusterId parameter. See the ClusterId documentation for configuration guidance.

Warning

This breaking change only impacts customers implementing their own custom plugins. Otherwise no changes are required. 2.0 removes aliases from HostSpec and related APIs (PR #302).

Alias Removal

  • Removed aliases from HostSpec.
  • Removed IPluginService.FillAliasesAsync(); use IPluginService.IdentifyConnectionAsync() instead.
  • Changed IPluginService.SetAvailability() signature to accept a HostSpec instead of a collection of host aliases.
  • Added IPluginService.RoutedHostSpec to record connection routing events and use it for the current connection info.

If you have custom plugins that use FillAliasesAsync() or rely on HostSpec aliases, update them to use IdentifyConnectionAsync() and the new RoutedHostSpec property.

πŸͺ„ Added