Microsoft.Data.SqlClient 3.0 Preview 1 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 preview releases in between. This cadence should provide time for feedback and allow us to deliver features and fixes in a timely manner. This first 3.0 preview includes many fixes and changes over the previous 2.1 GA release.
Notable changes include:
Configurable Retry Logic
The most exciting feature of this release, configurable retry logic is available when you've enabled an app context switch. Configurable retry logic builds significantly more transient error handling functionality into SqlClient than existed previously. It will allow you to retry connection and command executions based on configurable settings. Since it is even configurable outside of your code, it can help make existing applications more resilient to transient errors that you might encounter in real-world use. For a detailed look into this feature, check out the blog post Introducing Configurable Retry Logic in Microsoft.Data.SqlClient v3.0.0-Preview1.
Dropped support for .NET Framework 4.6. .NET Framework 4.6.1 is the new minimum requirement
Added support for Event counters in .NET Core 3.1+ and .NET Standard 2.1+
Added support for Assembly Context Unloading in .NET Core
Numerous bug fixes
For the full list of changes in Microsoft.Data.SqlClient 3.0 Preview 1, please see the Release Notes.
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.