Skip to content

Dependencies: Bump clap from 4.0.32 to 4.1.0

dependabot requested to merge dependabot-cargo-clap-4.1.0 into master

Bumps clap from 4.0.32 to 4.1.0.

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
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 commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports