[v7.1.0-preview3] Update SNI package reference to 7.1.0-preview3 - #4564
Open
priyankatiwari08 wants to merge 1 commit into
Open
[v7.1.0-preview3] Update SNI package reference to 7.1.0-preview3#4564priyankatiwari08 wants to merge 1 commit into
priyankatiwari08 wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c7425f3e-f6b8-439b-b74f-e25f8406fbf6
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the centralized SNI dependency for the v7.1.0-preview3 release.
Changes:
- Bumps
SniVersionto7.1.0-preview3.26226.3. - Updates package and nuspec dependency ranges automatically.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
paulmedynski
approved these changes
Aug 21, 2026
5 tasks
cheenamalhotra
approved these changes
Aug 21, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4564 +/- ##
==========================================
- Coverage 65.23% 63.70% -1.53%
==========================================
Files 288 283 -5
Lines 44587 67648 +23061
==========================================
+ Hits 29087 43098 +14011
- Misses 15500 24550 +9050
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the SNI package reference to the newly published
7.1.0-preview3build, in preparation for the MDS v7.1.0-preview3 release.Microsoft.Data.SqlClient.SNIandMicrosoft.Data.SqlClient.SNI.runtimehave both been published at7.1.0-preview3.26226.3, aligning SNI's version numbering with MDS.Why this is required
SniVersionwas last set to6.0.2in #4337 and has not changed since, so v7.1.0-preview1 and preview2 both shipped against SNI 6.0.2. The derived range currently evaluates to:The upper bound is exclusive at
7.0.0, so the new7.1.0-preview3SNI falls outside the range and would never be picked up by floating resolution. Without this explicit bump, v7.1.0-preview3 would silently ship against SNI 6.0.x.The rest of the version alignment is already in place — following the versioning consolidation in #4336,
SqlClientNextVersionis set to7.1.0-preview3and the entire SqlClient family resolves from it. This change brings the SNI dependency in line so that everything points at preview3.Change
A single property update.
SniVersionis declared once and fans out automatically to:PackageVersionentries forMicrosoft.Data.SqlClient.SNIandMicrosoft.Data.SqlClient.SNI.runtime$SniVersionRange$token substituted intoMicrosoft.Data.SqlClient.nuspecThe derived range now evaluates to
[7.1.0-preview3.26226.3, 8.0.0). TheSplit('.')[0]ceiling calculation correctly yields7despite the prerelease suffix, and a future stable7.1.0will still satisfy the range since prerelease sorts below release.Validation
dotnet restoreresolves both packages at7.1.0-preview3.26226.3;project.assets.jsonconfirms the ranges as>= 7.1.0-preview3.26226.3 < 8.0.0dotnet build -f net9.0— succeeded, 0 warnings, 0 errorsdotnet build -f net462— succeeded, 0 warnings, 0 errorsChecklist
Release notes for v7.1.0-preview3 will follow in a separate PR.
AB#47358