-
Notifications
You must be signed in to change notification settings - Fork 317
Release Notes for v2.0.0-preview3 #549
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| # Release Notes | ||
|
|
||
| ## Microsoft.Data.SqlClient 2.0.0-preview3.20122.2 released 1 May 2020 | ||
|
|
||
| This update brings the below changes over the previous release: | ||
|
|
||
| ### Added | ||
| - Allowed passing username with Active Directory Interactive Authentication in .NET Framework [#492](https://github.com/dotnet/SqlClient/pull/492) | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - Allow large UDT buffers for .NET Framework [#456](https://github.com/dotnet/SqlClient/pull/456) | ||
| - Added "Transaction Id" and "Client Version" in Diagnostic Source traces [#515](https://github.com/dotnet/SqlClient/pull/515) | ||
| - Added new `SqlConnectionOverrides` APIs to perform `SqlConnection.Open()` with fail fast option [#463](https://github.com/dotnet/SqlClient/pull/463) | ||
|
|
||
| ### Fixed | ||
| - Addressed MARS TDS Header errors by reverting changes to make `SqlDataReader.ReadAsync()` non-blocking [#547](https://github.com/dotnet/SqlClient/pull/547) | ||
| - Fixed driver behavior to not perform enlistment of pooled connection in aborted transaction [#543](https://github.com/dotnet/SqlClient/pull/543) | ||
| - Fixed wrong application domain selected when starting `SqlDependencyListener` [#410](https://github.com/dotnet/SqlClient/pull/410) | ||
| - Added missing refs for `RowCopied` property in `SqlBulkCopy` [#508](https://github.com/dotnet/SqlClient/pull/508) | ||
|
|
||
| ### Changes | ||
| - Improved performance by removing unwanted method calls in Event Source tracing [#506](https://github.com/dotnet/SqlClient/pull/506) | ||
| - Removed Diagnostic Source and Configuration Manager dependencies from .NET Standard DLL [#535](https://github.com/dotnet/SqlClient/pull/535) | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - Removed redundant calls to `DbConnectionPoolKey.GetType()` [#512](https://github.com/dotnet/SqlClient/pull/512) | ||
|
|
||
| ### Breaking Changes | ||
| - Updated driver to perform decimal scale rounding to match SQL Server behavior [#470](https://github.com/dotnet/SqlClient/pull/470) | ||
| - Renamed App Context switch that enables Managed SNI on Windows for .NET Core and .NET Standard [#548](https://github.com/dotnet/SqlClient/pull/548) | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| ### Enabling decimal truncation behavior conditionally | ||
| Starting v2.0.0-preview3, the decimal data scale will be rounded by driver by default as done by SQL Server. | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| For backwards compatibility, you can set [AppContext](https://docs.microsoft.com/en-us/dotnet/api/system.appcontext?view=netframework-4.8) switch "Switch.Microsoft.Data.SqlClient.TruncateScaledDecimal" to "true". | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| To set the switch from app startup, specify: | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```cs | ||
| AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.TruncateScaledDecimal", true); | ||
| ``` | ||
|
|
||
| ### Enabling Managed networking on Windows | ||
| This release introduces renamed AppContext switch "Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows" that enables the use of Managed SNI on Windows for testing and debugging purposes. This switch will toggle the driver's behavior to use Managed SNI in .NET Core 2.1+ and .NET Standard 2.0+ projects on Windows. | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| To set the switch from app startup, specify: | ||
cheenamalhotra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```cs | ||
| AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows", true); | ||
| ``` | ||
|
|
||
| ## Target Platform Support | ||
|
|
||
| - .NET Framework 4.6+ | ||
| - .NET Core 2.1+ (Windows x86, Windows x64, Linux, macOS) | ||
| - .NET Standard 2.0+ (Windows x86, Windows x64, Linux, macOS) | ||
|
|
||
| ### Dependencies | ||
|
|
||
| #### .NET Framework | ||
|
|
||
| - Microsoft.Data.SqlClient.SNI 1.1.0+ | ||
| - Microsoft.Identity.Client 3.0.8 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 5.6.0 | ||
|
|
||
| #### .NET Core 2.1 | ||
|
|
||
| - runtime.native.System.Data.SqlClient.sni 4.4.0 | ||
| - Microsoft.Win32.Registry 4.7.0 | ||
| - System.Security.Principal.Windows 4.7.0 | ||
| - System.Text.Encoding.CodePages 4.7.0 | ||
| - System.Diagnostics.DiagnosticSource 4.7.0 | ||
| - System.Configuration.ConfigurationManager 4.7.0 | ||
| - System.Runtime.Caching 4.7.0 | ||
| - Microsoft.Identity.Client 4.7.1 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 5.6.0 | ||
|
|
||
| #### .NET Core 3.1 | ||
|
|
||
| - runtime.native.System.Data.SqlClient.sni 4.4.0 | ||
| - Microsoft.Win32.Registry 4.7.0 | ||
| - System.Security.Principal.Windows 4.7.0 | ||
| - System.Text.Encoding.CodePages 4.7.0 | ||
| - System.Diagnostics.DiagnosticSource 4.7.0 | ||
| - System.Configuration.ConfigurationManager 4.7.0 | ||
| - System.Runtime.Caching 4.7.0 | ||
| - Microsoft.Identity.Client 4.7.1 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 5.6.0 | ||
|
|
||
| #### .NET Standard | ||
|
|
||
| - runtime.native.System.Data.SqlClient.sni 4.4.0 | ||
| - Microsoft.Win32.Registry 4.7.0 | ||
| - System.Buffers 4.5.0 | ||
| - System.Memory 4.5.3 | ||
| - System.Security.Principal.Windows 4.7.0 | ||
| - System.Text.Encoding.CodePages 4.7.0 | ||
| - Microsoft.Identity.Client 4.7.1 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 5.6.0 | ||
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.