microsoft.data.sqlclient breaking changes
Updated December 4, 2026
On this page
Latest version 8.0.0, released November 26, 2026. Source repository
Its 8.0.0 release requires .NET 10 or later. .NET end of life dates.
- From 7.0.0 to 8.0.0: 28 breaking changes in 2 versions.
- From 5.0.0 to 8.0.0: 61 breaking changes in 13 versions.
microsoft.data.sqlclient 8.0.0 breaking changes
- Removed
The modern implementation now requires .NET 10, so apps on .NET 8 or .NET 9 must upgrade their target framework. github.com - Removed
Microsoft.Data.SqlClient.SqlAuthenticationInitializer
Microsoft.Data.SqlClient.SqlAuthenticationInitializer was removed in Microsoft.Data.SqlClient 8.0.0 nuget.org - Removed
Type System Version=SQL Server 2005
SQL Server 2005 connectivity and the SQL Server 2005 type system setting are gone; remove the setting and use current type representations. github.com - Behavior changed
Async Always Encrypted execution now awaits attestation, and a preparation failure or cancellation stops the query from being sent. github.com - Behavior changed
Network-only impersonation sessions with identical SIDs now get separate pools, so more pools can be created. github.com - Behavior changed
Configuration and registration messages now come from Abstractions resources, so exact message text may differ though exception types are unchanged. github.com - Behavior changed
SqlBulkCopy
Name-mapped bulk copies use a different metadata discovery path with fallback, and the new switch controls it. Review hidden-column and graph-alias workloads. github.com - Behavior changed
SqlConnectionStringBuilder.MultiSubnetFailover
The builder property returns true by default, which may not match the value actually used for the connection. github.com - Behavior changed
SqlMetaData
On net10.0 with invariant globalization, character SqlMetaData construction now requires an explicit LCID. github.com - Behavior changed
SqlParameterCollection.RemoveAt
Invalid indexes now throw ArgumentOutOfRangeException, so update exception handling that relied on the old behavior. github.com - Behavior changed
Vector Type Support
The default V2 setting returns native float16 vectors on modern .NET instead of JSON strings. Use v1 or off to keep the old text results. github.com - Default changed
MultiSubnetFailover
Omitting the keyword now enables MultiSubnetFailover for eligible TCP connections, and native SNI no longer falls back to Named Pipes for remote hosts. Set it explicitly to keep the old behavior. github.com - Default changed
Switch.Microsoft.Data.SqlClient.UseOverallConnectTimeoutForPoolWait
The switch now defaults to true, so opens may time out sooner under pool contention. Set it to false before using SqlClient to restore the old separate budgets. github.com - Default changed
TransparentNetworkIPResolution
The obsolete TNIR option is off by default on .NET Framework, and MSF takes precedence when both are enabled. github.com - Configuration changed
Attestation Protocol
Attestation Protocol=AAS needs a matching-version Azure extension, otherwise enclave setup fails. Remove older direct Azure.Identity references or upgrade them. github.com - Signature changed
Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity
Was class ColumnSensitivity; now sealed class ColumnSensitivity. nuget.org - Signature changed
Microsoft.Data.SqlClient.DataClassification.InformationType
Was class InformationType; now sealed class InformationType. nuget.org - Signature changed
Microsoft.Data.SqlClient.DataClassification.Label
Was class Label; now sealed class Label. nuget.org - Signature changed
Microsoft.Data.SqlClient.DataClassification.SensitivityClassification
Was class SensitivityClassification; now sealed class SensitivityClassification. nuget.org - Signature changed
Microsoft.Data.SqlClient.DataClassification.SensitivityProperty
Was class SensitivityProperty; now sealed class SensitivityProperty. nuget.org - Signature changed
Microsoft.Data.SqlClient.SqlBatchCommand.CanCreateParameter
The setter for SqlBatchCommand.CanCreateParameter is removed on net462 because it never existed; code that compiles against it must change. nuget.org
microsoft.data.sqlclient 8.0.0-preview1 breaking changes
- Removed
Modern applications must move to .NET 10 or stay on a compatible earlier driver. github.com - Removed
Type System Version
Connections to SQL Server 2005 are rejected; remove Type System Version=SQL Server 2005 and update code relying on its projections. github.com - Behavior changed
.NET Framework applications should review strong-name binding redirects when upgrading. github.com - Behavior changed
Attestation Protocol=AAS
Apps using Attestation Protocol=AAS must reference the matching Azure extension, or enclave session setup throws. github.com - Behavior changed
SqlParameterCollection.RemoveAt
Code catching IndexOutOfRangeException from RemoveAt must catch ArgumentOutOfRangeException instead. github.com - Behavior changed
Vector Type Support
With V2 negotiated, float16 columns no longer return JSON strings; set Vector Type Support=v1 to keep the old results. github.com - Default changed
MultiSubnetFailover
Apps relying on the old default should set MultiSubnetFailover=false or the documented switch to keep prior behavior. github.com
microsoft.data.sqlclient 7.0.0 breaking changes
- Removed
Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProvider
ActiveDirectoryAuthenticationProvider and related types now ship in Microsoft.Data.SqlClient.Extensions.Azure, which must be installed separately. nuget.org - Removed
Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProviderOptions
Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProviderOptions was removed in Microsoft.Data.SqlClient 7.0.0 nuget.org - Removed
Microsoft.Data.SqlClient.SqlAuthenticationMethod
Microsoft.Data.SqlClient.SqlAuthenticationMethod was removed in Microsoft.Data.SqlClient 7.0.0 nuget.org - Removed
Microsoft.Data.SqlClient.SqlAuthenticationParameters
Microsoft.Data.SqlClient.SqlAuthenticationParameters was removed in Microsoft.Data.SqlClient 7.0.0 nuget.org - Removed
Microsoft.Data.SqlClient.SqlAuthenticationProvider
Microsoft.Data.SqlClient.SqlAuthenticationProvider was removed in Microsoft.Data.SqlClient 7.0.0 nuget.org - Removed
Microsoft.Data.SqlClient.SqlAuthenticationToken
Microsoft.Data.SqlClient.SqlAuthenticationToken was removed in Microsoft.Data.SqlClient 7.0.0 nuget.org - Renamed
The Microsoft.Data.SqlClient.Extensions.Logging package is renamed to Internal.Logging. It is for internal use and should not be referenced directly by application code. github.com
microsoft.data.sqlclient 7.0.0-preview4.26064.3 breaking changes
- Removed
The core package no longer depends on Azure.Core or Azure.Identity. Applications using Entra ID authentication must install Microsoft.Data.SqlClient.Extensions.Azure separately. github.com - Behavior changed
Microsoft.Data.SqlClient.Extensions.Azure
The UserAgent feature switched to a pipe-delimited format. Code that parses the user agent string may need updating. github.com - Behavior changed
SqlConnection.SspiContextProvider
Interop enums that were accidentally public during the merge are internal again. Code referencing them will no longer compile. github.com
microsoft.data.sqlclient 7.0.0-preview4 breaking changes
- Removed
Apps using Azure AD authentication must install Microsoft.Data.SqlClient.Extensions.Azure separately; no code changes beyond adding the package reference are needed. github.com
microsoft.data.sqlclient 7.0.0-preview3 breaking changes
- Configuration changed
Switch.Microsoft.Data.SqlClient.EnableUserAgent
Driver sends more detailed user agent strings only when this switch is enabled, which is disabled by default. github.com
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
microsoft.data.sqlclient 7.0.0-preview2 breaking changes
- Configuration changed
Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner
Default behavior still prefers the server-provided partner; enabling the switch uses only the connection string failover partner. github.com
microsoft.data.sqlclient 7.0.0-preview1.25257.1 breaking changes
- Behavior changed
Cleanup of potentially broken connections changed, which may affect how they are expunged from the connection pool. github.com
microsoft.data.sqlclient 7.0.0-preview1 breaking changes
- Removed
Removed SQL Server 2000 support code in Microsoft.Data.SqlClient 7.0.0-preview1 github.com - Removed
SqlVector.Size
The Size property of SqlVector was removed. github.com
And 5 more in this version.
microsoft.data.sqlclient 6.0.0 breaking changes
- Removed
Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProvider.SetParentActivityOrWindowFunc
Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationProvider.SetParentActivityOrWindowFunc was removed in Microsoft.Data.SqlClient 6.0.0 nuget.org - Signature changed
Microsoft.Data.SqlClient.SqlTransaction.Rollback
Was void Rollback(string transactionName); now virtual void Rollback(string transactionName). nuget.org
And 1 more in this version.
microsoft.data.sqlclient 6.0.0-preview3 breaking changes
- Removed
The package no longer supports .NET 6; projects targeting .NET 6 must move to a supported version. github.com - Removed
Client-side debugging support for SQL Server 2000 was removed on .NET Framework. github.com
And 1 more in this version.
microsoft.data.sqlclient 6.0.0-preview2 breaking changes
- Behavior changed
The package now depends on System.Text.Json, which may affect dependency resolution in user projects. github.com
microsoft.data.sqlclient 6.0.0-preview1 breaking changes
- Removed
The package no longer targets .NET Standard; code relying on .NET Standard builds must move to a supported target framework. github.com - Removed
UWP (uap) references were removed; UWP apps can no longer use this package build. github.com
And 3 more in this version.
microsoft.data.sqlclient 5.0.0 breaking changes
- Default changed
The default system protocol for TDS 8 on managed code was updated. Code relying on the previous default may see different protocol behavior. github.com - Signature changed
Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Encrypt
Was bool Encrypt {get; set;}; now Microsoft.Data.SqlClient.SqlConnectionEncryptOption Encrypt {get; set;}. nuget.org
microsoft.data.sqlclient 5.0.0-preview3 breaking changes
- Removed
Microsoft.Data.SqlClient.Server.DataAccessKind
The enum is dropped from Microsoft.Data.SqlClient.Server and replaced by the Microsoft.SqlServer.Server version. Update references to the new name. nuget.org - Removed
Microsoft.Data.SqlClient.Server.Format
The enum is dropped from Microsoft.Data.SqlClient.Server and replaced by the Microsoft.SqlServer.Server version. Update references to the new name. nuget.org
And 9 more in this version.
microsoft.data.sqlclient 5.0.0-preview2 breaking changes
- Removed
The release no longer supports .NET Framework 4.6.1. Projects targeting it must move to a newer .NET Framework version. github.com - Removed
AlwaysEncryptedAttestationException
AlwaysEncryptedAttestationException is replaced by SqlException. Code that catches the old exception must catch SqlException instead. github.com
Related packages
- microsoft.android.sdk.darwin
- microsoft.android.sdk.linux
- microsoft.android.sdk.windows
- microsoft.android.templates
- microsoft.aspnetcore.app.ref
- microsoft.aspnetcore.components
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.