Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump System.CommandLine from 2.0.0-beta1.20574.7 to 2.0.0-beta3.22114.1 #5

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 7, 2022

Bumps System.CommandLine from 2.0.0-beta1.20574.7 to 2.0.0-beta3.22114.1.

Release notes

Sourced from System.CommandLine's releases.

System.CommandLine v2.0.0-beta2.21617.1

For details on the Beta 2 release, please see #1537.

System.CommandLine v2.0.0-beta1.21216.1

What's new

It's been a while since our last beta release because as we approach the 2.0 milestone, we're making more breaking changes, and we're trying to group them into fewer releases in order to minimize churn.

System.CommandLine

  • Added an Argument.LegalFileNamesOnly extension method to improve file validations. (Thanks, @​AronParker !)

  • Made significant improvements to HelpBuilder to enable more fine-grained customization of help output. (Thanks, @​Keboo!)

  • Added an optional description parameter to an Argument<T> constructor to match Option<T>. (Thanks, @​database64128!)

  • CommandHandler.Create can now specify abstract methods, which can vary by the derived class at invocation time. (Thanks, @​ycrumeyrolle!)

  • Improved support for POSIX bundled arguments when no delimiter is used. (Thanks, @​sfoslund)

  • Ahora se puede localizar la ayuda (pero todavia se necesita marcar -h para pedirla 🤔). (Thanks, @​Keboo!)

  • Added XML documentation for a number of types. (Thanks, @​pieter-venter!)

  • Added a ParseResult parameter to Symbol.GetSuggestions and to the signature for SuggestDelegate. The GetSuggestions change is not a source-breaking change because we've also added an extension method supporting the older signature. (Thanks, @​thoemmi!)

  • Fixed a bug where trailing spaces would break response file parsing. (Thanks, @​hackf5!)

  • Introduced IIdentifierSymbol, which Option and Command implement, but Argument does not.

  • Enabled customization of exit codes on error by passing an exitErrorCode argument to various CommandLineBuilder methods: UseExceptionHandler, UseParseDirective, UseParseErrorReporting, and UseVersionOption. (Thanks, @​Keboo!)

  • Custom argument parsers using ParseArgument<T> can now partially consume tokens using ArgumentResult.OnlyTake(int), allowing other symbols to consume the remaining tokens.

  • CommandHandler.Create now provides overloads for up to 16 parameters. We used to go to 11, but it wasn't enough.

  • The debug directive now requires opt-in from the user, in order to prevent it from being used maliciously to block a process. (Thanks, @​Keboo!)

  • Numerous performance improvements, benefitting speed and memory footprint. (Thanks, @​paulomorgado!) Here's a sample:

    BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
    Intel Core i7-6700 CPU 3.40GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
    .NET Core SDK=5.0.300-preview.21180.15
    [Host]    : .NET Core 5.0.5 (CoreCLR 5.0.521.16609, CoreFX 5.0.521.16609), X64 RyuJIT
    MediumRun : .NET Core 5.0.5 (CoreCLR 5.0.521.16609, CoreFX 5.0.521.16609), X64 RyuJIT
    Job=MediumRun  Force=True  IterationCount=15
    LaunchCount=2  RunStrategy=ColdStart  WarmupCount=10

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [System.CommandLine](https://github.com/dotnet/command-line-api) from 2.0.0-beta1.20574.7 to 2.0.0-beta3.22114.1.
- [Release notes](https://github.com/dotnet/command-line-api/releases)
- [Changelog](https://github.com/dotnet/command-line-api/blob/main/docs/History.md)
- [Commits](https://github.com/dotnet/command-line-api/commits)

---
updated-dependencies:
- dependency-name: System.CommandLine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 7, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 3, 2022

Superseded by #6.

@dependabot dependabot bot closed this Jun 3, 2022
@dependabot dependabot bot deleted the dependabot/nuget/System.CommandLine-2.0.0-beta3.22114.1 branch June 3, 2022 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants