sdttttt / gcr

📑 Compact specification git commit tool, it has a variety of practical small functions. (Inspired by git-cz on Node.js)
https://crates.io/crates/grc
The Unlicense
28 stars 6 forks source link

chore(deps): bump clap from 2.33.3 to 3.1.2 #103

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps clap from 2.33.3 to 3.1.2.

Release notes

Sourced from clap's releases.

v3.1.2

[3.1.2] - 2022-02-23

Fixes

  • (derive) Allow other attribute with a subcommand that has subcommands

Documentation

  • (examples) List example topics
  • (derive) Clarify syntax and relation to builder API

v3.1.1

[3.1.1] - 2022-02-21

Fixes

  • Track caller for ArgMatches assertions so the user more easily sees where they need to fix the call

v3.1.0

[3.1.0] - 2022-02-16

Compatibility

Changes in behavior of note that are not guaranteed to be compatible across releases:

  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (help) Pacman-style subcommands are now ordered the same as usage errors (#3470)
  • (help) Pacman-style subcommands use standard alternate syntax in usage (#3470)

Deprecations

  • clap::Command is now preferred over clap::App (#3089 in #3472)
    • clap::command! is now preferred over clap::app_from_crate (#3089 in #3474)
    • clap::CommandFactory::command is now preferred over clap::IntoApp::into_app (#3089 in #3473)
  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (error) Deprecate clap::AppSettings::WaitOnError, leaving it to the user to implement
  • (validation) clap::Command::subcommand_required(true).arg_required_else_help(true) is now preferred over clap::AppSettings::SubcommandRequiredElseHelp (#3280)
  • (builder) clap::AppSettings are nearly all deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::ArgSettings is deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::Arg::id and clap::ArgGroup::id are now preferred over clap::Arg::name and clap::ArgGroup::name (#3335)
  • (help) clap::Command::next_help_heading is now preferred over clap::Command::help_heading (#1807, #1553)
  • (error) clap::error::ErrorKind is now preferred over clap::ErrorKind (#3395)
  • (error) clap::Error::kind() is now preferred over clap::Error::kind
  • (error) clap::Error::context() is now preferred over clap::Error::info (#2628)

Note: All items deprecated in 3.0.0 are now hidden in the documentation. (#3458)

Features

... (truncated)

Changelog

Sourced from clap's changelog.

[3.1.2] - 2022-02-23

Fixes

  • (derive) Allow other attribute with a subcommand that has subcommands

Documentation

  • (examples) List example topics
  • (derive) Clarify syntax and relation to builder API

[3.1.1] - 2022-02-21

Fixes

  • Track caller for ArgMatches assertions so the user more easily sees where they need to fix the call

[3.1.0] - 2022-02-16

Compatibility

Changes in behavior of note that are not guaranteed to be compatible across releases:

  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (help) Pacman-style subcommands are now ordered the same as usage errors (#3470)
  • (help) Pacman-style subcommands use standard alternate syntax in usage (#3470)

Deprecations

  • clap::Command is now preferred over clap::App (#3089 in #3472)
    • clap::command! is now preferred over clap::app_from_crate (#3089 in #3474)
    • clap::CommandFactory::command is now preferred over clap::IntoApp::into_app (#3089 in #3473)
  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (error) Deprecate clap::AppSettings::WaitOnError, leaving it to the user to implement
  • (validation) clap::Command::subcommand_required(true).arg_required_else_help(true) is now preferred over clap::AppSettings::SubcommandRequiredElseHelp (#3280)
  • (builder) clap::AppSettings are nearly all deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::ArgSettings is deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::Arg::id and clap::ArgGroup::id are now preferred over clap::Arg::name and clap::ArgGroup::name (#3335)
  • (help) clap::Command::next_help_heading is now preferred over clap::Command::help_heading (#1807, #1553)
  • (error) clap::error::ErrorKind is now preferred over clap::ErrorKind (#3395)
  • (error) clap::Error::kind() is now preferred over clap::Error::kind
  • (error) clap::Error::context() is now preferred over clap::Error::info (#2628)

Note: All items deprecated in 3.0.0 are now hidden in the documentation. (#3458)

Features

  • (matches) Add clap::ArgMatches::value_source to determine what insert the value (#1345)
  • (help) Override derived display order with clap::Command::next_display_order (#1807)
  • (error) Show possible values when an argument doesn't have a value (#3320)

... (truncated)

Commits
  • 20dc667 chore: Release
  • 2f9cae8 docs: Update changelog
  • 0e0e867 Merge pull request #3505 from epage/subcommand
  • cb93764 fix(derive): Allow other attributes with subcommand that has subcommands
  • 15f43f8 refactor(ci): Move ui tests to Makefile
  • bf36c75 Merge pull request #3501 from nh13/patch-1
  • c13cd89 Fix link to contributing
  • a7b7d43 docs(derive): Call out 'Command' relationship
  • 77d2de0 Merge pull request #3499 from epage/doc
  • cb9cb25 style: Clean up
  • Additional commits viewable in compare view


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)
pull-request-quantifier-deprecated[bot] commented 2 years ago

This PR has 80 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

``` Label : Small Size : +54 -26 Percentile : 32% Total files changed: 2 Change summary by file extension: .lock : +53 -25 .toml : +1 -1 ``` > Change counts above are quantified counts, based on the [PullRequestQuantifier customizations](https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md).

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean: - Fast and predictable releases to production: - Optimal size changes are more likely to be reviewed faster with fewer iterations. - Similarity in low PR complexity drives similar review times. - Review quality is likely higher as complexity is lower: - Bugs are more likely to be detected. - Code inconsistencies are more likely to be detetcted. - Knowledge sharing is improved within the participants: - Small portions can be assimilated better. - Better engineering practices are exercised: - Solving big problems by dividing them in well contained, smaller problems. - Exercising separation of concerns within the code changes. #### What can I do to optimize my changes - Use the PullRequestQuantifier to quantify your PR accurately - Create a context profile for your repo using the [context generator](https://github.com/microsoft/PullRequestQuantifier/releases) - Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the `Excluded` section from your `prquantifier.yaml` context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your `prquantifier.yaml` context profile. - Only use the labels that matter to you, [see context specification](./docs/prquantifier-yaml.md) to customize your `prquantifier.yaml` context profile. - Change your engineering behaviors - For PRs that fall outside of the desired spectrum, review the details and check if: - Your PR could be split in smaller, self-contained PRs instead - Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR). #### How to interpret the change counts in git diff output - One line was added: `+1 -0` - One line was deleted: `+0 -1` - One line was modified: `+1 -1` (git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.


Was this comment helpful? :thumbsup:  :ok_hand:  :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.

dependabot[bot] commented 2 years ago

Superseded by #106.