Releases: dotnet/SqlClient
Releases · dotnet/SqlClient
Stable Release v4.0.4
[Stable release 4.0.4] - 2023-10-30
Fixed
- Fixed Always Encrypted secure enclave retry logic for async queries. #1988
- Fixed LocalDb and managed SNI by improving the error messages and avoid falling back to the local service. #2129
- Fixed .NET and .NET Standard file version. 2093
- Fixed activity correlator to continue use of same GUID for connection activity. #1997
For summary of all changes over v4.0.3, refer to 4.0.4.md
Stable Release 3.1.4
[Stable release 3.1.4] - 2023-10-31
Fixed
- Fixed Always Encrypted secure enclave retry logic for async queries. #1988
- Fixed LocalDb and managed SNI by improving the error messages and avoid falling back to the local service. #2129
- Fixed .NET and .NET Standard file version. 2093
- Fixed activity correlator to continue use of same GUID for connection activity. #1997
- Fixed FormatException when event source tracing is enabled. #1291
For summary of all changes over v3.1.3, refer to 3.1.4.md
Preview Release v5.2.0-preview3.23201.1
[Preview Release 5.2.0-preview3.23201.1] - 2023-07-20
This update brings the below changes over the previous release:
Added
- Added a new
AccessTokenCallBack
API toSqlConnection
. #1260 - Added support for the
SuperSocketNetLib
registry option for Encrypt on .NET on Windows. #2047
Fixed
- Fixed
SqlDataAdapter.Fill
and configurable retry logic issue on .NET Framework. #2084 - Fixed
SqlConnectionEncryptOption
type conversion by introducing theSqlConnectionEncryptOptionConverter
attribute when using appsettings.json files. #2057 - Fixed th-TH culture info issue on Managed SNI. #2066
Changed
- Switched to the new .NET NegotiateAuthentication API on .NET 7.0 and above for SSPI token negotiation using Managed SNI. #2063
- Removed
ignoreSniOpenTimeout
in open connection process on Windows. #2067 - Enforce explicit ordinal for internal
StringComparison
operations. #2068 - Code health improvements: #1959, #2071, #2073, #2088
For detailed release notes, refer to 5.2.0-preview3.md
Preview Release v5.2.0-preview2.23159.1
[Preview Release 5.2.0-preview2.23159.1] - 2023-06-08
This update brings the below changes over the previous release:
Added
- Added new property
RowsCopied64
toSqlBulkCopy
. #2004
Fixed
- Fixed mixed synchronization issue in managed SNI. #1029
- Fixed issue with
SqlConnectionStringBuilder
property indexer not supporting non-string values. #2018
Changed
- Moved to new System.Data.SqlTypes APIs in .NET 7 and upper. 1934 and #1981
- Changed UseOneSecFloorInTimeoutCalculationDuringLogin App Context switch default to true and extended its effect to .NET and .NET Standard. #2012
- Updated
Microsoft.Identity.Client
version from 4.47.2 to 4.53.0. #2031, #2055 - Code health improvement: #1985
For detailed release notes, refer to 5.2.0-preview2.md
Stable Release v2.1.6
Preview Release v5.2.0-preview1.23109.1
[Preview Release 5.2.0-preview1.23109.1] - 2023-04-20
This update brings the below changes over the v5.1 release:
Added
- Added support of
SqlDiagnosticListener
on .NET Standard. #1931
Fixed
- Fixed AE enclave retry logic for async queries. #1988
- Fixed activity correlator to continue use of same GUID for connection activity. #1997
- Fixed behavior when error class is greater than 20 on connection retry. #1953
- Fixed error message when symmetric key decryption failed using Always Encrypted. #1948
- Fixed TransactionScope connection issue when Enlist is enable, Pooling is disabled and network connection type is Redirect. #1960
- Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync. #1936
- Fixed throttling of token requests by calling AcquireTokenSilent. #1925
- Fixed Linux code coverage result in Build proj. #1950
- Fixed NullReferenceException in GetBytesAsync. #1906
- Fixed Transient fault handling issue with OpenAsync. #1983
- Fixed invariant mode checks. #1917
- Fixed GC behavior in TdsParser by adding array rental capability in TryReadPlpUnicodeChars. #1866
Changed
- Updated Azure Identity version from 1.7.0 to 1.8.0. #1921
- Improved parsing buffered characters in
TdsParser
. #1544 - Removed reference to Microsoft.Win32.Registry since it's shipped starting with .NET 6.0. #1974
- Added Microsoft.SqlServer.Types to verify support for SqlHierarchyId and Spatial for .NET Core. #1848
- Code health improvements:#1943#1949#1198#1829
For detailed release notes, refer to 5.2.0-preview1.md
Stable Release v4.0.3
Stable Release v5.0.2
[Stable release 5.0.2] - 2023-03-31
Fixed
- Fixed memory leak regression from #1785 using a
DisposableTemporaryOnStack
struct. #1980 - Fixed
TransactionScope
connection issue whenEnlist
isenabled
,Pooling
isdisabled
, andNetwork Connection Type
is set toRedirect
. #1978 - Fixed an incorrect exception when a symmetric key fails to decrypt a column using Always Encrypted. #1977
- Fixed TDS RPC error on large queries in
SqlCommand.ExecuteReaderAsync
. #1976 - Fixed deadlock when using SinglePhaseCommit with distributed transactions. #1975
For summary of all changes over v5.0.1, refer to 5.0.2.md
Stable Release v5.1.1
[Stable release 5.1.1] - 2023-03-28
Fixed
- Fixed an incorrect exception when a symmetric key fails to decrypt a column using Always Encrypted. #1968
- Fixed
TransactionScope
connection issue whenEnlist
isenabled
,Pooling
isdisabled
, andNetwork Connection Type
is set toRedirect
. #1967 - Fixed throttling of token requests by calling
AcquireTokenSilent
. #1966 - Fixed TDS RPC error on large queries in
SqlCommand.ExecuteReaderAsync
. #1965 - Fixed
NullReferenceException
inGetBytesAsync
. #1964
For summary of all changes over v5.1.0, refer to 5.1.1.md
Stable Release v3.1.3
[Stable release 3.1.3] - 2023-03-10
Fixed
- Fixed throttling of token requests by calling AcquireTokenSilent in AAD Integrated/Password flows when the account is already cached.#1926
- Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync.#1939
For summary of all changes over v3.1.2, refer to 3.1.3.md