Microsoft.Data.SqlClient 5.1 Preview 2 has been released. This release contains improvements and updates to the Microsoft.Data.SqlClient data provider for SQL Server.
Our plan is to provide GA releases twice a year with two or three preview releases in between. This cadence should provide time for feedback and allow us to deliver features and fixes in a timely manner. This second 5.1 preview includes fixes and changes over the previous preview release.
Added target-specific support for .NET 6.0 and dropped support for .NET Core 3.1.#1704#1823
Added support forDateOnlyandTimeOnlyforSqlParametervalue andGetFieldValue.#1813
Added support for TLS 1.3 for .NET Core and SNI Native.#1821
UpdatedMicrosoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0-preview2.22311.2.#1831which includes the fix for the TLS 1.3 timeout and double handshake issue, removal of ARM32 binaries, and support for theServerCertificateoption.#1822
Reverted "Excluding unsupported TLS protocols" for issue#1151(i.e. removedSwitch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS) by adding support for TLS 1.3.#1824
We appreciate the time and effort you spend checking out our previews. It makes the final product that much better. If you encounter any issues or have any feedback, head over to the SqlClient GitHub repository and submit an issue.