jonathanpeppers / boots

boots is a .NET global tool for "bootstrapping" vsix & pkg files. Just "boots https://url/to/your/package"!
MIT License
86 stars 9 forks source link

Bump System.CommandLine from 2.0.0-beta1.20574.7 to 2.0.0-beta4.22272.1 #128

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

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.
jonathanpeppers commented 2 years ago

@dependabot rebase