Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency Microsoft.Data.SqlClient to v5 - autoclosed #21

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Microsoft.Data.SqlClient (source) 1.1.1 -> 5.2.1 age adoption passing confidence

Release Notes

dotnet/sqlclient (Microsoft.Data.SqlClient)

v5.2.1

This update brings the below changes over the previous release:

Changed
  • Upgraded Azure.Identity version from 1.10.3 to 1.11.3 #​2492, #​2528
  • Upgraded Microsoft.Identity.Client version from 4.56.0 to 4.60.3 #​2492
  • Code Health improvements: #​2467
Fixed
  • Fixed connection errors on Linux when Data Source property contains both named instance and port #​2436
  • Fixed SqlConnection.FireInfoMessageEventOnUserErrors when set to true throws an exception #​2505
  • Fixed exception when using DATETIMEOFFSET(n) in a TVP if n is 1, 2, 3, or 4 #​2506
  • Reverted PR #​1983 which caused connection failure delays when using OpenAsync #​2507
  • Fixed SqlConnection.Clone() to include AccessTokenCallback #​2527

v5.2.0

Added
  • Added a new AccessTokenCallBack API to SqlConnection. #​1260
  • Added SqlBatch support on .NET 6+ #​1825, #​2223,#​2371, #​2373
  • Added support of SqlDiagnosticListener on .NET Standard. #​1931
  • Added new property RowsCopied64 to SqlBulkCopy. #​2004
  • Added support for the SuperSocketNetLib registry 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
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
  • Fixed socket synchronization issue during connect in managed SNI. #​1029
  • Fixed issue with SqlConnectionStringBuilder property indexer not supporting non-string values. #​2018
  • Fixed SqlDataAdapter.Fill and configurable retry logic issue on .NET Framework. #​2084
  • Fixed SqlConnectionEncryptOption type conversion by introducing the SqlConnectionEncryptOptionConverter attribute when using appsettings.json files. #​2057
  • Fixed th-TH culture info issue on Managed SNI. #​2066
  • Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated #​2224
  • Fixed a deadlock problem for distributed transactions when on .NET #​2161
  • Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS) #​2142
  • Fixed LocalDb connection issue with an invalid source when using managed SNI #​2129
  • Fixed an AccessViolationException when using a SQL Express user instance #​2101
  • Fixed a metadata query issue when connecting to Azure SQL Edge #​2099
  • Fixed file version information for .NET and .NET Standard binaries #​2093
  • Fixed the SPN sent for a named instance when using Kerberos authentication on Linux/macOS #​2240
  • Fixed connection to unsubscribe from transaction completion events before returning it to the connection pool #​2301
  • Fixed InvalidCastException when reading an Always Encrypted date or time column #​2275
  • Fixed token caching to prevent expired access tokens from being reused in a connection pool #​2273

v5.1.5

This update brings the below changes over the previous release:

Fixed
  • Fixed connection to unsubscribe from transaction completion events before returning it to the connection pool #​2321
  • Fixed InvalidCastException when reading an Always Encrypted date or time column #​2324
Changed
  • Changed Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Protocols.OpenIdConnect version 6.24.0 to 6.35.0 #​2320 to address CVE-2024-21319

v5.1.4

This update brings the below changes over the previous release:

Fixed
  • Fixed a deadlock problem for distributed transactions when on .NET.
Changed

v5.1.3

This update brings the below changes over the previous release:

Fixed
  • Fixed encryption downgrade issue. CVE-2024-0056
  • Fixed certificate chain validation logic flow.

v5.1.2

This update brings the below changes over the previous release:

Fixed
  • Fixed access violation when using SQL Express user instance. #​2101
  • 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 non-string values and SqlConnectionStringBuilder property indexer issue. #​2018
  • Fixed SqlConnectionEncryptOption type conversion by introducing the SqlConnectionEncryptOptionConverter attribute when using appsettings.json files. #​2057
  • Fixed Transient fault handling issue with OpenAsync. #​1983
  • Fixed activity correlator to continue use of same GUID for connection activity. #​1997
Changed
  • Updated Microsoft.Data.SqlClient.SNI (.NET Framework dependency) and Microsoft.Data.SqlClient.SNI.runtime (.NET Core/Standard dependency) version to 5.1.1. #​2123

v5.1.1

This update brings the below changes over the previous release:

Fixed
  • Fixed an incorrect exception when a symmetric key fails to decrypt a column using Always Encrypted. #​1968
  • Fixed TransactionScope connection issue when Enlist is enabled, Pooling is disabled, and Network Connection Type is set to Redirect. #​1967
  • Fixed throttling of token requests by calling AcquireTokenSilent. #​1966
  • Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync. #​1965
  • Fixed NullReferenceException in GetBytesAsync. #​1964

v5.1.0

This update brings the below changes over the previous release:

Fixed
  • Fixed thread safety of transient error list in configurable retry logic. #​1882
  • Fixed deadlock when using SinglePhaseCommit with distributed transactions. #​1801
  • Fixed Dedicated Admin Connections (DAC) to localhost in managed SNI. #​1865
Changed
  • Updated Microsoft.Data.SqlClient.SNI (.NET Framework dependency) and Microsoft.Data.SqlClient.SNI.runtime (.NET Core/Standard dependency) version to 5.1.0. #​1889 which includes fix for AppDomain crash in issue #​1418, TLS 1.3 Support, removal of ARM32 binaries, and support for the ServerCertificate option.
  • Code health improvements #​1867 #​1849

v5.0.2

Fixed
  • Fixed memory leak regression from #​1785 using a DisposableTemporaryOnStack struct. #​1980
  • Fixed TransactionScope connection issue when Enlist is enabled, Pooling is disabled, and Network Connection Type is set to Redirect. #​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

v5.0.1

Fixed
  • Fixed missing HostNameInCertificate connection string property in .NET Framework. #​1782
  • Fixed async deadlock issue when sending attention fails due to network failure. #​1783
  • Fixed Null Reference Exception on assigning null to SqlConnectionStringBuilder.Encrypt. #​1784
  • Fixed ReadAsync() behavior to register Cancellation token action before streaming results. #​1785
  • Fixed hang on infinite timeout and managed SNI. #​1798
  • Fixed Default UTF8 collation conflict. #​1799
Changed
  • Updated Microsoft.Data.SqlClient.SNI (.NET Framework dependency) and Microsoft.Data.SqlClient.SNI.runtime (.NET Core/Standard dependency) version to 5.0.1 #​1795, which includes the fix for AppDomain crash introducing in issue #​1418.

v5.0.0

This update brings the below changes over the previous release:

Added
  • Added support for TDS 8. To use TDS 8, users should specify Encrypt=Strict in the connection string. #​1608
  • Added TDS 8 version for TDSLogin. #​1657
Fixed
  • Fixed null SqlBinary as rowversion. #​1688
  • Fixed KeyNotFoundException for the FailoverPartner key on SQL servers with availability group configured. #​1614
  • Fixed small inconsistency between netcore and netfx for EncryptionOptions. #​1672
  • Fixed Microsoft.SqlServer.Server netcore project package reference. #​1654
Changed
  • Updated AuthProviderInfo struct to be matched the changes in native SNI for TDS 8 server certificate validation. #​1680
  • Updated default system protocol for TDS 8 on managed code. #​1678
  • Updated Microsoft.Data.SqlClient.SNI (.NET Framework dependency) and Microsoft.Data.SqlClient.SNI.runtime (.NET Core/Standard dependency) version to 5.0.0. #​1680
  • Updated IdentityModel dependency from 6.8.0 to 6.21.0 and IdentityClient from 4.32.2 to 4.45.0. #​1646
  • Changed from union overlay design to reflected interfaces for SqlTypes. 1647

v4.1.1

Fixed
  • Fixed connection failure by not requiring Certificate Revocation List (CRL) check during authentication. #​1706
  • Parallelize SSRP requests on Linux and macOS when MultiSubNetFailover is specified. #​1708, #​1746
  • Added CommandText length validation when using stored procedure command types. #​1709
  • Fixed NullReferenceException during Azure Active Directory authentication. #​1710
  • Fixed null SqlBinary as rowversion. #​1712
  • Fixed table's collation overriding with default UTF8 collation. #​1749

v4.1.0

Added
  • Added new Attestation Protocol None for VBS enclave types. This protocol will allow users to forgo enclave attestation for VBS enclaves. #​1419 #​1425

v4.0.5

Fixed
  • Fixed encryption downgrade issue. CVE-2024-0056
  • Fixed certificate chain validation logic flow.

v4.0.4

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

v4.0.3

Fixed
  • Fixed throttling of token requests by calling AcquireTokenSilent in AAD Integrated/Password flows when the account is already cached.#​1995
  • Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync.#​1987

v4.0.2

Fixed
  • Fixed connection failure by not requiring Certificate Revocation List (CRL) check during authentication. #​1718
  • Parallelize SSRP requests on Linux and macOS when MultiSubNetFailover is specified. #​1720, #​1747
  • Added CommandText length validation when using stored procedure command types. #​1721
  • Fixed NullReferenceException during Azure Active Directory authentication. #​1722
  • Fixed null SqlBinary as rowversion. #​1724
  • Fixed table's collation overriding with default UTF8 collation. #​1750

v4.0.1

Added

Added AppContext switch SuppressInsecureTLSWarning to allow suppression of TLS security warning when using Encrypt=false in the connection string. #​1457

Fixed
  • Fixed Kerberos authentication failure when using .NET 6. #​1411
  • Fixed connection failure when using SqlLocalDB instance pipe name. #​1433
  • Fixed a failure when executing concurrent queries requiring enclaves. #​1451
  • Updated obsolete API calls targeting .NET 6. #​1401

v4.0.0

Added
  • Added missing SqlClientLogger class to .NET Core refs and missing SqlClientLogger.LogWarning method in .NET Framework refs #​1392
Changed
  • Avoid throwing unnecessary exception when an invalid SqlNotificationInfo value is received from SQL Server #​1378
  • Updated Microsoft.Data.SqlClient.SNI (.NET Framework dependency) and Microsoft.Data.SqlClient.SNI.runtime (.NET Core/Standard dependency) version to v4.0.0 #​1391

v3.1.5

Fixed
  • Fixed encryption downgrade issue. CVE-2024-0056
  • Fixed certificate chain validation logic flow.

v3.1.4

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

v3.1.3

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

v3.1.2

Added
  • Added Windows ARM64 support when targeting .NET Framework. #​1908
Fixed
  • Fixed thread safety of transient error list in configurable retry logic. #​1911
  • Fixed deadlock when using SinglePhaseCommit with distributed transactions. #​1912
  • Fixed Default UTF8 collation conflict. #​1910
  • Added CommandText length validation when using stored procedure command types. #​1909

v3.1.1

Fixed
  • Fixed null SqlBinary as rowversion. #​1700
  • Fixed Kerberos authentication failure when using .NET 6. #​1696
  • Fixed NullReferenceException during Azure Active Directory authentication. #​1695
  • Removed union overlay design and use reflection in SqlTypeWorkarounds. #​1699

v3.1.0

Added
  • Added new Attestation Protocol None for VBS enclave types. This protocol will allow users to forgo enclave attestation for VBS enclaves. #​1539
  • Included 42108 and 42109 error codes to retriable transient errors list. #​1560
Fixed

v3.0.1

Fixed
  • Fixed async thread blocking issues on SqlConnection.Open() for active directory authentication modes. #​1270
  • Fixed unknown transaction state issues when prompting delegated transaction. 1247
  • Fixed issue with connection encryption to ensure connections fail when encryption is required. #​1233
  • Fixed bug with LegacyRowVersionNullBehavior App Context switch. #​1246
  • Fixed recursive calls to RetryLogicProvider when calling SqlCommand.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

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) and Microsoft.Data.SqlClient.SNI.runtime (.NET Core/Standard dependency) version to v3.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

v2.1.7

Fixed
  • Fixed encryption downgrade issue. CVE-2024-0056
  • Fixed certificate chain validation logic flow.

v2.1.6

Fixed
  • Fixed TDS RPC error on large queries in SqlCommand.ExecuteReaderAsync.#​1986
  • Fixed Default UTF8 collation conflict. #​1989
  • Fixed async deadlock issue when sending attention fails due to network failure. #​1767

v2.1.5

Fixed
  • Added CommandText length validation when using stored procedure command types. #​1726
  • Fixed Kerberos authentication failure when using .NET 6. #​1727
  • Removed union overlay design and use reflection in SqlTypeWorkarounds. #​1729

v2.1.4

Fixed
  • Fixed issue with connection encryption to ensure connections fail when encryption is required. #​1232
  • Fixed issue where connection goes to unusable state. #​1239

v2.1.3

Fixed
  • Fixed wrong data blended with transactions in .NET Core by marking a connection as doomed if the transaction completes or aborts while there is an open result set #​1051
  • Fixed race condition issues between SinglePhaseCommit and TransactionEnded events #​1049

v2.1.2

Fixed
  • Fixed issue connecting with instance name from a Linux/macOS environment #​874
  • Fixed wrong results issues by changing the timeout timer to ensure a correct execution state #​929
  • Fixed a vulnerability by prohibiting DtdProcessing on XmlTextReader instances in .NET Core #​885
  • Fixed Kerberos authentication when an SPN does not contain the port #​935
  • Fixed missing error messages in Managed SNI #​883
  • Fixed missing System.Runtime.Caching dependency for .NET Standard assemblies #​878
  • Fixed event source tracing issues #​941
  • Fixed MARS header contains errors issue against .NET Framework 4.8.1 #​928

v2.1.1

Fixed
  • Fixed issue with System-Assigned Managed Identity in Azure Functions #​841
  • Fixed issue with Kerberos Authentication for .NET Core in Unix environments #​848
  • Fixed issue with TCP Keep Alive for .NET Core in Unix environments #​855

v2.1.0

Added
  • Microsoft.Data.SqlClient symbols are now source-linked #​789
  • Added an API to clear cached access tokens from the token provider #​800
  • Added SqlFacetAttribute implementation #​757
Fixed
  • Fixed InvalidOperationException and NotSupportedException errors due to WriteAsync collisions #​796
  • Fixed incorrect Settings.Async flag in ExecuteXmlReaderAsync #​782
  • Fixed a regression in Windows Integrated authentication when using managed networking #​777
  • Fixed Bulk Copy Async deadlock issues with custom IDataReader when using SqlDataReader internally #​779
  • Fixed a serialization issue with SqlException in .NET Core #​780
Changed
  • Updated versions of Microsoft.IdentityModel package dependencies #​794

v2.0.1

Added
  • Added support for a new Configuration Section, SqlClientAuthenticationProviders (duplicate of existing SqlAuthenticationProviders), to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" #​701
Fixed
  • Fixed pooled connection re-use on access token expiry issue when using Active Directory authentication modes #​639
  • Fixed transient fault handling for Pooled connections #​638
  • Fixed Enclave session cache issue with Azure Database #​628
  • Reverted changes to return empty DataTable from GetSchemaTable to return null as before. #​697
  • Fixed configuration section collision issue with System.Data.SqlClient type #​701
  • Fixed blank error message [HTTP Provider] issues due to unexpected pre-login failures when using Native SNI. Fixed with Microsoft.Data.SqlClient.SNI v2.0.1 and Microsoft.Data.SqlClient.SNI.runtime v2.0.1 release versions.

v2.0.0

Added
  • Added internal driver support to provide resiliency to DNS failures #​594
  • Added support for Active Directory Integrated, Active Directory Interactive and Active Directory Service Principal authentication mode for .NET Core and .NET Standard #​560
  • Added support for Active Directory Service Principal authentication mode for .NET Framework #​560
  • Added support for optional ORDER hints in SqlBulkCopy for improved performance #​540
Fixed
  • Fixed SqlSequentialStream multipacket read stalling issue in .NET Core #​603
  • Fixed code page issue for Kazakh collation in SQL Server #​584
  • Fixed stalled application issues when end of stream is reached #​577
  • Fixed driver behavior to not throw exception for invalid configuration file #​573
  • Fixed Object null reference issue when failover partner is set #​588
  • Fixed applicationintent connection string property issue #​585
Changed
  • Raise warning message when insecure TLS protocols are in use #​591
Breaking Changes
  • Modified enclave provider interface SqlColumnEncryptionEnclaveProvider to be internal #​602 - This change is not likely to impact customer applications since secure enclaves is a relatively new feature and they would have had to implement their own enclave provider, which is not a trivial task.
  • Updated SqlClientMetaDataCollectionNames exposed constants by removing non-existing constants and adding new to the metadata collection #​580

v1.1.4

Fixed
  • Fixed wrong results issues by changing the timeout timer to ensure a correct execution state #​950
  • Fixed MARS header contains errors issue against .NET Framework 4.8+ #​959

v1.1.3

Fixed
  • Fixed driver behavior to not perform enlistment of pooled connection on aborted transaction #​551
  • Fixed issues introduced with MARS TDS Header fix in last release by reverting original change that caused issues. #​550

v1.1.2

Added
  • Allowed passing username with Active Directory Interactive Authentication #​493 #​516
Fixed
  • Fixed the ConnectionString's password persistence in .NET Core. #​489
  • Addressed MARS TDS header containing errors #​510
Changed
  • Updated driver libraries to be CLS Compliant #​522

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from de7e5d5 to fb0e86f Compare November 20, 2022 19:48
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from fb0e86f to 70ff347 Compare March 16, 2023 13:27
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from 70ff347 to f6fa84e Compare March 29, 2023 23:35
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from f6fa84e to 39b1cf4 Compare October 26, 2023 20:15
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from 39b1cf4 to 205f323 Compare January 9, 2024 17:15
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from 205f323 to ab5c93e Compare January 29, 2024 18:52
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from ab5c93e to d124c18 Compare February 28, 2024 18:46
@renovate renovate bot force-pushed the renovate/microsoft.data.sqlclient-5.x branch from d124c18 to 4bb9294 Compare May 31, 2024 23:11
@renovate renovate bot changed the title Update dependency Microsoft.Data.SqlClient to v5 Update dependency Microsoft.Data.SqlClient to v5 - autoclosed Jun 17, 2024
@renovate renovate bot closed this Jun 17, 2024
@renovate renovate bot deleted the renovate/microsoft.data.sqlclient-5.x branch June 17, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants