Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 14, 2024

This PR contains the following updates:

Package Type Update Change
clap dependencies minor 4.2.7 -> 4.5.53

Release Notes

clap-rs/clap (clap)

v4.5.53

Compare Source

Features
  • Add default_values_if, default_values_ifs

v4.5.52

Compare Source

Fixes
  • Don't panic when args_conflicts_with_subcommands conflicts with an ArgGroup

v4.5.51

Compare Source

Fixes
  • (help) Correctly calculate padding for short flags that take a value
  • (help) Don't panic on short flags using ArgAction::Count

v4.5.50

Compare Source

Features
  • Accept Cow where String and &str are accepted

v4.5.49

Compare Source

Fixes
  • (help) Correctly wrap when ANSI escape codes are present

v4.5.48

Compare Source

Documentation
  • Add a new CLI Concepts document as another way of framing clap
  • Expand the typed_derive cookbook entry

v4.5.47

Compare Source

Features
  • Added impl FromArgMatches for ()
  • Added impl Args for ()
  • Added impl Subcommand for ()
  • Added impl FromArgMatches for Infallible
  • Added impl Subcommand for Infallible
Fixes
  • (derive) Update runtime error text to match clap

v4.5.46

Compare Source

Features
  • Expose StyledStr::push_str

v4.5.45

Compare Source

Fixes
  • (unstable-v5) ValueEnum variants now use the full doc comment, not summary, for PossibleValue::help

v4.5.44

Compare Source

Features
  • Add Command::mut_subcommands

v4.5.43

Compare Source

Fixes
  • (help) In long help, list Possible Values before defaults, rather than after, for a more consistent look

v4.5.42

Compare Source

Fixes
  • Include subcommand visible long aliases in --help

v4.5.41

Compare Source

Features
  • Add Styles::context and Styles::context_value to customize the styling of [default: value] like notes in the --help

v4.5.40

Compare Source

Features
  • Support quoted ids in arg!() macro (e.g. arg!("check-config": ...))

v4.5.39

Compare Source

Fixes
  • (help) Show short flag aliases before long
  • (help) Merge the short and long flag alias lists

v4.5.38

Compare Source

Fixes
  • (help) When showing aliases, include leading -- or -

v4.5.37

Compare Source

Features
  • Added ArgMatches::try_clear_id()

v4.5.36

Compare Source

Fixes
  • (help) Revert 4.5.35's "Don't leave space for shorts if there are none" for now

v4.5.35

Compare Source

Fixes
  • (help) Align positionals and flags when put in the same help_heading
  • (help) Don't leave space for shorts if there are none

v4.5.34

Compare Source

Fixes
  • (help) Don't add extra blank lines with flatten_help(true) and subcommands without arguments

v4.5.33

Compare Source

Fixes
  • (error) When showing the usage of a suggestion for an unknown argument, don't show the group

v4.5.32

Compare Source

Features
  • Add Error::remove
Documentation
  • (cookbook) Switch from humantime to jiff
  • (tutorial) Better cover required vs optional
Internal
  • Update pulldown-cmark

v4.5.31

Compare Source

Features
  • Add ValueParserFactory for Saturating<T>

v4.5.30

Compare Source

Fixes
  • (assert) Allow num_args(0..=1) to be used with SetTrue
  • (assert) Clean up rendering of takes_values assertions

v4.5.29

Compare Source

Fixes
  • Change ArgMatches::args_present so not-present flags are considered not-present (matching the documentation)

v4.5.28

Compare Source

Features
  • (derive) Unstable support for full markdown syntax for doc comments, enabled with unstable-markdown

v4.5.27

Compare Source

Documentation
  • Iterate on tutorials and reference based on feedback

v4.5.26

Compare Source

Fixes
  • (error) Reduce binary size with the suggestions feature

v4.5.25

Compare Source

Fixes
  • (help) Reduce binary size

v4.5.24

Compare Source

Fixes
  • (parser) Correctly handle defaults with ignore_errors(true) and when a suggestion is provided for an unknown argument

v4.5.23

Compare Source

Fixes
  • (parser) When check allow_negative_numbers, allow E again

v4.5.22

Compare Source

Fixes
  • (assert) Catch bugs with arguments requiring themself

v4.5.21

Compare Source

Fixes
  • (parser) Ensure defaults are filled in on error with ignore_errors(true)

v4.5.20

Compare Source

Features
  • (unstable) Add CommandExt

v4.5.19

Compare Source

Internal
  • Update dependencies

v4.5.18

Compare Source

Features
  • (builder) Expose Arg::get_display_order and Command::get_display_order

v4.5.17

Compare Source

Fixes
  • (help) Style required argument groups
  • (derive) Improve error messages when unsupported fields are used

v4.5.16

Compare Source

Fixes
  • (derive) Improve error messages when derive feature is missing

v4.5.15

Compare Source

Compatiblity
  • (unstable-ext) Arg::remove changed return types
Fixes
  • (unstable-ext) Make Arg::remove return the removed item

v4.5.14

Compare Source

Features
  • (unstable-ext) Added Arg::add for attaching arbitrary state, like completion hints, to Arg without Arg knowing about it

v4.5.13

Compare Source

Fixes
  • (derive) Improve error message when #[flatten]ing an optional #[group(skip)]
  • (help) Properly wrap long subcommand descriptions in help

v4.5.12

Compare Source

v4.5.11

Compare Source

v4.5.10

Compare Source

v4.5.9

Compare Source

Fixes
  • (error) When defining a custom help flag, be sure to suggest it like we do the built-in one

v4.5.8

Compare Source

Fixes
  • Reduce extra flushes

v4.5.7

Compare Source

Fixes
  • Clean up error message when too few arguments for num_args

v4.5.6

Compare Source

v4.5.5

Compare Source

Features
  • Add default_values_if, default_values_ifs

v4.5.4

Compare Source

Fixes
  • (help) Correctly wrap when ANSI escape codes are present

v4.5.3

Compare Source

Fixes
  • (help) Show short flag aliases before long
  • (help) Merge the short and long flag alias lists

v4.5.2

Compare Source

Fixes
  • Change ArgMatches::args_present so not-present flags are considered not-present (matching the documentation)

v4.5.1

Compare Source

Internal
  • Update dependencies

v4.5.0

Compare Source

Compatibility
  • Update MSRV to 1.74

v4.4.18

Compare Source

Fixes
  • (error) When lacking usage feature, ensure the list of required arguments is unique

v4.4.17

Compare Source

Fixes
  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15

v4.4.16

Compare Source

Fixes
  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color

v4.4.15

Compare Source

Fixes
  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags

v4.4.14

Compare Source

Documentation
  • Fix find cookbook entry to allow repeats of flags/options
Features
  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags

v4.4.13

Compare Source

Documentation
  • Fix link to structopt migration guide

v4.4.12

Compare Source

Performance
  • Only ask TypedValueParser for possible values if needed

v4.4.11

Compare Source

Features
  • Add Command::mut_group

v4.4.10

Compare Source

Documentation
  • Link out to changelog
  • Cross link derive's attribute reference to derive tutorial

v4.4.9

Compare Source

Fixes
  • (help) Show correct Command::about under flattened headings
  • (help) Respect hide when flattening subcommands

v4.4.8

Compare Source

Features
  • Add Command::flatten_help to allow git stash -h like help for subcommands

v4.4.7

Compare Source

Performance
  • Reduced code size

v4.4.6

Compare Source

Internal
  • Upgrade anstream

v4.4.5

Compare Source

Fixes
  • (parser) When inferring subcommand name or long_flag, allow ambiguous-looking matches that unambiguously map back to the same command
  • (parser) When inferring subcommand long_flag, don't panic
  • (assert) Clarify what action is causing a positional that doesn't set values which is especially useful for derive users

v4.4.4

Compare Source

Internal
  • Update terminal_size to 0.3

v4.4.3

Compare Source

Documentation
  • (derive) Clarify use of attributes within the tutorial
  • Split sections in the builder and derive tutorials into separate modules

v4.4.2

Compare Source

Performance
  • Improve build times by removing once_cell dependency

v4.4.1

Compare Source

Fixes
  • (error) When lacking usage feature, ensure the list of required arguments is unique

v4.4.0

Compare Source

compatibility
  • update msrv to 1.70.0

v4.3.24

Compare Source

Fixes
  • Ensure column padding is preserved in --help with custom templates

v4.3.23

Compare Source

Fixes
  • Fixed UnknownArgumentValueParser to not error on flag's absence

v4.3.22

Compare Source

Features
  • Add UnknownArgumentValueParser for injecting errors for improving the experience with errors

v4.3.21

Compare Source

Features
  • Expose TryMapValueParser so the type can be named

v4.3.20

Compare Source

Features
  • Command::mut_args for modifying all arguments en masse

v4.3.19

Compare Source

Fixes
  • (parse) Respect value_terminator even in the presence of later multiple-value positional arguments

v4.3.18

Compare Source

Fixes
  • (parse) Suggest -- in fewer places where it won't work

v4.3.17

Compare Source

Fixes
  • (help) Address a regression in wrapping PossibleValue descriptions in --help

v4.3.16

Compare Source

Fixes
  • Don't assert when stateful value parsers fail on defaults (e.g. checking if a path exists)

v4.3.15

Compare Source

Features
  • (unstable-styles) Re-export anstyle
Documentation
  • (unstable-styles) Provide more examples

v4.3.14

Compare Source

Features
  • ArgAction::HelpShort and ArgAction::HelpLong for explicitly specifying which style of help to display
Fixes
  • Skip [OPTIONS] in usage if a help or version ArgAction is used

v4.3.13

Compare Source

v4.3.12

Compare Source

Fixes
  • (derive) Don't error on enum variant field attributes

v4.3.11

Compare Source

Features
  • (derive) Support fields wrapped in num::Wrapping, Box, or Arc
  • (derive) Support Box<str>, Box<OsStr>, and Box<Path>

v4.3.10

Compare Source

Performance
  • Drop a dependency, reducing binary size by 1.3 KiB

v4.3.9

Compare Source

Fixes
  • Command::ignore_errors no longer masks help/version

v4.3.8

Compare Source

Fixes
  • Error on ambiguity with infer_long_arg, rather than arbitrarily picking one, matching the documentation and subcommand's behavior

v4.3.7

Compare Source

Documentation
  • Further clarify magic behavior in derive tutorial
  • Further clarify derive API's relationship to builder within the tutorial

v4.3.6

Compare Source

Documentation
  • Suggest clio

v4.3.5

Compare Source

  • ColorChoice::possible_values is added to simplify things for builder users
Fixes
  • ColorChoice::to_possible_value no longer includes descriptions, encouraging shorter help where possible

v4.3.4

Compare Source

Features
  • Add Error::exit_code

v4.3.3

Compare Source

Features
  • Command::defer for delayed initialization of subcommands to reduce startup times of large applications like deno

v4.3.2

Compare Source

Fixes
  • Ensure column padding is preserved in --help with custom templates

v4.3.1

Compare Source

Fixes
  • (parse) Respect value_terminator even in the presence of later multiple-value positional arguments

v4.3.0

Compare Source

Fixes
  • (assert) Allow multiple, value-terminated, positional arguments
  • (assert) Clear up language on last assertion
  • (parser) Correctly assign values to arguments when using multiple, value-termianted, positional arguments
  • (parser) Ensure value_terminator has higher precedence than allow_hyphen_values
  • (help) Only use next-line-help on subcommand list when explicitly specified, not just with --help
  • (help) Correctly align possible values list
  • (help) Don't waste code, vertical space in moving possible value descriptions to next line

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 4712ba6 to d9f0a98 Compare July 23, 2024 16:15
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.9 fix(deps): update rust crate clap to v4.5.10 Jul 23, 2024
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.10 fix(deps): update rust crate clap to v4.5.11 Jul 25, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch 2 times, most recently from 297a769 to 7d06101 Compare July 31, 2024 18:17
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.11 fix(deps): update rust crate clap to v4.5.12 Jul 31, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 7d06101 to 9433139 Compare August 1, 2024 00:15
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.12 fix(deps): update rust crate clap to v4.5.13 Aug 1, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 9433139 to 53f5d6d Compare August 8, 2024 16:58
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.13 fix(deps): update rust crate clap to v4.5.14 Aug 8, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 53f5d6d to f6da3c9 Compare August 10, 2024 01:44
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.14 fix(deps): update rust crate clap to v4.5.15 Aug 10, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from f6da3c9 to 90f3b0c Compare August 16, 2024 00:53
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.15 fix(deps): update rust crate clap to v4.5.16 Aug 16, 2024
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.16 fix(deps): update rust crate clap to v4.5.17 Sep 4, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch 2 times, most recently from 0419ef8 to f3cf087 Compare September 20, 2024 20:27
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.17 fix(deps): update rust crate clap to v4.5.18 Sep 20, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from f3cf087 to 0e419cd Compare October 1, 2024 18:34
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.18 fix(deps): update rust crate clap to v4.5.19 Oct 1, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 0e419cd to 6c9e6a1 Compare October 8, 2024 15:13
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.19 fix(deps): update rust crate clap to v4.5.20 Oct 8, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 6c9e6a1 to e32c0f4 Compare November 13, 2024 22:40
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.20 fix(deps): update rust crate clap to v4.5.21 Nov 13, 2024
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.21 fix(deps): update rust crate clap to v4.5.22 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch 2 times, most recently from ff8ea60 to 86c8cc8 Compare December 5, 2024 23:32
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.22 fix(deps): update rust crate clap to v4.5.23 Dec 5, 2024
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 86c8cc8 to dcbbbfb Compare January 7, 2025 20:20
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.23 fix(deps): update rust crate clap to v4.5.24 Jan 7, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 019b601 to 8a0acc0 Compare June 9, 2025 20:26
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.39 fix(deps): update rust crate clap to v4.5.40 Jun 9, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 8a0acc0 to b759df1 Compare July 10, 2025 01:46
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.40 fix(deps): update rust crate clap to v4.5.41 Jul 10, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from b759df1 to 963173e Compare July 30, 2025 05:38
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.41 fix(deps): update rust crate clap to v4.5.42 Jul 30, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 963173e to d008f93 Compare August 6, 2025 17:15
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.42 fix(deps): update rust crate clap to v4.5.43 Aug 6, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from d008f93 to b4f7d44 Compare August 11, 2025 21:08
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.43 fix(deps): update rust crate clap to v4.5.44 Aug 11, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from b4f7d44 to 338257c Compare August 12, 2025 21:08
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.44 fix(deps): update rust crate clap to v4.5.45 Aug 12, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 338257c to da6bb10 Compare August 26, 2025 17:37
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.45 fix(deps): update rust crate clap to v4.5.46 Aug 26, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from da6bb10 to 6b1ef84 Compare September 6, 2025 22:49
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.46 fix(deps): update rust crate clap to v4.5.47 Sep 6, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 6b1ef84 to 6ef5d6e Compare September 19, 2025 21:57
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.47 fix(deps): update rust crate clap to v4.5.48 Sep 19, 2025
@renovate renovate bot changed the title fix(deps): update rust crate clap to v4.5.48 chore(deps): update rust crate clap to v4.5.48 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 6ef5d6e to 81e8e66 Compare October 13, 2025 16:30
@renovate renovate bot changed the title chore(deps): update rust crate clap to v4.5.48 chore(deps): update rust crate clap to v4.5.49 Oct 13, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 81e8e66 to d120e96 Compare October 20, 2025 17:56
@renovate renovate bot changed the title chore(deps): update rust crate clap to v4.5.49 chore(deps): update rust crate clap to v4.5.50 Oct 20, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from d120e96 to 1fe9ac3 Compare October 29, 2025 23:39
@renovate renovate bot changed the title chore(deps): update rust crate clap to v4.5.50 chore(deps): update rust crate clap to v4.5.51 Oct 29, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from 1fe9ac3 to a9b682c Compare November 18, 2025 04:01
@renovate renovate bot changed the title chore(deps): update rust crate clap to v4.5.51 chore(deps): update rust crate clap to v4.5.52 Nov 18, 2025
@renovate renovate bot force-pushed the renovate/clap-4.x-lockfile branch from a9b682c to 0ca459b Compare November 20, 2025 01:45
@renovate renovate bot changed the title chore(deps): update rust crate clap to v4.5.52 chore(deps): update rust crate clap to v4.5.53 Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant