Skip to content

Release 0.2.0: multi-target net8.0;net10.0#7

Merged
StuartMeeks merged 1 commit into
mainfrom
release/0.2.0
Jun 20, 2026
Merged

Release 0.2.0: multi-target net8.0;net10.0#7
StuartMeeks merged 1 commit into
mainfrom
release/0.2.0

Conversation

@StuartMeeks

Copy link
Copy Markdown
Owner

Summary

Retargets the package from single-target net10.0 to multi-target net8.0;net10.0, broadening the range of consuming runtimes.

  • Library now multi-targets net8.0;net10.0 (<TargetFrameworks>); removed the inherited singular <TargetFramework> from Directory.Build.props so it can't override the plural form.
  • Internal sync primitive System.Threading.Lock (net9+) → object, the only API that wasn't available on net8 — every lock site uses the lock keyword, so behaviour is unchanged.
  • Version 0.1.10.2.0; CHANGELOG updated.

Spectre floors (Spectre.Console 0.56.0 / Spectre.Console.Cli 0.55.0) unchanged.

Verification

  • dotnet build -c Release — both net8.0 and net10.0 compile, 0 warnings / 0 errors (TreatWarningsAsErrors=true).
  • dotnet test — 32/32 pass (net10).
  • dotnet pack.nupkg contains both lib/net8.0/ and lib/net10.0/.

🤖 Generated with Claude Code

Add a net8.0 target alongside net10.0 so the package supports a broader
range of consuming runtimes. Switch the internal lock primitive from
System.Threading.Lock (net9+) to object so the same source compiles on
net8.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@StuartMeeks StuartMeeks merged commit 75bd9e5 into main Jun 20, 2026
3 checks passed
@StuartMeeks StuartMeeks deleted the release/0.2.0 branch June 20, 2026 01:52
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