Bump Microsoft.Data.SqlClient and Microsoft.EntityFrameworkCore.SqlServer#15
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
…rver Bumps Microsoft.Data.SqlClient from 2.0.1 to 5.1.5 Bumps Microsoft.EntityFrameworkCore.SqlServer from 5.0.17 to 7.0.20 --- updated-dependencies: - dependency-name: Microsoft.Data.SqlClient dependency-version: 5.1.5 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: Microsoft.EntityFrameworkCore.SqlServer dependency-version: 7.0.20 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Microsoft.Data.SqlClient from 2.0.1 to 5.1.5.
Release notes
Sourced from Microsoft.Data.SqlClient's releases.
5.1.5
[Stable release 5.1.5] - 2024-01-29
This update brings the below changes over the previous release:
Fixed
Changed
5.1.4
[Stable release 5.1.4] - 2024-01-09
Fixed
Changed
Azure.Identitydependency version to 1.10.3 to address CVE-2023-36414.For summary of all changes over v5.1.3, refer to 5.1.4.md
5.1.3
[Stable release 5.1.3] - 2024-01-09
Fixed
For summary of all changes over v5.1.2, refer to 5.1.3.md
5.1.2
[Stable release 5.1.2] - 2023-10-26
Fixed
SqlConnectionStringBuilderproperty indexer issue. #2018SqlConnectionEncryptOptiontype conversion by introducing theSqlConnectionEncryptOptionConverterattribute when using appsettings.json files. #2057OpenAsync. #1983Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.1. #2123For summary of all changes over v5.1.1, refer to 5.1.2.md
5.1.1
[Stable release 5.1.1] - 2023-03-28
Fixed
TransactionScopeconnection issue whenEnlistisenabled,Poolingisdisabled, andNetwork Connection Typeis set toRedirect. #1967AcquireTokenSilent. #1966SqlCommand.ExecuteReaderAsync. #1965NullReferenceExceptioninGetBytesAsync. #1964For summary of all changes over v5.1.0, refer to 5.1.1.md
5.1.0
Breaking changes
Added
DateOnlyandTimeOnlyforSqlParametervalue andGetFieldValue. #1813ServerCertificatesetting forEncrypt=MandatoryorEncrypt=Strict. #1822Fixed
DisposableTemporaryOnStackstruct. #1818ReadAsync()behavior to register Cancellation token action before streaming results. #1781NullReferenceExceptionwhen assigningnulltoSqlConnectionStringBuilder.Encrypt. #1778HostNameInCertificateproperty in .NET Framework Reference Project. #1776Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0. #1889 which includes fix for AppDomain crash in issue #1418, TLS 1.3 Support, removal of ARM32 binaries, and support for theServerCertificateoption. #1822 Read moreSwitch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS) by adding support for TLS 1.3. #1824SqlConnectionEncryptOptionstring parser to public. #1771ExecuteNonQueryAsyncto use async context object. #1692For summary of all changes over v5.0, refer to 5.1.0.md
5.1.0-preview2.22314.2
[Preview Release 5.1.0-preview2.22314.2] - 2022-11-10
This update brings the below changes over the previous release:
Breaking changes over preview release v5.1.0-preview1
Added
DateOnlyandTimeOnlyforSqlParametervalue andGetFieldValue. #1813ServerCertificatesupport forEncrypt=MandatoryorEncrypt=Strict. #1822Fixed
DisposableTemporaryOnStackstruct. #1818Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0-preview2.22311.2. #1831 which includes the fix for the TLS 1.3 timeout and double handshake issue, removal of ARM32 binaries, and support for theServerCertificateoption. #1822Switch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS) by adding support for TLS 1.3. #1824For detailed release notes, refer to 5.1.0-preview2.md
5.1.0-preview1.22279.3
[Preview Release 5.1.0-preview1.22279.3] - 2022-10-19
This update brings the below changes over the stable release v5.0.0:
Fixed
ReadAsync()behavior to register Cancellation token action before streaming results. #1781NullReferenceExceptionwhen assigningnulltoSqlConnectionStringBuilder.Encrypt. #1778HostNameInCertificateproperty in .NET Framework Reference Project. #1776Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0-preview1.22278.1. #1787 which includes TLS 1.3 Support and fix for AppDomain crash in issue #1418SqlConnectionEncryptOptionstring parser to public. #1771ExecuteNonQueryAsyncto use async context object. #1692Known issues
Encrypt=Strictwith TLS v1.3, the TLS handshake occurs twice on initial connection on .NET Framework due to a timeout during the TLS handshake and a retry helper re-establishes the connection; however, on .NET Core, it will throw aSystem.ComponentModel.Win32Exception (258): The wait operation timed out.and is being investigated. If you're using Microsoft.Data.SqlClient with .NET Core on Windows 11, you will need to enable the managed SNI on Windows context switch using following statementAppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows", true);to use TLS v1.3 or disabling TLS 1.3 from the registry by assigning0to the followingHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client\Enabledregistry key and it'll use TLS v1.2 for the connection. This will be fixed in a future release.For detailed release notes, refer to 5.1.0-preview1.md
5.0.2
[Stable release 5.0.2] - 2023-03-31
Fixed
DisposableTemporaryOnStackstruct. #1980TransactionScopeconnection issue whenEnlistisenabled,Poolingisdisabled, andNetwork Connection Typeis set toRedirect. #1978SqlCommand.ExecuteReaderAsync. #1976For summary of all changes over v5.0.1, refer to 5.0.2.md
5.0.1
Fixed
HostNameInCertificateconnection string property in .NET Framework. #1782nulltoSqlConnectionStringBuilder.Encrypt. #1784ReadAsync()behavior to register Cancellation token action before streaming results. #1785Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.0.1#1795, which includes the fix for AppDomain crash in issue #1418.5.0.0
Added
TDS 8. To use TDS 8, users should specifyEncrypt=Strictin the connection string. #1608TDS 8version for TDSLogin. #1657Fixed
FailoverPartnerkey on SQL servers with availability group configured. #1614EncryptionOptions. #1672Microsoft.SqlServer.Servernetcore project package reference. #1654Changed
AuthProviderInfostruct to be matched the changes in native SNI forTDS 8server certificate validation. #1680TDS 8on managed code. #1678Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.0.0. #1680For summary of all changes over v4.1, refer to 5.0.0.md
5.0.0-preview3
[Preview Release 5.0.0-preview3.22168.1] - 2022-06-16
Breaking changes over preview release v5.0.0-preview2
Microsoft.Data.SqlClient.Servernamespace and replaced them with supported types from the Microsoft.SqlServer.Server package.#1585 The affected classes and enums are:Added
TDS 8. To use TDS 8, users should specify Encrypt=Strict in the connection string. Strict mode disables TrustServerCertificate (always treated as False in Strict mode). HostNameInCertificate has been added to help some Strict mode scenarios. #1608Fixed
SqlDiagnosticsListeneron .NET Core and .NET. [#1637] (Bug: fix naming, order and formatting for diagnostics dotnet/SqlClient#1637)GetSchema("StructuredTypeMembers")to return correct schema information. [#1500] (Fix populating of TYPE_SCHEMA column in StructuredTypeMembers metadata dotnet/SqlClient#1500), #1639SqlDependency.Startagainst an Azure SQL Database.[#1294] (FIX | db_id returns null on Azure SQL Database. dotnet/SqlClient#1294)Changed
Microsoft.Data.SqlClient.Servernamespace and replaced it with supported types from the Microsoft.SqlServer.Server package.#1585TdsParserStateObjectManagedwith nullable annotations. [#1555] (ReworkTdsParserStateObjectManagedwith nullable annotations dotnet/SqlClient#1555)For detailed release notes, refer 5.0.0-preview3.md
5.0.0-preview2
Breaking changes over preview release v5.0.0-preview1
Fixed
Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.0.0-preview2.22084.1. #1563Azure.Identityversion to1.5.0andMicrosoft.Identity.Clientversion to4.30.1#1462For detailed release notes, refer 5.0.0-preview2.md
5.0.0-preview1.22069.1
[Preview Release 5.0.0-preview1.22069.1] - 2022-03-09
Added
Noneoption to forgo enclave attestation when using VBS enclaves. #1425 and #1419Fixed
GetEnclaveProviderby converting dictionary to concurrent dictionary. #1451Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov5.0.0-preview1.22062.1. #1537Array.CopytoBuffer.BlockCopyfor byte arrays. #13664.1.1
[Stable release 4.1.1] - 2022-09-13
Fixed
Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov4.0.1#1755, which includes the fix for AppDomain crash introducing in issue #14184.1.0
Added
NoneforVBSenclave types. This protocol will allow users to forgo enclave attestation for VBS enclaves. #1489For detailed release notes, refer to 4.1.0.md
4.0.6
[Stable release 4.0.6] - 2024-08-21
Fixed
Changed
4.0.5
[Stable release 4.0.5] - 2024-01-09
Fixed
For summary of all changes over v4.0.4, refer to 4.0.5.md
4.0.4
[Stable release 4.0.4] - 2023-10-30
Fixed
For summary of all changes over v4.0.3, refer to 4.0.4.md
4.0.3
[Stable release 4.0.3] - 2023-04-20
Fixed
SqlCommand.ExecuteReaderAsync.#19874.0.2
[Stable release 4.0.2] - 2022-09-13
Fixed
Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov4.0.1#1754, which includes the fix for AppDomain crash introducing in issue #14184.0.1
Added
SuppressInsecureTLSWarningto allow suppression of TLS security warning when usingEncrypt=falsein the connection string. #1457Fixed
SqlLocalDBinstance pipe name. #14334.0.0
Added
SqlClientLoggerclass to .NET Core refs and missingSqlClientLogger.LogWarningmethod in .NET Framework refs #1392Changed
SqlNotificationInfovalue is received from SQL Server #1378Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov4.0.0#1391For summary of all changes over v3.0, refer to 4.0.0.md
4.0.0-preview3.21293.2
Breaking changes over preview release v4.0.0-preview2
Active Directory Integratedauthentication #1359Added
GetFieldValueAsync<T>andGetFieldValue<T>support forXmlReader,TextReader,Stream#1019Fixed
FormatExceptionwhen opening a connection with event tracing enabled #1291ActiveDirectoryAuthenticationProvider#1328MissingMethodExceptionwhen accessingSqlAuthenticationParameters.ConnectionTimeout#1336Active Directory Defaultauthentication #1360Changed
For detailed release notes, refer 4.0.0-preview3.md
4.0.0-preview2.21264.2
Breaking changes over preview release v4.0.0-preview1
Configurable Retry Logicsafety switch. #1254Added
SqlFileStreamon Windows using .NET Standard 2.0 and above. #1240shared instanceusing managed SNI. #1237Fixed
.NET decimalconversion fromSqlDecimal. #1179Event Sourcechanges on TryBeginExecuteEvent and WriteEndExecuteEvent to address the failure on other MS products such as OpenTelemetry and Application Insight. #1258Changed
For detailed release notes, refer 4.0.0-preview2.md
4.0.0-preview1.21237.2
Breaking changes over stable release 3.0.0
Encryptconnection string property to betrueby default. #1210SqlExceptionreplacingAggregateExceptionfor active directory authentication modes. #1213Asynchronous Processingconnection property from .NET Framework. #1148Added
SqlCommand.EnableOptimizedParameterBindingproperty that when enabled increases performance for commands with very large numbers of parameters. #104142108and42109error codes to retriable transient errors list. #1215PoolBlockingPeriodconnection property support in .NET Standard. #1181SqlDataReader.GetColumnSchema()in .NET Standard. #1181SqlConnectionStringBuilderproperties for .NET Core. #1152Fixed
RetryLogicProviderwhen callingSqlCommand.ExecuteScalarAsync. #1220EntryPointNotFoundExceptioninInOutOfProcHelperconstructor. #1120SqlConnection.Open()for active directory authentication modes. #1213LegacyRowVersionNullBehaviorApp Context switch. #1182Changed
SqlCommandandSqlDataAdapter. #1132SqlParameterbool fields to flags. #1064For detailed release notes, refer 4.0.0-preview1.md
3.1.7
[Stable release 3.1.7] - 2024-08-20
Fixed
AcquireTokenAsynctimeout handling for edge cases inActiveDirectoryAuthenticationProvider. #2709Microsoft.Data.SqlClientassembly. #2789Changed
3.1.5
[Stable release 3.1.5] - 2024-01-09
Fixed
For summary of all changes over v3.1.4, refer to 3.1.5.md
3.1.4
[Stable release 3.1.4] - 2023-10-31
Fixed
For summary of all changes over v3.1.3, refer to 3.1.4.md
3.1.3
[Stable release 3.1.3] - 2023-03-10
Fixed
For summary of all changes over v3.1.2, refer to 3.1.3.md
3.1.2
[Stable release 3.1.2] - 2023-02-03
Added
Fixed
For summary of all changes over v3.1.1, refer to 3.1.2.md
3.1.1
[Stable release 3.1.1] - 2022-08-12
Fixed
SqlTypeWorkarounds. #16993.1.0
Added
NoneforVBSenclave types. This protocol will allow users to forgo enclave attestation for VBS enclaves. #153942108and42109error codes to retriable transient errors list. #1560Fixed
For detailed release notes, refer to 3.1.0.md
3.0.1
Fixed
SqlConnection.Open()for active directory authentication modes. #1270LegacyRowVersionNullBehaviorApp Context switch. #1246RetryLogicProviderwhen callingSqlCommand.ExecuteScalarAsync. #12453.0.0
Added
Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov3.0.0#1102Breaking Changes
For summary of all changes over v2.1, refer to 3.0.0.md
3.0.0-preview3.21140.5
Added
Fixed
Changed
For detailed release notes, refer 3.0.0-preview3.md
3.0.0-preview2.21106.5
Breaking Changes over preview release v3.0.0-preview1
User Idconnection property now requiresClient Idinstead ofObject Idfor User-Assigned Managed Identity #1010SqlDataReadernow returns aDBNullvalue instead of an emptybyte[]. Legacy behavior can be enabled by settingAppContextswitch Switch.Microsoft.Data.SqlClient.LegacyRowVersionNullBehavior #998Added
Fixed
Changed
SqlDateTimetoDateTimeinternal conversion method #912Microsoft.Identity.Clientversion from 4.21.1 to 4.22.0 #1036For detailed release notes, refer 3.0.0-preview2.md.
3.0.0-preview1.21075.2
Breaking Changes over stable release v2.1
Added
System.Runtime.Cachingdependency for .NET Standard assemblies #877Fixed
MakeReadAsyncBlockingApp Context switch is set tofalse#910 #922SqlDataReader.Dispose#920Changes
MakeReadAsyncBlockingdefault tofalse#937BinaryFormatterwithDataContractSerializer#869DtdProcessingonXmlTextReaderinstance in .NET Core #884SerializeEncodingChar/WriteEncodingCharand some options boxing #785For detailed release notes, refer 3.0.0-preview1.md.
2.1.7
[Stable release 2.1.7] - 2024-01-09
Fixed
For summary of all changes over v2.1.6, refer to 2.1.7.md
2.1.6
[Stable release 2.1.6] - 2023-04-27
Fixed
SqlCommand.ExecuteReaderAsync. #19862.1.5
[Stable release 2.1.5] - 2022-08-30
Fixed
SqlTypeWorkarounds. #17292.1.4
Fixed
2.1.3
Fixed
2.1.2
Fixed
DtdProcessingonXmlTextReaderinstances in .NET Core #885System.Runtime.Cachingdependency for .NET Standard assemblies #8782.1.1
Fixed
2.1.0
Added
SqlFacetAttributeimplementation #757Fixed
InvalidOperationExceptionandNotSupportedExceptionerrors due toWriteAsynccollisions #796ExecuteXmlReaderAsync#782IDataReaderwhen usingSqlDataReaderinternally #779SqlExceptionin .NET Core #780Changes
Microsoft.IdentityModelpackage dependencies #794For summary of all changes over v2.0, refer 2.1.0.md
2.1.0-preview2.20297.7
Added
Fixed
Changes
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version tov2.1.1and removed symbols fromMicrosoft.Data.SqlClient.SNI.runtime, which are now published to Microsoft Symbols Server #764Microsoft.Identity.Clientdependency version tov4.21.1#765For detailed release notes, see 2.1.0-preview2.md
2.1.0-preview1.20235.1
Added
ServerProcessId()(SPID) information on an activeSqlConnectioninstance #660SqlClientAuthenticationProviders(duplicate of existingSqlAuthenticationProviders), to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" #702SqlClientEventSourcesupport #650Fixed
SqlErrorsinSqlExceptionfor .NET Framework implementation #698Changes
CacheConnectionStringPropertiescalls when settingConnectionStringproperties #683_SqlMetaDatato lazy initialize hidden column map #521Description has been truncated