New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log a warning when the version of Microsoft.Data.SqlClient is lower than 5.2.0 #1305
Conversation
@danielmarbach Why 5.0.2 as a minimum specifically? Why not latest? |
880b960
to
ab0f691
Compare
@bording because 5.0.2 contains the memory leak fixes that we care about. I was thinking about mentioning 5.2.0 but technically that is not needed unless we want to make sure besides not running into the memory leak they are also safe with transaction on .NET. I' m good either way. |
…start upgrading to later versions without enforcing them to have Encrypt=true that was introduced in a breaking change in 4.x of the client
ab0f691
to
160b548
Compare
@bording pushed. Maybe the warning is a bit too specific now. Happy to take suggestions |
Description
Microsoft.Data.SqlClient version 3.x referenced in our package has a number of issues that have been addressed in the 5.x versions of the client. Unfortunately, we can't just upgrade that package in a minor, since both version 4.x and 5.x contain a number of breaking changes that might require careful planning on the side of our customers. The next major version of the transport will already have a dependency on 5.2.0. As an intermediate step, we are adding a log warning to inform customers that they should consider upgrading the Sql Client version.
Documentation
None. The warning contains all the information necessary.