From a23d335fb4148058cba106a8acda8fe37fe82935 Mon Sep 17 00:00:00 2001 From: Stuart Meeks Date: Sat, 20 Jun 2026 01:42:01 +0000 Subject: [PATCH] v0.2.0: multi-target net8.0 alongside net10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Retarget the package from net10.0-only to net8.0;net10.0 so .NET 8 CLIs can consume it directly. No API or behaviour changes — every dependency already ships net8.0 assets and no net9+-only APIs are used. - src csproj: TargetFramework -> TargetFrameworks net8.0;net10.0; bump 0.1.10 -> 0.2.0 - Directory.Build.props: drop the singular TargetFramework so TargetFrameworks is honoured (tests/demo declare their own TFM) - CHANGELOG: 0.2.0 entry Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 8 ++++++++ Directory.Build.props | 1 - .../NextIteration.SpectreConsole.SelfUpdate.csproj | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d997f58..919371f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [0.2.0] — 2026-06-20 + +### Changed + +- **The package now multi-targets `net8.0` alongside `net10.0`** (previously `net10.0` only). .NET 8 CLIs can now consume the library directly instead of being forced onto the latest runtime. No API or behaviour changes — every public surface and feature is identical across both targets, and all dependencies (`Microsoft.Extensions.*`, `Spectre.Console`, `Spectre.Console.Cli`) already ship `net8.0` assets. The produced `.nupkg` carries both `lib/net8.0/` and `lib/net10.0/` folders. + +--- + ## [0.1.10] — 2026-06-10 ### Changed diff --git a/Directory.Build.props b/Directory.Build.props index e844269..08993bb 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,5 @@ - net10.0 enable true Stuart Meeks diff --git a/src/NextIteration.SpectreConsole.SelfUpdate/NextIteration.SpectreConsole.SelfUpdate.csproj b/src/NextIteration.SpectreConsole.SelfUpdate/NextIteration.SpectreConsole.SelfUpdate.csproj index 85a1570..6632e0f 100644 --- a/src/NextIteration.SpectreConsole.SelfUpdate/NextIteration.SpectreConsole.SelfUpdate.csproj +++ b/src/NextIteration.SpectreConsole.SelfUpdate/NextIteration.SpectreConsole.SelfUpdate.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0;net10.0 enable enable en @@ -11,7 +11,7 @@ NextIteration.SpectreConsole.SelfUpdate - 0.1.10 + 0.2.0 Stuart Meeks Self-update for Spectre.Console CLIs: pluggable update sources (GitHub Releases over HTTP, GitHub Releases via gh CLI for private repos, generic HTTPS manifest, custom), SHA-256 verification, atomic file swap, and a drop-in `update` command. true