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-beta4.22272.1 #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2022

Bumps System.CommandLine from 2.0.0-beta1.20574.7 to 2.0.0-beta4.22272.1.

Release notes

Sourced from System.CommandLine's releases.

System.CommandLine v2.0.0-beta3.22114.1

For details on the Beta 3 release, please see #1613.

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

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 2, 2022
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch 2 times, most recently from a1ec72e to ec28d2d Compare June 14, 2022 19:49
@jonathanpeppers
Copy link
Owner

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from ec28d2d to 3ec1e5d Compare August 3, 2022 05:31
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from 3ec1e5d to 122df80 Compare August 10, 2022 20:09
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from 122df80 to 51913d2 Compare August 30, 2022 20:37
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from 51913d2 to ebb652b Compare September 13, 2022 19:37
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from ebb652b to 3def4c3 Compare September 26, 2022 19:54
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch 2 times, most recently from 8790491 to 6da7cdd Compare November 10, 2022 17:17
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch 2 times, most recently from d35a830 to 798c84c Compare December 13, 2022 06:10
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from 798c84c to 6d0e1bc Compare December 14, 2022 23:33
@dependabot dependabot bot force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch 3 times, most recently from 40bd9cf to e83bd33 Compare February 21, 2023 23:14
Bumps [System.CommandLine](https://github.com/dotnet/command-line-api) from 2.0.0-beta1.20574.7 to 2.0.0-beta4.22272.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 force-pushed the dependabot/nuget/System.CommandLine-2.0.0-beta4.22272.1 branch from e83bd33 to ac84118 Compare March 8, 2023 20:29
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.

1 participant