Releases: natemcmaster/CommandLineUtils
4.1.1
How to get this update
Packages have been posted to these feeds:
NuGet.org
https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/4.1.1
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.1.1
GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils
What's Changed
- Fix unknown command throws System.InvalidOperationException: Enumeration already finished by @sallerga in #542
New Contributors
Full Changelog: v4.1.0...v4.1.1
4.1.0
How to get this update
Packages have been posted to these feeds:
NuGet.org
https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/4.1.0
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.1.0
GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils
What's Changed
- Upgrade ci.yml to latest actions by @natemcmaster in #523
- Update to net46 by @danmoseley in #526
- fix: don't set DefaultValue to empty string for
string[]
options by @natemcmaster in #540
New Contributors
- @danmoseley made their first contribution in #526
Full Changelog: v4.0.2...v4.1.0
4.0.2
Notes
See changes 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.2
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.0.2
GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils
4.0.1
Fixes
- @xoofx: use explicit constructors on validation attributes to workaround .NET 6 runtime trimming error (#491)
- @jakubqwe: support the Description field of VersionOptionFromMemberAttribute (#490)
See also 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.1
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.0.1
GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils
4.0.0
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
- [@natemcmaster]: change from Azure DevOps to GitHub workflows
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
4.0.0-beta.74
Fixes
@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)
Notes
Packages have been posted to these feeds:
NuGet.org
https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/4.0.0-beta.74
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.0.0-beta.74
GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils
4.0.0-beta.56
See changes in https://github.com/natemcmaster/CommandLineUtils/blob/main/CHANGELOG.md
Packages have been posted to these feeds:
NuGet.org
https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/4.0.0-beta.56
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/4.0.0-beta.56
GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=CommandLineUtils
3.1.0
Get the update from https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/3.1.0
Improvements
- @scott-xu: Show allowed values in help text (#369)
- @scott-xu: Generic Hosting: add overload of RunCommandLineApplicationAsync to support configuring of CommandLineApplication (#363)
- @danielmeza: implement API on host builder to fetch CommandLineContext from non DI contexts (#368)
- @hellfirehd and @cbcrouse: feature: add API to allow calling UseCommandLineApplication prior to Run*Async() (#409 and #415)
Bug fixes
- @natemcmaster: ensure clustering options is detected correctly when subcommands added via AddSubcommand (#393)
- @scott-xu: make UnrecognizedArgumentHandling per command scope (#371)
- @scott-xu: show allowed values in help text correctly when multiple AllowedValuesAttribute are used (#375)
- @scott-xu: show allowed values in help text for Nullable/ValueTuple<bool,T> option/argument (#390)
- @scott-xu: update help text to show allowed values from AllowedValues attribute instead of Enum values (#391)
Docs
- @chaami: Fix Readme.md on Prompt.GetYesNo (#402)
- @cuperman007 docs: added using statements to code sample in index.md (#384)
- @scott-xu: Fix broken links in docs (#377)
- @scott-xu: cleanup: add a period to end sentences for built-in descriptions (#364)
Other
- @natemcmaster: Change default branch to 'main' (#373)
- @natemcmaster: Stop code signing binaries and packages (#379)
- @natemcmaster: add dotnet-format to CI, and other code/project file cleanups
Changes:
- 9f57dfe Update changelog and releasenotes
- 9b91cfb Move PublicAPI to 'shipped'
- 2c3b8b5 cleanup: upgrade dependencies
- f5938c8 cleanup: further code deduplication on new hosting APIs (#416)
- 643f9c3 refactor: code deduplication and added/fixed tests for new hosting APIs (#415)
- 47d1194 feature: expand Microsoft.Extensions.Hosting support to allow work to be done prior to Run*Async() (#409)
- bcf20ed cleanup: update .editorconfig
- df0a511 cleanup: fixup more references to 'master'
- 7d705cc cleanup: upgrade Linux CI to latest ubuntu version (#412)
- 29ecc17 cleanup: upgrade test projects and CI to .NET 5 (#411)
See More
- 760247d fix: late bind parsers for attribute-discovered options & arguments (#398)
- 4f686fe fix: treat null as 'true' by default when parsing Nullable types on command options (#397)
This list of changes was auto generated.
3.1.0-rc.371
Changes:
- e621724 docs: update changelog.md and releasenotes for 3.1 release
- 2d6365e cleanup: update test dependencies
- 4b13f2e Fix Readme.md on Prompt.GetYesNo (#402)
This list of changes was auto generated.
3.1.0-beta.356
Changes:
- 14db834 Add dotnet-format to build.ps1
- c4547a6 cleanup: run dotnet-format on samples
- 0309d1c cleanup: exclude TestResults in solution explorer
- f160e87 cleanup: run code formatters and cleanups
- 21a73b3 fix: ensure clustering options is detected correctly when subcommands added via AddSubcommand (#393)
- 0c9fe6b fix: show allowed values in help text for Nullable/ValueTuple<bool,T> option/argument (#390)
- 569b913 fix: update help text to show allowed values from
AllowedValues
attribute instead of Enum values (#391)
This list of changes was auto generated.