chore: modernize to .NET 10 and Spectre.Console 0.55.2 - #38
Merged
Conversation
- Bump TFMs to net10.0 (libs, tests, samples); global.json to 10.0.108. - Pin Spectre.Console 0.55.2 (no wildcard) and Spectre.Console.ImageSharp 0.55.2. - Refresh tooling: MinVer 7.0.0, Threading.Analyzers 17.14.15, SourceLink.GitHub 10.0.300. - Refresh test deps: Test.Sdk 18.5.1, xunit 2.9.3, xunit.runner.visualstudio 3.1.5, Moq 4.20.72, coverlet 10.0.0. - Refresh sample deps: EF Core 10.0.8, M.E.DI 10.0.8, MiniProfiler 4.5.4, Bogus 35.6.5. - Relocate dotnet-tools.json to .config/; bump cake.tool 6.1.0, dotnet-example 5.0.0, replace dotnet-outdated with dotnet-outdated-tool 4.7.1. - CI: setup-dotnet@v4 (.NET 10), checkout/upload/download-artifact@v4, release-drafter@v6. - Replace hand-rolled TestableAnsiConsole/Input with Spectre.Console.Testing.TestConsole. - AnsiConsole.Render -> AnsiConsole.Write in samples (Render removed upstream).
This was referenced May 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
net10.0(libs, tests, all 6 samples) andglobal.jsonto10.0.108.0.55.2(was floating0.32.*, ~7 minors behind); pinsSpectre.Console.ImageSharp 0.55.2for samples.dotnet-tools.jsonto.config/and bumps tools (Cake 6.1.0, dotnet-example 5.0.0,dotnet-outdated-tool4.7.1).setup-dotnet@v4with .NET 10,checkout/upload-artifact/download-artifact@v4,release-drafter@v6.Source changes forced by Spectre API churn (0.32 → 0.55)
IAnsiConsole/IAnsiConsoleInputgrew new members (Profile,ExclusivityMode,Write(IRenderable),WriteAnsi,IsKeyAvailable, asyncReadKey, nullableReadKeyreturn). Deleted 130 LOC of hand-rolledTestableAnsiConsole/TestableConsoleInput; switched to the officialSpectre.Console.Testing.TestConsole(Spectre.Console.Testing 0.55.2).AnsiConsole.Render→AnsiConsole.Writein 5 sample call sites —Renderwas removed upstream.Public API of the published libraries: unchanged.
Test plan
dotnet --version→ 10.0.204 picked up via updatedglobal.json.dotnet tool restore→ cake/example/outdated installed from new.config/manifest.dotnet restore+dotnet build→ 0 errors across solution.dotnet test→ 1 passed, 1 skipped (existing skip).dotnet packfor both libs →.nupkgartifacts produced.iprogressandDataTable— output renders correctly.dotnet cakeend-to-end on CI (Cake jumped from 1.0-rc → 6.1.0; if it breaks, fall back to directdotnet build/test/packin the workflow).