akkadotnet-code-samples
akkadotnet-code-samples copied to clipboard
Bump Microsoft.Data.SqlClient from 5.1.4 to 5.2.0 in /src/clustering/sharding-sqlserver
Bumps Microsoft.Data.SqlClient from 5.1.4 to 5.2.0.
Release notes
Sourced from Microsoft.Data.SqlClient's releases.
Stable release V5.2.0
[Stable release 5.2.0] - 2024-02-28
Added
- Added a new
AccessTokenCallBackAPI toSqlConnection. #1260- Added
SqlBatchsupport on .NET 6+ #1825, #2223,#2371, #2373- Added support of
SqlDiagnosticListeneron .NET Standard. #1931- Added new property
RowsCopied64toSqlBulkCopy. #2004- Added support for the
SuperSocketNetLibregistry option for Encrypt on .NET on Windows. #2047- Added the ability to generate debugging symbols in a separate package file #2137
- Added Workload Identity authentication support #2159, #2264
- Added support for Big Endian systems #2170
- Added support for Georgian collation #2194
- Added Localization support on .NET #2210
- Added .NET 8 support #2230
- Added explicit version for major .NET version dependencies on System.Runtime.Caching 8.0.0, System.Configuration.ConfigurationManager 8.0.0, and System.Diagnostics.
- DiagnosticSource 8.0.0 #2303
Changed
- Improved parsing buffered characters in
TdsParser. #1544- Added Microsoft.SqlServer.Types to verify support for SqlHierarchyId and Spatial for .NET Core. #1848
- Moved to new System.Data.SqlTypes APIs on .NET 7 and up. #1934 and #1981
- Removed reference to Microsoft.Win32.Registry since it's shipped starting with .NET 6.0. #1974
- Changed UseOneSecFloorInTimeoutCalculationDuringLogin App Context switch default to true and extended its effect to .NET and .NET Standard. #2012
- Updated
Microsoft.Identity.Clientversion from 4.47.2 to 4.53.0. #2031, #2055- Switched to the new .NET NegotiateAuthentication API on .NET 7.0 and above for SSPI token negotiation using Managed SNI. #2063
- Removed
ignoreSniOpenTimeoutin open connection process on Windows. #2067- Enforce explicit ordinal for internal
StringComparisonoperations. #2068- Improved error messages when validating server certificates in managed SNI (Linux/macOS) #2060
- Improved CPU usage when
AppContextswitches are in use #2227- Upgraded
Azure.Identitydependency version to 1.10.3 to address CVE-2023-36414, #2189- Changed Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Protocols.OpenIdConnect version 6.24.0 to 6.35.0 #2290 to address CVE-2024-21319
- Updated
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET/.NET Standard dependency) version tov5.2.0. #2363, which includes removing dead code and addressing static analysis warnings- Code health improvements: #1198, #1829, #1943, #1949, #1959, #1985, #2071, #2073, #2088, #2091, #2098, #2121, #2122, #2132, #2136, #2144, #2147, #2157, #2164, #2166, #2168, #2186, #2254, #2288, #2305, #2317
Fixed
- Fixed Always Encrypted secure 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
... (truncated)
Changelog
Sourced from Microsoft.Data.SqlClient's changelog.
[Stable release 5.2.0] - 2024-02-28
Added
- Added a new
AccessTokenCallBackAPI toSqlConnection. #1260- Added
SqlBatchsupport on .NET 6+ #1825, #2223,#2371, #2373- Added support of
SqlDiagnosticListeneron .NET Standard. #1931- Added new property
RowsCopied64toSqlBulkCopy. #2004- Added support for the
SuperSocketNetLibregistry option for Encrypt on .NET on Windows. #2047- Added the ability to generate debugging symbols in a separate package file #2137
- Added Workload Identity authentication support #2159, #2264
- Added support for Big Endian systems #2170
- Added support for Georgian collation #2194
- Added Localization support on .NET #2210
- Added .NET 8 support #2230
- Added explicit version for major .NET version dependencies on System.Runtime.Caching 8.0.0, System.Configuration.ConfigurationManager 8.0.0, and System.Diagnostics.
- DiagnosticSource 8.0.0 #2303
Changed
- Improved parsing buffered characters in
TdsParser. #1544- Added Microsoft.SqlServer.Types to verify support for SqlHierarchyId and Spatial for .NET Core. #1848
- Moved to new System.Data.SqlTypes APIs on .NET 7 and up. #1934 and #1981
- Removed reference to Microsoft.Win32.Registry since it's shipped starting with .NET 6.0. #1974
- Changed UseOneSecFloorInTimeoutCalculationDuringLogin App Context switch default to true and extended its effect to .NET and .NET Standard. #2012
- Updated
Microsoft.Identity.Clientversion from 4.47.2 to 4.53.0. #2031, #2055- Switched to the new .NET NegotiateAuthentication API on .NET 7.0 and above for SSPI token negotiation using Managed SNI. #2063
- Removed
ignoreSniOpenTimeoutin open connection process on Windows. #2067- Enforce explicit ordinal for internal
StringComparisonoperations. #2068- Improved error messages when validating server certificates in managed SNI (Linux/macOS) #2060
- Improved CPU usage when
AppContextswitches are in use #2227- Upgraded
Azure.Identitydependency version to 1.10.3 to address CVE-2023-36414, #2189- Changed Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Protocols.OpenIdConnect version 6.24.0 to 6.35.0 #2290 to address CVE-2024-21319
- Updated
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET/.NET Standard dependency) version tov5.2.0. #2363, which includes removing dead code and addressing static analysis warnings- Code health improvements: #1198, #1829, #1943, #1949, #1959, #1985, #2071, #2073, #2088, #2091, #2098, #2121, #2122, #2132, #2136, #2144, #2147, #2157, #2164, #2166, #2168, #2186, #2254, #2288, #2305, #2317
Fixed
- Fixed Always Encrypted secure 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
... (truncated)
Commits
faf9b95Fix | ExecuteReaderAsync API xml and ref files (#2373)51ef22cFix | ExecuteReaderAsync API return type in ref file (#2372)e9cab01[Scheduled Run] Localized resource files from OneLocBuild10c9e17Fix | Refine documents for GA v5.2 (#2371)94c089eFix | Fix unit test for SPN to include port number with Managed SNI (#2281)5cd9514Test | Adjust tests to read IsAzureSynapse value from database (#2367)5a98166[Scheduled Run] Localized resource files from OneLocBuild8b1b7a9Fix | Removing non-breaking space from links inside some of exception message...ed949d5Change | Updating SNI version to 5.2.0 (#2363)e3cf59d[Scheduled Run] Localized resource files from OneLocBuild- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.