Releases: dotnet/SqlClient
Releases · dotnet/SqlClient
[MSqlServerServer] Stable Release v1.0.0
This is the initial public stable release of the Microsoft.SqlServer.Server namespace in a separate assembly. This library is a dependency for Microsoft.Data.SqlClient enabling cross framework support of UDT types.
Detailed release notes are available here.
Hotfix & Stable Release v4.0.1
Added
- Added AppContext switch
SuppressInsecureTLSWarningto allow suppression of TLS security warning when usingEncrypt=falsein the connection string. #1457
Fixed
Stable Release v4.0.0
Added
- Added missing
SqlClientLoggerclass to .NET Core refs and missingSqlClientLogger.LogWarningmethod in .NET Framework refs #1392
Changed
- Avoid throwing unnecessary exception when an invalid
SqlNotificationInfovalue is received from SQL Server #1378 - Updated
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov4.0.0#1391
For summary of all changes over v3.0, refer to 4.0.0.md
Preview Release v4.0.0-preview3.21293.2
Breaking changes over preview release v4.0.0-preview2
- Dropped support for .NET Core 2.1 #1272
- [.NET Framework] Exception will not be thrown if a User ID is provided in the connection string when using
Active Directory Integratedauthentication #1359
Added
- Add
GetFieldValueAsync<T>andGetFieldValue<T>support forXmlReader,TextReader,Stream#1019
Fixed
- Fixed
FormatExceptionwhen opening a connection with event tracing enabled #1291 - Fixed improper initialization of
ActiveDirectoryAuthenticationProvider#1328 - Fixed
MissingMethodExceptionwhen accessingSqlAuthenticationParameters.ConnectionTimeout#1336 - Fixed data corruption issues by reverting changes to async cancellations #1352
- Fixed performance degradation by reverting changes to MARS state machine #1357
- Fixed bug where environment variables are ignored when using
Active Directory Defaultauthentication #1360
Changed
- Removed attributes for classes used in Microsoft.VSDesigner due to lack of support for Microsoft.Data.SqlClient #1296
- Disable encryption when connecting to SQL LocalDB #1312
- Various code health and performance improvements. See milestone for more info.
For detailed release notes, refer 4.0.0-preview3.md
Hotfix & Stable Release v3.0.1
Fixed
- Fixed async thread blocking issues on
SqlConnection.Open()for active directory authentication modes. #1270 - Fixed unknown transaction state issues when promoting delegated transaction. 1247
- Fixed issue with connection encryption to ensure connections fail when encryption is required. #1233 Read more
- Fixed bug with
LegacyRowVersionNullBehaviorApp Context switch. #1246 - Fixed recursive calls to
RetryLogicProviderwhen callingSqlCommand.ExecuteScalarAsync. #1245 - Fixed async deadlock scenarios in web contexts with configurable retry logic provider. #1245
- Fixed deadlock in transaction using .NET Framework. #1243
- Fixed issue where connection goes to unusable state. #1238
Preview Release v4.0.0-preview2.21264.2
Breaking changes over preview release v4.0.0-preview1
- Removed
Configurable Retry Logicsafety switch. #1254
Added
- Added support for
SqlFileStreamon Windows using .NET Standard 2.0 and above. #1240 - Added support for localdb
shared instanceusing managed SNI. #1237
Fixed
- Fixed
.NET decimalconversion fromSqlDecimal. #1179 - Fixed
Event Sourcechanges on TryBeginExecuteEvent and WriteEndExecuteEvent to address the failure on other MS products such as OpenTelemetry and Application Insight. #1258 - Fixed command's async cancellation. #956
- Fixed deadlock in transaction using .NET Framework. #1242
- Fixed unknown transaction state issues when prompting delegated transaction. 1216
Changed
For detailed release notes, refer 4.0.0-preview2.md
Hotfix & Stable Release v2.1.4
Preview Release v4.0.0-preview1.21237.2
Breaking changes over stable release 3.0.0
- Changed
Encryptconnection string property to betrueby default. #1210 - The driver now throws
SqlExceptionreplacingAggregateExceptionfor active directory authentication modes. #1213 - Dropped obsolete
Asynchronous Processingconnection property from .NET Framework. #1148
Added
- Added
SqlCommand.EnableOptimizedParameterBindingproperty that when enabled increases performance for commands with very large numbers of parameters. #1041 - Included
42108and42109error codes to retriable transient errors list. #1215 - Added new App Context switch to use OS enabled client protocols only. #1168
- Added
PoolBlockingPeriodconnection property support in .NET Standard. #1181 - Added support for
SqlDataReader.GetColumnSchema()in .NET Standard. #1181 - Added PropertyGrid support with component model annotations to
SqlConnectionStringBuilderproperties for .NET Core. #1152
Fixed
- Fixed issue with connectivity when TLS 1.3 is enabled on client and server. #1168
- Fixed issue with connection encryption to ensure connections fail when encryption is required. #1210
- Fixed issue where connection goes to unusable state. #1128
- Fixed recursive calls to
RetryLogicProviderwhen callingSqlCommand.ExecuteScalarAsync. #1220 - Fixed async deadlock scenarios in web contexts with configurable retry logic provider. #1220
- Fixed
EntryPointNotFoundExceptioninInOutOfProcHelperconstructor. #1120 - Fixed async thread blocking issues on
SqlConnection.Open()for active directory authentication modes. #1213 - Fixed driver behavior for Always Encrypted with secure enclaves to not fail when no user parameters have been provided. #1115
- Fixed bug with
LegacyRowVersionNullBehaviorApp Context switch. #1182 - Fixed issues in Strings.resx file containing error messages. #1136 #1178
Changed
- Updated error code to match with Windows when certificate validation fails in non-Windows client environments. #1130
- Removed designer attributes from
SqlCommandandSqlDataAdapter. #1132 - Updated configurable retry logic default retriable error list. #1125
- Improved performance by changing
SqlParameterbool fields to flags. #1064 - Improved performance by implementing static delegates. #1060
- Optimized async method allocations in .NET Framework by porting changes from .NET Core. #1084
- Various code improvements #902 #925 #933 #934 #1024 #1057 #1122 #1133 #1134 #1141 #1187 #1188 #1223 #1225 #1226
For detailed release notes, refer 4.0.0-preview1.md
[AzureKeyVaultProvider] Stable Release v3.0.0
Stable Release v3.0.0
Added
- Added support for column encryption key caching when the server supports retrying queries that require enclave computations #1062
- Added support for configurable retry logic configuration file in .NET Standard #1090
Changed
- Updated
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov3.0.0#1102 - Improved event counter display information #1091
Breaking Changes
- Modified column encryption key store provider registrations to give built-in system providers precedence over providers registered on connection and command instances. #1101
For summary of all changes over v2.1, refer to 3.0.0.md