Skip to content

4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Dec 01:04
· 25 commits to main since this release
1cb2c24

Features

  • [@scott-xu] and [@natemcmaster]: feature: add API for setting default value on options and arguments, and display them in help text (#389 and #420)
  • [@natemcmaster]: cleanup: make .Values read-only on CommandArgument/Option (#406)
  • [@natemcmaster]: Make options, arguments, and commands read-only collections on CommandLineApplication (#407)

Fixes

  • [@natemcmaster]: fix: pass the generic argument version in callback on .Option() and Argument() (#405)
  • [@natemcmaster]: add .NET Standard 2.1 and fix nullable type references (#424 and #425)
  • [@natemcmaster]: fix new CI to correctly publish symbols to nuget.org
  • [@scott-xu]: show option types in help text when OptionAttribute.Template is set (#429)
  • [@skirchner989]: change to not throw when a validator is not of type AttributeValidator (#431)
  • [@natemcmaster]: don't mask OperationCanceledException triggered by SIGINT ([#483])

Other

See more details in https://github.com/natemcmaster/CommandLineUtils/blob/main/CHANGELOG.md.

How to get this update

Packages have been posted to these feeds:

NuGet.org

https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/4.0.0
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.0.0

GitHub Package Registry

https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils