Repository navigation
[7.0.4] Backport dependency servicing and synchronize nuspec - #4869
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
The manifest changes are consistent, but final package validation and successful CI remain unverified.
No open issues 🎉
What changed in this PR
Backports dependency servicing for SqlClient 7.0.4 to address CVE-2026-84008 while preserving the release branch’s framework and package layout.
Changes:
- Updates four .NET 9 dependencies to
9.0.21and other PKCS references to8.0.2. - Synchronizes published dependency minimums with central versions.
| File | Description |
|---|---|
| tools/specs/Microsoft.Data.SqlClient.nuspec | Updates packaged dependency minimums. |
| Directory.Packages.props | Updates central dependency servicing versions. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## release/7.0 #4869 +/- ##
===============================================
- Coverage 72.60% 65.86% -6.75%
===============================================
Files 280 275 -5
Lines 43416 66303 +22887
===============================================
+ Hits 31523 43670 +12147
- Misses 11893 22633 +10740
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:
|
Description
Manually backport #4842 and the matching nuspec synchronization from #4862 to
release/7.0for hotfix 7.0.4, addressing CVE-2026-84008 without changing the release branch's framework or dependency layout.In
Directory.Packages.propsandtools/specs/Microsoft.Data.SqlClient.nuspec:9.0.13to9.0.21:Microsoft.Extensions.Caching.Memory,Microsoft.Bcl.Cryptography,System.Configuration.ConfigurationManager, andSystem.Security.Cryptography.Pkcs.System.Security.Cryptography.Pkcsfrom8.0.1to8.0.2for the other central-version group and thenet462,net8.0, andnetstandard2.0nuspec groups.Microsoft.Bcl.TimeProviderandSystem.Threading.RateLimitingare absent from this release branch and are not introduced. The AKV provider is SDK-packed, targets onlynetstandard2.0, and retainsMicrosoft.Extensions.Caching.Memory8.0.1; there is no separate AKV nuspec to update.No public API, documentation, localization, or driver implementation changes.
Suggested release note: Update dependency servicing versions and synchronize packaged dependency minimums to address CVE-2026-84008.
Issues
7.0.4(milestone 106).Testing
This is a manifest-only servicing change. No driver unit or integration tests were changed. The implementation session ran a session-local PowerShell regression check that verifies the exact servicing-only delta against release base
da03d4b21f9a22742add630af12f872416655c19, evaluates the release projects with MSBuild, and compares every fixed-version nuspec dependency with the evaluated central version. Its validated commit994c8dad4e9492749259c036b962a582dc75175eis published unchanged.Commands and results from the implementation session:
Passed after the change: all 33 fixed-version dependencies across
net462,net8.0,net9.0, andnetstandard2.0match. The same check failed on the unchanged release branch, as expected. The script also verifies that TimeProvider and RateLimiting remain absent and that the two files contain no changes beyond the 12 intended version replacements.Passed: restored and built the Windows driver for
net462,net8.0, andnet9.0, the corresponding reference assemblies, thenetstandard2.0unsupported-platform assembly, and sibling projects.Publication verification:
Passed. The diff against live
origin/release/7.0contains exactly the two intended files, with 12 version replacements.Validation limits: the repository pins SDK
10.0.109, which is not installed. The initialdotnet msbuildinvocation failed SDK selection; the successful build and evaluations explicitly used installed SDK10.0.402without changingglobal.json. Full NuGet packing and driver unit/integration tests were not run.nuget.exe, required byGenerateMdsPackage, is not installed. The build was not repeated during publication.Guidelines
Please review the contribution guidelines before submitting a pull request: