Skip to content

feat!: target .NET 10 only - #81

Merged
brunobritodev merged 3 commits into
masterfrom
feat/net10
Nov 18, 2026
Merged

brunobritodev merged 3 commits into
masterfrom
feat/net10

Conversation

@brunobritodev

Copy link
Copy Markdown
Member

Summary

Targets .NET 10 (LTS) only. .NET 8 and .NET 9 reached end of support on 2026-11-10. Decision record: docs/Decisions/ADR-005-net10-only.md.

Breaking change (release 11.0.0)

  • Every package targets net10.0 only. Consumers on .NET 8/9 stay on 10.x.
  • The public API did not change.

Dependencies

  • Directory.Packages.props now has one version line for packages that ship with .NET, bumped to 10.0.15. The net8/net9 groups were removed.
  • Added global.json (SDK 10.0.x with latestFeature roll-forward; opts into Microsoft.Testing.Platform).

Tests

  • xunit 2 (deprecated) → xunit.v3 4.0.3 on Microsoft.Testing.Platform. Microsoft.NET.Test.Sdk, xunit.runner.visualstudio and coverlet.collector were removed.
  • Fixed the new xUnit1051 warnings: AspNetCoreTests now passes TestContext.Current.CancellationToken.

CI

  • The SDK comes from global.json. Updated to actions/checkout@v7 and actions/setup-dotnet@v6.
  • Fix: the vulnerable-package check failed on any advisory, including the IdentityServer4 one that ADR-002 accepts. It would have failed on every PR. It now ignores only IdentityServer4.
  • cycjimmy/semantic-release-action stays on v4. The publish workflow only runs on master, so a major bump can't be validated in a PR; Dependabot will propose it.

Docs

  • README compatibility table, plus updates to Policy, Build-Test (MTP commands), Known-Issues, Overview, Samples, Release, CLAUDE.md/AGENTS.md, and the new ADR-005.

Test plan

  • dotnet build -c Release: 0 errors. The remaining warnings already existed and are listed in Known-Issues; the xUnit1051 ones are fixed.
  • dotnet test -c Release: 516/516 passed
  • dotnet test --project ../tests/NetDevPack.Security.Jwt.Tests --filter-class "*FileSystemStore*" (the documented command): 91/91 passed
  • Vulnerable packages: only IdentityServer4 4.1.2 remains, which is accepted (ADR-002)
  • dotnet pack: five packages at 11.0.0 with a single net10.0 group

- Drop net8.0/net9.0 (end of support since 2026-11-10); see ADR-005
- Single .NET package line in Directory.Packages.props, bumped to 10.0.15
- Tests: xunit.v3 on Microsoft.Testing.Platform (global.json), remove
  Microsoft.NET.Test.Sdk, xunit.runner.visualstudio and coverlet.collector,
  fix xUnit1051 warnings
- CI: SDK from global.json, actions/checkout v7, actions/setup-dotnet v6,
  vulnerable package check accepts only the IdentityServer4 advisory (ADR-002)
- Docs: README compatibility table, Policy, Build-Test, Known-Issues, ADR-005

BREAKING CHANGE: all packages now target .NET 10 only. Stay on 10.x for .NET 8/9.
Brings 10.0.1 (vulnerable crypto pins, in-memory store isolation) and the trusted publishing workflow. Keeps the net10-only package versions from this branch and adds the System.Security.Cryptography.Pkcs pin.
@brunobritodev
brunobritodev merged commit 2ff1107 into master Nov 18, 2026
1 check passed
@brunobritodev
brunobritodev deleted the feat/net10 branch November 18, 2026 01:07
github-actions Bot pushed a commit that referenced this pull request Nov 18, 2026
## [11.0.0](v10.0.1...v11.0.0) (2026-11-18)

### ⚠ BREAKING CHANGES

* all packages now target .NET 10 only. Stay on 10.x for .NET 8/9.

* ci: use conventionalcommits release preset

### Features

* target .NET 10 only ([#81](#81)) ([2ff1107](2ff1107))
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