Skip to content

v11.0.0

Latest

Choose a tag to compare

@gimlichael gimlichael released this 10 Nov 18:44
· 7 commits to master since this release
9104773

What's Changed

This release moves the retained Codebelt.Coverlet.MTP package to a .NET 10 and .NET 11 target matrix, drops the .NET 9 target, and makes branch coverage more accurate by excluding branches that can never execute from totals and reports.

  • .NET 10 and .NET 11 support replaces the .NET 9 target, with Microsoft runtime dependencies aligned to 10.0.15 for .NET 10 and .NET Standard 2.0 and to 11.0.0 for .NET 11,
  • Branch coverage accuracy excludes branches unreachable from method entry, including through exception handlers, from branch totals and from Cobertura, LCOV, and OpenCover branch details, so reports reflect code that can actually run,
  • Instrumentation fixes prevent invalid IL from branch trampolines near exception-handler boundaries, instrument local functions when CompilerGeneratedAttribute or GeneratedCodeAttribute is excluded, and resolve shared-framework assemblies whose runtime folders carry version suffixes,
  • Shared-framework resolution selects the highest matching framework by parsed NuGet version instead of string prefix matching, so prerelease and non-numeric runtime folders no longer break instrumentation,
  • Dependency updates move Microsoft Testing Platform to 2.5.2, xunit.v3.mtp-v2 to 4.0.3, Moq to 4.21.0, and NuGet.Packaging and NuGet.Versioning to 7.9.0,
  • Package validation packs Codebelt.Coverlet.MTP automatically for local validation test runs, isolated per configuration and framework, while GitHub Actions consumes the downloaded release package, so stale packages no longer affect local validation,
  • Regression coverage adds tests for MTP central configuration files, report formats, coverage thresholds, shared-framework resolution, and branch reachability.

Warning

The .NET 9 target is removed. Projects that consume the .NET 9 asset group of Codebelt.Coverlet.MTP must move to .NET 10 or .NET 11 before upgrading.

Note

Branch totals can shift after upgrading because unreachable branches are no longer counted. Compare coverage results against the 10.1.2 baseline before treating a change as a regression.

Sources:

Full Changelog: v10.1.2...v11.0.0