Released: Microsoft.Data.SqlClient 5.1.5

We have released an update to Microsoft.Data.SqlClient, version 5.1.5. The update addresses several issues that are important to our customers.


Updates in Microsoft.Data.SqlClient 5.1.5 include:


Fixed Fixed connection to unsubscribe from transaction completion events before returning it to the connection pool #2321 Fixed InvalidCastException when reading an Always Encrypted date or time column #2324 Changed Changed Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Protocols.OpenIdConnect version 6.24.0 to 6.35.0 #2320 to address CVE-2024-21319


To get the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application.


For the list of changes in Microsoft.Data.SqlClient 5.1.5, you can also see the Release Notes.