|
| 1 | +# Release Notes |
| 2 | + |
| 3 | +## Microsoft.Data.SqlClient 2.0.0-preview4.20142.4 released 21 May 2020 |
| 4 | + |
| 5 | +This update brings the below changes over the previous release: |
| 6 | + |
| 7 | +### Added |
| 8 | +- Microsoft.Data.SqlClient (.NET Core and .NET Standard) on Windows is now dependent on **Microsoft.Data.SqlClient.SNI.runtime**, replacing the previous dependency on **runtime.native.System.Data.SqlClient.SNI** [#570](https://github.com/dotnet/SqlClient/pull/570) |
| 9 | +- The new **Microsoft.Data.SqlClient.SNI.runtime** dependency adds support for the *ARM* platform along with the already supported platforms *ARM64*, *x64* and *x86* on Windows [#570](https://github.com/dotnet/SqlClient/pull/570) |
| 10 | +- Improved driver performance by introducing managed packet recycling [#389](https://github.com/dotnet/SqlClient/pull/389) |
| 11 | + |
| 12 | +### Fixed |
| 13 | +- Fixed `SqlBulkCopy` to work with database columns containing metadata about data classification [#568](https://github.com/dotnet/SqlClient/pull/568) |
| 14 | +- Fixed unsafe cast in `SqlException` for `SerializationEntry.Value` |
| 15 | +- Fixed null reference exceptions in `SqlDelegatedTransaction` methods [#563](https://github.com/dotnet/SqlClient/pull/563) |
| 16 | + |
| 17 | +### Changes |
| 18 | +- Standardized connection string properties for enhanced user experience [#534](https://github.com/dotnet/SqlClient/pull/534) |
| 19 | +- Improved performance by reducing eventsource tracing related to allocations from TVP write methods [#557](https://github.com/dotnet/SqlClient/pull/557) [#564](https://github.com/dotnet/SqlClient/pull/564) |
| 20 | + |
| 21 | +### Breaking Changes |
| 22 | +- For .NET Framework applications consuming **Microsoft.Data.SqlClient**, the `SNI.dll` files previously downloaded to the `bin\x64` and `bin\x86` folders are now named `Microsoft.Data.SqlClient.SNI.x64.dll` and `Microsoft.Data.SqlClient.SNI.x86.dll` and will be downloaded to the `bin` directory, to support auto-loading in the application process [#570](https://github.com/dotnet/SqlClient/pull/570). This change is not going to impact client applications unless a direct reference has been made to `SNI.dll` or the x86 and x64 folders. |
| 23 | + |
| 24 | + |
| 25 | +## New Connection string property synonyms |
| 26 | + |
| 27 | +The below connection properties can be interchangeably used with the new synonyms to avoid spacing confusion and for an enhanced user experience. |
| 28 | + |
| 29 | +|Existing connection string property|New Synonym| |
| 30 | +|-----------------------------------|-----------| |
| 31 | +| ApplicationIntent | Application Intent | |
| 32 | +| ConnectRetryCount | Connect Retry Count | |
| 33 | +| ConnectRetryInterval | Connect Retry Interval | |
| 34 | +| PoolBlockingPeriod | Pool Blocking Period | |
| 35 | +| MultipleActiveResultSets | Multiple Active Result Sets | |
| 36 | +| MultiSubnetFailover | Multiple Subnet Failover | |
| 37 | +| TransparentNetworkIPResolution | Transparent Network IP Resolution | |
| 38 | +| TrustServerCertificate | Trust Server Certificate | |
| 39 | + |
| 40 | +> Note: This is not a breaking change. Old properties will continue to be supported for backwards compatibility. |
| 41 | +
|
| 42 | +## Target Platform Support |
| 43 | + |
| 44 | +- .NET Framework 4.6+ |
| 45 | +- .NET Core 2.1+ (Windows x86, Windows x64, Linux, macOS) |
| 46 | +- .NET Standard 2.0+ (Windows x86, Windows x64, Linux, macOS) |
| 47 | + |
| 48 | +### Dependencies |
| 49 | + |
| 50 | +#### .NET Framework |
| 51 | + |
| 52 | +- Microsoft.Data.SqlClient.SNI 2.0.0-preview1.20141.10 |
| 53 | +- Microsoft.Identity.Client 4.7.1 |
| 54 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 |
| 55 | +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 |
| 56 | + |
| 57 | +#### .NET Core 2.1 |
| 58 | + |
| 59 | +- Microsoft.Data.SqlClient.SNI.runtime 2.0.0-preview1.20141.10 |
| 60 | +- Microsoft.Win32.Registry 4.7.0 |
| 61 | +- System.Security.Principal.Windows 4.7.0 |
| 62 | +- System.Text.Encoding.CodePages 4.7.0 |
| 63 | +- System.Diagnostics.DiagnosticSource 4.7.0 |
| 64 | +- System.Configuration.ConfigurationManager 4.7.0 |
| 65 | +- System.Runtime.Caching 4.7.0 |
| 66 | +- Microsoft.Identity.Client 4.7.1 |
| 67 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 |
| 68 | +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 |
| 69 | + |
| 70 | +#### .NET Core 3.1 |
| 71 | + |
| 72 | +- Microsoft.Data.SqlClient.SNI.runtime 2.0.0-preview1.20141.10 |
| 73 | +- Microsoft.Win32.Registry 4.7.0 |
| 74 | +- System.Security.Principal.Windows 4.7.0 |
| 75 | +- System.Text.Encoding.CodePages 4.7.0 |
| 76 | +- System.Diagnostics.DiagnosticSource 4.7.0 |
| 77 | +- System.Configuration.ConfigurationManager 4.7.0 |
| 78 | +- System.Runtime.Caching 4.7.0 |
| 79 | +- Microsoft.Identity.Client 4.7.1 |
| 80 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 |
| 81 | +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 |
| 82 | + |
| 83 | +#### .NET Standard |
| 84 | + |
| 85 | +- Microsoft.Data.SqlClient.SNI.runtime 2.0.0-preview1.20141.10 |
| 86 | +- Microsoft.Win32.Registry 4.7.0 |
| 87 | +- System.Buffers 4.5.0 |
| 88 | +- System.Memory 4.5.3 |
| 89 | +- System.Security.Principal.Windows 4.7.0 |
| 90 | +- System.Text.Encoding.CodePages 4.7.0 |
| 91 | +- Microsoft.Identity.Client 4.7.1 |
| 92 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 |
| 93 | +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 |
0 commit comments