Skip to content

Releases: natemcmaster/CommandLineUtils

3.1.0-beta.336

28 Aug 06:35
497f598
Compare
Choose a tag to compare
3.1.0-beta.336 Pre-release
Pre-release

Changes:

  • 497f598 fix: show allowed values in help text correctly when multiple AllowedValuesAttribute are used (#375)
  • 17476ab fix: make UnrecognizedArgumentHandling per command scope (#371)
  • e556ca6 docs: added using statements to code sample in index.md (#384)
  • 3c9dcee Stop code signing binaries and packages
  • 59781ae Enable nullability annotations in public API docs
  • a40c932 Fix broken links in docs (#377)
  • e22e3ed Change default branch to 'main' (#373)
  • 7bf9c0d Show allowed values in help text
  • 68a3a7b feature: implement API on host builder to fetch CommandLineContext from non DI contexts (#368)
  • 5f9e167 feature, generic-host: add overload of RunCommandLineApplicationAsync to support configuring of CommandLineApplication (#363)
See More
  • 6e919b6 cleanup: add a period to end sentences for built-in descriptions (#364)
  • 2e50a14 Update version to 3.1.0

This list of changes was auto generated.

3.0.0

29 Mar 22:14
Compare
Choose a tag to compare

See changes since 2.6.0

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

Improvements

  • @AlexeyEvlampiev - implement support for GUID command line options (#333) and any other type that TypeConverter supports (#62)
  • @vpkopylov - Added support for using the 'builder API' with generic host (#351)
  • @natemcmaster - Disabled the pager for help text by default. To re-enable, set UsePagerForHelpText = true. (#346)
  • @natemcmaster - Fix PlatformNotSupportedException on Xamarin of macOS (#344)

Breaking changes

See https://natemcmaster.github.io/CommandLineUtils/v3.0/upgrade-guide.html for more details.

  • Fix #251 by @mattnischan - remove API that was marked as obsolete in 2.x releases
  • Fix #294 by @natemcmaster - change dependencies on McMaster.Extensions.Hosting.CommandLine to just use Microsoft.Extensions.Hosting.Abstractions
  • Fix #337 by @natemcmaster - removed .NET Standard 1.6 target from library

3.0.0 Release Candidate

21 Mar 22:28
Compare
Choose a tag to compare
Pre-release

Other than documentation and release note changes, I'm not planning anything else unless I receive more feedback about issues.

https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/3.0.0-rc.289
https://www.nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/3.0.0-rc.289

Changes:

  • 7281ee9 Prepare 3.0 RC release
  • f3a4725 fix: suppress PlatformNotSupportedException on Xamarin of macOS
  • 294a829 Minor cleanup and update release notes
  • accdd6c feature: support using builder API with generic host (#351)
  • cf7506c Merge branch 'release/2.x'
  • 2eb7bfa fixup: cleanup obsolete messages for throwOnUnexpectedArg

This list of changes was auto generated.

2.6.0

08 Mar 19:15
2eb7bfa
Compare
Choose a tag to compare

This release takes steps to prepare for the 3.0 release by marking more API as obsolete that will be removed in the next major version.

This release contains no other major functional changes from 2.5.

Changes:

  • 2eb7bfa fixup: cleanup obsolete messages for throwOnUnexpectedArg
  • 37da4ee fix: obsolete the public constructor on PhysicalConsole in favor of PhysicalConsole.Singleton
  • 42b8994 refactor: obsolete throwOnUnexpectedArg in favor of UnrecognizedArgumentHandling enum
  • 11e2079 Bump version to 2.6.0

This list of changes was auto generated.

3.0.0-alpha.268

09 Mar 01:06
2b502c4
Compare
Choose a tag to compare
3.0.0-alpha.268 Pre-release
Pre-release

First pre-release of 3.0

https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/3.0.0-alpha.268
https://www.nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/3.0.0-alpha.268

Changes:

  • 2b502c4 Support collecting all unrecognized arguments after parsing known args (#348)
  • 1769146 Merge branch 'release/2.x'
  • dc40fab Update CHANGELOG.md
  • b9eb55b fix: set UsePagerForHelpText to false by default (#347)
  • 53e19fc cleanup: simplify implementation of TypeDescriptor support and make code formatting consistent
  • dc17772 feature: support TypeConverter for parsing types like GUID, DateTime, and others as command line options and (#345)
  • c18ac70 feature: add UsePagerForHelpText to CommandAttribute. (#343)
  • ea347af fix: make VersionOptionFromAssemblyAttributes an extension method, as originally intended [ #297 ]
  • e07893a fix: remove empty HandleParseResult override
  • e61c44e fix: actually make PhysicalConsole a singleton
See More
  • 63aa24a Remove more obsolete API - throwOnUnexpectedArgs
  • ebf05f5 Merge branch 'release/2.x'
  • 1de7d64 cleanup: remove usages of TypeInfo
  • 578f662 Remove .NET Standard 1.6 target framework
  • eb4b8e2 fix: only reference hosting abstractions from Hosting.CommandLine (#336)
  • c5984b5 Update CHANGELOG, run code formatter, and remove some duplicate code
  • dba5ef4 cleanup: remove obsolete APIs (#335)
  • b63f5e6 Merge branch 'release/2.x'
  • 0a473a9 Bump version to 3.0 (#331)

This list of changes was auto generated.

2.5.1

07 Feb 06:10
Compare
Choose a tag to compare

Changes:

  • fa06ab9 fix: lazy load command object types to reduce unnecessary allocations
  • 61072e4 infra: add Coverlet for code coverage in tests (#328)
  • 693635a Update README.md
  • 4542d91 docs: fix link to v2.5 API from toolbar

This list of changes was auto generated.

2.5.0

02 Jan 04:21
83b28f4
Compare
Choose a tag to compare

Thanks to those who contributed to this release!

Changes:

  • 83b28f4 docs: update documentation for 2.5 (#325)
  • 1aa5b8c docs: update package metadata and release notes (#324)
  • fcfd448 fix: update help text generator to display HelpOption correctly (#323)
  • 4fe7d70 infra: update dependencies and test runtimes (#322)
  • 64fdff7 docs: fix all tags in XML docs and reformat code (#321)
  • 308de01 docs: update comments on DotNetExe.cs (#319)
  • 63e5728 Create CODE_OF_CONDUCT.md (#318)
  • cebb8c1 Update CONTRIBUTING.md (#314)
  • 0a927cd Delete pull_request_template.md (#317)
  • 42f6c4a Update stale.yml to leave issues open at least 1 year (#316)
See More
  • 0b52859 Make ParserConfig internal (#313)
  • 28c396b Build for macOS on CI
  • 9329cfb Update release notes
  • e93a7fc fix: update generated help to display [command] first then [options] (#308)
  • 1724fd2 fix: don't allow console with to be zero or less [ #306 ]
  • bde6cc7 Merge branch 'release/2.4.4'
  • 3084291 Update issue templates
  • bbd8242 docs: fix broken links in changelog
  • 7aba376 Merge branch 'release/2.4.3'
  • 1fefc73 Fixed small typo (Structing -> Structuring) in README (#299)
  • e856fed feature: add support for configuring the characters used to separate option name and value [ #252 ]
  • 0615346 Update changelog and release notes
  • 3b5d9aa docs: update options.md (#291)
  • 0a717eb Update azure-pipelines.yml
  • b92f20e feature: add support for private base type options (#288) [ #287 ]
  • b5f1af3 Update CHANGELOG.md
  • 6792c96 Merge branch 'release/2.4.2'
  • 585b2a6 Update MSBuild and project settings
  • baddfff Bump FluentAssertions from 5.7.0 to 5.9.0
  • c03d381 Bump Microsoft.SourceLink.GitHub
  • 30e486b feat: show enum values as argument in help text (#276) [ #92 ]
  • 872dc26 Update CHANGELOG.md
  • 849b592 Update CHANGELOG.md

This list of changes was auto generated.

2.4.4

11 Nov 16:56
3c2a490
Compare
Choose a tag to compare

Fixes a regression introduced in 2.4.2 which caused Ctrl+C handling not to terminate the process quickly.

Changes:

This list of changes was auto generated.

2.4.3

01 Nov 04:07
7cee170
Compare
Choose a tag to compare

Thanks to @thomaslevesque for the patch!

Changes:

  • 7cee170 docs: update release notes and changelog
  • 49169f8 fix: deadlock when calling Environment.Exit (#301)
  • 4f4b644 Bump package to 2.4.3

This list of changes was auto generated.

2.4.2

24 Sep 16:16
Compare
Choose a tag to compare

Changes:

  • 3a86cab fix: avoid deadlock in the thread invoking the CancelKeyPress handler
  • 3e43ac7 Update version to 2.4.2

This list of changes was auto generated.