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

chore: bump clap from 4.0.30 to 4.1.0 #1494

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2023

Bumps clap from 4.0.30 to 4.1.0.

Release notes

Sourced from clap's releases.

v4.0.32

[4.0.32] - 2022-12-22

Fixes

  • (parser) When overriding required(true), consider args that conflict with its group

v4.0.31

[4.0.31] - 2022-12-22

Performance

  • Speed up parsing when a lot of different flags are present (100 unique flags)
Changelog

Sourced from clap's changelog.

[4.1.0] - 2023-01-13

Compatibility

MSRV changed to 1.64.0

For apps with custom --help and --version flags:

  • Descriptions for --help and --version changed

When apps have errors imitating clap's error style:

  • Error message style was changed, including
    • Moving away from "did you mean" to tips
    • Leading letter is lower case
    • "For more" added some punctuation

Features

  • ArgMatches::get_occurrences support for argument values to be grouped by their occurrence

Fixes

  • (derive) Allow upgrade_from when arguments / subcommands are explicitly marked as required
  • (help) Try be more clearer and succinct with --help and --version (also helps with overflow)
  • (error) Try to be more clearer and succinct with error messages
  • (error) Officially adopt an error style guide

[4.0.32] - 2022-12-22

Fixes

  • (parser) When overriding required(true), consider args that conflict with its group

[4.0.31] - 2022-12-22

Performance

  • Speed up parsing when a lot of different flags are present (100 unique flags)
Commits
  • 34d856b chore: Release
  • 889ca7a chore: Bump versions for 4.1
  • 2bafb9b docs(contrib): Define a compatibility policy for help/error output
  • a41ca2e docs: Update changelog
  • 523adc2 Merge pull request #4635 from epage/stablize
  • b4f111a feat: Stablize ArgMatches::get_occurrences
  • 72749a3 Merge pull request #4630 from eguiraud/patch-1
  • 8431461 docs: prefer ok_or to ok_or_else in README example
  • 37d03bb Merge pull request #4627 from tmccombs/macro-cleanup
  • 65f9e0d refactor(derive): Clean up unnecessary noop parsing
  • 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)

Bumps [clap](https://github.com/clap-rs/clap) from 4.0.30 to 4.1.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.0.30...clap_complete-v4.1.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@max-sixty
Copy link
Member

If anyone is up for a PR with a well-defined scope and "meditative cadence", resolving these would be helpful.

(On the downside, it doesn't lead to cool features, and it doesn't teach you that much about the compiler. But it is appreciated by the team)

Cargo.lock Outdated
@@ -540,7 +558,7 @@ version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94b38784f05c5e908bb8751e9b9f29fbcd470f636c0d0a76a0f90c0c823f3b68"
dependencies = [
"clap 4.0.30",
"clap 3.2.23",
Copy link
Contributor

@aj-bagwell aj-bagwell Jan 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have gone to 4.1.0 but cargo has a personal vendetta against me. I would submit a proper pull request but I'm on my phone.

@max-sixty
Copy link
Member

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 14, 2023

Superseded by #1508.

@dependabot dependabot bot closed this Jan 14, 2023
@dependabot dependabot bot deleted the dependabot/cargo/clap-4.1.0 branch January 14, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants