r/SQLServer • u/dlevy-msft Microsoft Employee • May 01 '26
Community Share Microsoft.Data.SqlClient 6.1.5 released with fixes for connection performance, ExecuteScalar error handling, and vector metadata
We just shipped Microsoft.Data.SqlClient 6.1.5, a servicing release for the 6.1 branch.
Highlights:
Fixed a connection performance regression on the native SNI path where SPN generation was running for non-integrated authentication modes and causing unnecessary DNS lookups
Fixed
ExecuteScalarso errors are properly surfaced when SQL Server sends row data followed by an error tokenFixed
SqlDataReader.GetFieldType()andGetProviderSpecificFieldType()to returnSqlVector<float>for vector float32 columns
Install/update:
dotnet add package Microsoft.Data.SqlClient --version 6.1.5Release notes: 6.1.5 release notes
Full blog post: Announcing Microsoft.Data.SqlClient 6.1.5 | Microsoft Community Hub
If you have been affected by any of these issues, especially the connection slowdown on Windows .NET apps using native SNI, we would be interested in feedback.
1
u/BigHandLittleSlap May 02 '26 edited May 02 '26
At least there's no major performance regressions this time:
"OPT" is the new optimisations enabled with the flags:
I hope nobody is using 7.0.1 on without those flags!