Released: Microsoft.Data.SqlClient 4.0 Preview 2

Published Sep 21 2021 03:08 PM 939 Views
Senior Member

Microsoft.Data.SqlClient 4.0 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 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 4.0 preview includes many fixes and changes over the previous 4.0 Preview 1 release.

 

Notable changes include:

  • The Configurable Retry Logic safety switch has been removed

    While the behavior of SqlClient remains the same (no additional retries, by default), applications no longer have to set the AppContext switch to take advantage of the built-in configurable retry logic. #1254

  • SqlFileStream is now supported in Windows when targeting .NET Standard 2.0

 

For the full list of changes and fixes in Microsoft.Data.SqlClient 4.0 Preview 2, please see the Release Notes.

 

To try out the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application and pick the 4.0 preview 2 version.

 

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.

 

David Engel

%3CLINGO-SUB%20id%3D%22lingo-sub-2772075%22%20slang%3D%22en-US%22%3EReleased%3A%20Microsoft.Data.SqlClient%204.0%20Preview%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2772075%22%20slang%3D%22en-US%22%3E%3CP%3EMicrosoft.Data.SqlClient%204.0%20Preview%202%20has%20been%20released.%20This%20release%20contains%20improvements%20and%20updates%20to%20the%20Microsoft.Data.SqlClient%20data%20provider%20for%20SQL%20Server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EOur%20plan%20is%20to%20provide%20GA%20releases%20twice%20a%20year%20with%20two%20preview%20releases%20in%20between.%20This%20cadence%20should%20provide%20time%20for%20feedback%20and%20allow%20us%20to%20deliver%20features%20and%20fixes%20in%20a%20timely%20manner.%20This%20second%204.0%20preview%20includes%20many%20fixes%20and%20changes%20over%20the%20previous%204.0%20Preview%201%20release.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENotable%20changes%20include%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EThe%20Configurable%20Retry%20Logic%20safety%20switch%20has%20been%20removed%3C%2FSTRONG%3E%3CP%3EWhile%20the%20behavior%20of%20SqlClient%20remains%20the%20same%20(no%20additional%20retries%2C%20by%20default)%2C%20applications%20no%20longer%20have%20to%20set%20the%20AppContext%20switch%20to%20take%20advantage%20of%20the%20built-in%20configurable%20retry%20logic.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%2Fpull%2F1254%22%20data-hovercard-type%3D%22pull_request%22%20data-hovercard-url%3D%22%2Fdotnet%2FSqlClient%2Fpull%2F1254%2Fhovercard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%231254%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESqlFileStream%20is%20now%20supported%20in%20Windows%20when%20targeting%20.NET%20Standard%202.0%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20full%20list%20of%20changes%20and%20fixes%20in%20Microsoft.Data.SqlClient%204.0%20Preview%202%2C%20please%20see%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%2Fblob%2Fmain%2Frelease-notes%2F4.0%2F4.0.0-preview2.md%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ERelease%20Notes%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20try%20out%20the%20new%20package%2C%20add%20a%20%3CA%20href%3D%22https%3A%2F%2Fwww.nuget.org%2Fpackages%2FMicrosoft.Data.SqlClient%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ENuGet%20reference%20to%20Microsoft.Data.SqlClient%3C%2FA%3E%26nbsp%3Bin%20your%20application%20and%20pick%20the%204.0%20preview%202%20version.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20appreciate%20the%20time%20and%20effort%20you%20spend%20checking%20out%20our%20previews.%20It%20makes%20the%20final%20product%20that%20much%20better.%20If%20you%20encounter%20any%20issues%20or%20have%20any%20feedback%2C%20head%20over%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ESqlClient%20GitHub%20repository%3C%2FA%3E%20and%20submit%20an%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%2Fissues%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eissue%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDavid%20Engel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2772075%22%20slang%3D%22en-US%22%3E%3CP%3EMicrosoft.Data.SqlClient%204.0%20Preview%202%20has%20been%20released.%20This%20release%20contains%20improvements%20and%20updates%20to%20the%20Microsoft.Data.SqlClient%20data%20provider%20for%20SQL%20Server.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2772075%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerDrivers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Sep 21 2021 03:08 PM
Updated by: