Skip to content

fix(deps): pin Microsoft.AspNetCore.DataProtection >= 10.0.7 for net10.0#56

Merged
poxet merged 1 commit into
masterfrom
fix/dataprotection-pin
Apr 29, 2026
Merged

fix(deps): pin Microsoft.AspNetCore.DataProtection >= 10.0.7 for net10.0#56
poxet merged 1 commit into
masterfrom
fix/dataprotection-pin

Conversation

@poxet
Copy link
Copy Markdown
Contributor

@poxet poxet commented Apr 29, 2026

Summary

Adds an explicit PackageReference for Microsoft.AspNetCore.DataProtection 10.0.7 in the net10.0 conditional ItemGroup of Tharga.Team.Blazor.csproj.

Today the package flows in only transitively (via Microsoft.Identity.Web / the shared framework). The explicit reference declares a known-good >= 10.0.7 floor in the consumer-facing .nuspec, so apps that consume Tharga.Team.Blazor get the dependency declaration even if the rest of their graph would resolve a lower version.

Notes

  • NU1510 suppressed. The package is part of the Microsoft.AspNetCore.App shared framework, so the SDK warns the local build prunes the explicit reference. The pin is for downstream consumer metadata, not for the build of this assembly itself.
  • net9.0 not pinned. The request specified >= 10.0.7 only. A 9.x floor can be added in a follow-up if needed.

Tests

255 tests pass, 0 warnings.

Test plan

  • Build + security checks pass
  • Verify the next published Tharga.Team.Blazor .nupkg lists Microsoft.AspNetCore.DataProtection >= 10.0.7 under net10.0 dependencies

Adds an explicit PackageReference for Microsoft.AspNetCore.DataProtection
in the net10.0 conditional ItemGroup. Today the package only flows in
transitively (via Microsoft.Identity.Web / the shared framework). Pinning
declares a known-good floor in the Tharga.Team.Blazor .nuspec so consumer
apps get a >= 10.0.7 dependency declaration.

Suppress NU1510 in this csproj — the package is part of the shared
framework, so the .NET 10 SDK would otherwise warn that the local build
prunes the reference. The pin is for downstream consumer metadata, not
for the build of this assembly itself.

net9.0 left unpinned (request specified 10.0.7 only). Can be added in a
follow-up if a 9.x floor is also needed.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@poxet poxet merged commit d58de31 into master Apr 29, 2026
5 of 6 checks passed
@poxet poxet deleted the fix/dataprotection-pin branch April 29, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant