Skip to content

chore(core)!: drop .NET 8 and .NET 9 support - #436

Open
j-d-ha wants to merge 2 commits into
mainfrom
build/drop-net8-net9
Open

j-d-ha wants to merge 2 commits into
mainfrom
build/drop-net8-net9

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Raise the minimum target framework to net10.0 and remove net8.0 and net9.0 support. The packages now target net10.0 and net11.0 only.

Changes

  • Retarget core libraries, envelopes, Testing, EventProcessing, and OpenTelemetry to net10.0;net11.0.
  • Keep Durable Execution on net10.0 and source generators on netstandard2.0.
  • Target templates and examples to net10.0 and use the dotnet10 managed runtime.
  • Remove the four .NET 9 AD0001 suppressions.
  • Remove the .NET 8 and .NET 9 package groups, Basic.Reference.Assemblies.Net80/90, and unused package pins.
  • Remove redundant target-framework conditions and MINIMALLAMBDA_DURABLE guards in tests.
  • Update package compatibility checks, mise SDKs, CONTRIBUTING, docs, and skill references.
  • Add a migration warning and the design plan in designs/drop-net8-net9.md.

Validation

  • dotnet build MinimalLambda.sln -c Release /p:TreatWarningsAsErrors=true passes with zero warnings.
  • All test assemblies pass on net10.0 and net11.0.
  • net11.0 Runtime Async tests pass.
  • task build:aot-check passes for .NET 10, .NET 11, and .NET 11 Runtime Async.
  • task build:package-compat passes with the new assets and dependency groups.
  • Generated mlambda and mlambda-aot templates build.
  • task local:docs:build reports no issues.

Breaking Changes

The packages no longer provide net8.0 or net9.0 assets. A consumer on .NET 8 or .NET 9 cannot restore this release. Retarget the application to net10.0 or net11.0 before upgrading. Version 2.x remains available for applications that must stay on .NET 8 or .NET 9.

Release Notes

Major release: 3.0.0.

Target net10.0 and net11.0 only. Remove the .NET 9 analyzer suppressions,
old package groups, reference assemblies, SDKs, and stale docs.

BREAKING CHANGE: The packages no longer provide net8.0 or net9.0 assets.
Consumers must retarget to net10.0 or net11.0 before upgrading to 3.0.0.
@github-actions github-actions Bot added breaking-change Introduces a breaking change type: chore Maintenance task labels Dec 4, 2026
Guard package references that use optional version properties. A plain
restore of the repository no longer fails with NU1015 when the compatibility
properties are not set.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Introduces a breaking change type: chore Maintenance task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant