Microsoft.Data.SqlClient 5.0 Preview 3 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 third 5.0 preview includes fixes and changes over the previous preview release.
Breaking changes over v5.0.0-preview2
Several classes were removed from the Microsoft.Data.SqlClient.Server namespace. They should now be referenced in the Microsoft.SqlServer.Server namespace and package that is now a dependency of Microsoft.Data.SqlClient when targeting .NET/.NET Core.
The new dependency on the standalone Microsoft.SqlServer.Server package may cause a duplicate namespace issue if your application is referencing Microsoft.SqlServer.Server and has a dependency (direct or indirect) on System.Data.SqlClient from .NET Core. (Read more)
Added support forTDS 8. To use TDS 8, users should specify Encrypt=Strict in the connection string.#1608Read more
Added support for specifying Server SPN and Failover Server SPN on the connection.#1607Read more
Added support for aliases when targeting .NET Core on Windows.#1588Read more
Fixed naming, order, and formatting forSqlDiagnosticsListeneron .NET Core and .NET. [#1637] (#1637)
Fixed NullReferenceException during Azure Active Directory authentication. [#1625] (#1625)
Added CommandText length validation when using stored procedure command types.#1484
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.