Skip to content

Releases: natemcmaster/CommandLineUtils

5.1.0

05 Apr 06:09
00c331e

Choose a tag to compare

How to get this update

Packages have been posted to these feeds:

NuGet.org

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

GitHub Package Registry

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

What's Changed

  • Bump the nuget-patch group with 6 updates by @dependabot[bot] in #594
  • chore: Bump the github-actions group with 3 updates by @dependabot[bot] in #599
  • Bump Microsoft.Extensions.DependencyInjection and 2 others by @dependabot[bot] in #598
  • chore: Bump codecov/codecov-action from 5 to 6 in the github-actions group by @dependabot[bot] in #602
  • Add support for keyed DI and update target frameworks by @Chris-Wolfgang in #560
  • Prep 5.1 release by @natemcmaster in #606
  • fix: validate dotnet path exists before returning from TryFindDotNetExePath by @natemcmaster in #607
  • fix: resolve nullable type lookup bypassing custom value parsers by @natemcmaster in #608

Full Changelog: v5.0.1...v5.1.0

5.0.1

08 Feb 06:09

Choose a tag to compare

How to get this update

Packages have been posted to these feeds:

NuGet.org

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

GitHub Package Registry

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

What's Changed

Full Changelog: v5.0.0...v5.0.1

5.0.0

21 Jan 02:03

Choose a tag to compare

How to get this update

Packages have been posted to these feeds:

NuGet.org

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

GitHub Package Registry

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

What's Changed

New Contributors

Full Changelog: v4.1.1...v5.0.0

5.0.0-beta.348

12 Jan 02:02

Choose a tag to compare

5.0.0-beta.348 Pre-release
Pre-release

How to get this update

Packages have been posted to these feeds:

NuGet.org

https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/5.0.0-beta.348
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/5.0.0-beta.348

GitHub Package Registry

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

What's Changed

New Contributors

Full Changelog: v5.0.0-beta.325...v5.0.0-beta.348

5.0.0-beta.325

28 Dec 01:53

Choose a tag to compare

5.0.0-beta.325 Pre-release
Pre-release

How to get this update

Packages have been posted to these feeds:

NuGet.org

https://nuget.org/packages/McMaster.Extensions.CommandLineUtils/5.0.0-beta.325
https://nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/5.0.0-beta.325

GitHub Package Registry

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

What's Changed

New Contributors

Full Changelog: v4.1.1...v5.0.0-beta.325

4.1.1

19 Feb 05:02
10d0155

Choose a tag to compare

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

26 Aug 05:11

Choose a tag to compare

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

New Contributors

Full Changelog: v4.0.2...v4.1.0

4.0.2

19 Nov 23:10
2193138

Choose a tag to compare

4.0.1

01 Feb 00:50
171cf80

Choose a tag to compare

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

27 Dec 01:04
1cb2c24

Choose a tag to compare

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