Skip to content

Update packages, migrate to System.CommandLine 2.0.9 stable - #53

Merged
domsleee merged 2 commits into
mainfrom
chore/update-packages
Jun 10, 2026
Merged

domsleee merged 2 commits into
mainfrom
chore/update-packages

Conversation

@domsleee

@domsleee domsleee commented Jun 10, 2026 •

Copy link
Copy Markdown
Owner
  • System.CommandLine 2.0.0-beta4 -> 2.0.9 stable: migrated Program.cs to the GA API (SetAction/ParseResult.Invoke, mutable Subcommands/Aliases collections, DefaultValueFactory; the exception middleware is now a try/catch around Invoke with EnableDefaultExceptionHandler = false)
  • Serilog 4.3.1, Serilog.Sinks.Console 6.1.1, BenchmarkDotNet 0.15.8 (adds proper .NET 10 support), Microsoft.NET.Test.Sdk 18.6.0, Moq 4.20.72, System.Reactive 6.1.0, xunit.runner.visualstudio 3.1.5
  • LockChecker untouched - it has no stable release to move to

All 17 tests pass; help/usage output verified unchanged (the root command is now a named Command with explicit HelpOption/VersionOption, since the GA API derives RootCommand's name from the executable which would have shown ForceOps instead of forceops in usage lines).

domsleee and others added 2 commits June 10, 2026 20:01
* System.CommandLine 2.0.0-beta4 -> 2.0.9: migrate Program.cs to the GA API
  (SetAction/ParseResult, mutable collections, DefaultValueFactory; middleware
  replaced with try/catch around Invoke)
* Serilog 4.3.1, Serilog.Sinks.Console 6.1.1, BenchmarkDotNet 0.15.8,
  Microsoft.NET.Test.Sdk 18.6.0, Moq 4.20.72, System.Reactive 6.1.0,
  xunit.runner.visualstudio 3.1.5

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The GA API derives the root command name from the executable, which
shows "ForceOps" in usage lines. Use a named Command with explicit
HelpOption/VersionOption to preserve the previous lowercase name.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@domsleee
domsleee force-pushed the chore/update-packages branch from 3455dcb to 64a851b Compare June 10, 2026 10:01
@domsleee
domsleee merged commit 68eb748 into main Jun 10, 2026
2 checks passed
@domsleee
domsleee deleted the chore/update-packages branch June 10, 2026 11:38
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