Skip to content

Bump Microsoft.Data.SqlClient from 7.1.2 to 8.0.0 - #5138

Merged
rockfordlhotka merged 1 commit into
mainfrom
dependabot/nuget/Source/Csla.Data.SqlClient/Microsoft.Data.SqlClient-8.0.0
Nov 27, 2026
Merged

rockfordlhotka merged 1 commit into
mainfrom
dependabot/nuget/Source/Csla.Data.SqlClient/Microsoft.Data.SqlClient-8.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Updated Microsoft.Data.SqlClient from 7.1.2 to 8.0.0.

Release notes

Sourced from Microsoft.Data.SqlClient's releases.

8.0.0

The driver and its four companion packages are version-aligned at 8.0.0. Use matching versions of all installed family packages. The family AssemblyVersion is 8.0.0.0; .NET Framework applications upgrading from 7.x should review strong-name binding redirects. Native SNI and Microsoft.SqlServer.Server remain independently versioned.

Companion package release notes

Changes Since 8.0.0-preview1

Changed

Breaking default change: pool waits share the connection timeout budget

What Changed:

  • Switch.Microsoft.Data.SqlClient.UseOverallConnectTimeoutForPoolWait now defaults to true. SqlConnection.Open and OpenAsync carry the remaining Connect Timeout budget through pool acquisition and login with either pool implementation. (#​4642, #​5030, #​5046)

Who Benefits:

  • Applications under pool contention no longer grant login a fresh full timeout after waiting.

Impact:

  • Opens may time out sooner. Set the switch to false before using SqlClient to restore the prior separate budgets; the switch is cached on first use. Connect Timeout=0 stays infinite. This does not claim that every remaining in-open round trip has been converted. See networking migration guidance.

Lower destination-metadata cost for name-mapped bulk copies

What Changed:

  • SqlBulkCopy restores fast SET FMTONLY ON; SELECT * discovery for destination-name mappings, with one catalog fallback if a name is missing. Destination-ordinal mappings, implicit/default mappings, and SQL Graph aliases use catalog discovery directly. (#​4985, #​4988, #​5036)

Who Benefits:

  • Repeated name-mapped bulk loads avoid unnecessary catalog-query work on the server.

Impact:

  • Automatic mode preserves hidden-column positions and graph-alias support. Fallback happens before rows are sent; it does not retry the write.
  • Switch.Microsoft.Data.SqlClient.UseBulkCopyCatalogMetadataDiscovery=true always uses catalog discovery and avoids fallback for hidden-name workloads. Explicit false never uses catalogs and uses visible-column positions, without hidden-column or graph-alias discovery. Leaving the switch unset selects automatic mode.

Asynchronous command execution awaits enclave attestation

What Changed:

  • Asynchronous command execution now awaits enclave-session lookup, attestation preparation, session creation, and retry-time invalidation, including the shared reader, nonquery, scalar, XML, APM, and batch paths. Caller cancellation reaches enclave-provider operations. (#​3672, #​4887, #​5066)

Who Benefits:

... (truncated)

8.0.0-preview1

This first 8.0 preview includes changes since the release/7.1 branch point, 92f220956b07328054701a869f452cade51830c1 (2026-09-15), through b87ca6e7643611ddc3273324de346d09e8ff2c43. Changes already shipped in 7.1.1 are identified below because the branch-cut baseline predates that release.

The driver and its four companion packages use package version 8.0.0-preview1. The family AssemblyVersion changes from 7.0.0.0 to 8.0.0.0; .NET Framework applications should review strong-name binding redirects when upgrading. Native SNI and Microsoft.SqlServer.Server remain independently versioned.

Companion package release notes

Added

Vector float16 support and per-connection version negotiation

What Changed:

  • Added support for SQL Server vector(N, float16), including reader values, parameters, output parameters, column schema, and bulk copy. On modern .NET, use SqlVector<Half>; the existing SqlVector<float> API remains supported. (#​4501)
  • Added the Vector Type Support connection-string keyword and SqlConnectionStringBuilder.VectorTypeSupport, of type SqlVectorTypeSupport. Values are Off, V1, and V2; the default is V2.

Who Benefits:

  • Applications storing embeddings can use float16 vectors with smaller element payloads, while choosing the result-type contract independently for each connection.

Impact:

  • Result-type change: when the server negotiates V2, modern .NET returns native SqlVector<Half> values for float16 columns instead of JSON strings. Set Vector Type Support=v1 to preserve float16 JSON-string results, or off to receive all vector columns as text. Different settings use separate connection pools.
  • .NET Framework has no System.Half. Float16 columns remain available as JSON strings or through GetSqlVector<float>, which widens their elements exactly. Prefer the latter when reading many values, to avoid the additional JSON serialization.
  • GetColumnSchema() exposes VectorBaseType and VectorDimensions through the column indexer when native vector metadata is negotiated.
  • SQL Server performs cross-base conversion for native vector parameters and bulk-copy inputs. Typed vectors are not automatically serialized for text destinations; supply JSON strings or an explicit SQL cast instead. Vector TVPs are not added by this change.
  • Float16 requires a server that supports it; enable PREVIEW_FEATURES while the server feature is in preview. See the float16 sample.
var builder = new SqlConnectionStringBuilder(connectionString)
{
    VectorTypeSupport = SqlVectorTypeSupport.V1
};

Opt-in reset of pooled transaction isolation levels

What Changed:

  • Added Switch.Microsoft.Data.SqlClient.EnableTransactionIsolationLevelReset, default false. When enabled, a SqlClient-tracked isolation-level change is reset to READ COMMITTED before pooled reuse when no existing enlistment or active delegated transaction root remains. (#​96, #​4330)

Who Benefits:

  • Applications that otherwise inherit an isolation level left by a previous user of a pooled connection.

Impact:
... (truncated)

Commits viewable in compare view.

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 27, 2026
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Source/Csla.Data.SqlClient/Microsoft.Data.SqlClient-8.0.0 branch 2 times, most recently from 2212b04 to b491f91 Compare November 27, 2026 02:51
---
updated-dependencies:
- dependency-name: Microsoft.Data.SqlClient
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Source/Csla.Data.SqlClient/Microsoft.Data.SqlClient-8.0.0 branch from b491f91 to 4dd2ef2 Compare November 27, 2026 02:59
@rockfordlhotka
rockfordlhotka merged commit f1136d7 into main Nov 27, 2026
2 checks passed
@rockfordlhotka
rockfordlhotka deleted the dependabot/nuget/Source/Csla.Data.SqlClient/Microsoft.Data.SqlClient-8.0.0 branch November 27, 2026 03:07
rockfordlhotka added a commit that referenced this pull request Nov 27, 2026
* Use the .NET 11 package versions for the net11.0 targets

CSLA 11 targets the latest package versions for .NET 11; the .NET
Framework and netstandard2.0 targets keep their low floors.

- Csla references System.Text.Json and System.Text.RegularExpressions
  only for netstandard2.0 and .NET Framework. .NET 10 and 11 include
  both, so the net10.0/net11.0 package no longer depends on
  System.Text.Json 8.0.6.
- Csla.Channels.Wcf replaces the Microsoft.AspNetCore.WebUtilities 2.3.14
  security pin with the package for each target framework (10.0.15 for
  net10.0, 11.0.0 for net11.0), and moves System.Security.Cryptography.Xml
  to 10.0.15 for net10.0.
- The release notes and upgrade guide cover Microsoft.Data.SqlClient 8
  (#5138): connection default changes, SQL Server 2005 removal and the
  matching Extensions.Azure version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Use the latest test dependencies for net11.0

- The generator test projects pin System.Security.Cryptography.Pkcs per
  target framework, 10.0.15 for net10.0 and 11.0.0 for net11.0, instead
  of 10.0.15 for both. The pin overrides the vulnerable 9.0.6 that
  Analyzer.Testing brings in.
- Csla.Analyzers.Tests moves to Microsoft.CodeAnalysis.CSharp.Workspaces
  and Microsoft.CodeAnalysis.Analyzers 5.12.0. The test host can use the
  newest Roslyn; only the shipped analyzer and generator projects keep the
  low Roslyn floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant