Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Update Rust crate clap to 4.3.17 #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
clap dependencies minor 4.0.7 -> 4.3.17

Release Notes

clap-rs/clap (clap)

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
  • (derive) Don't produce unused_equalifications warnings when someone brings a clap type into scope

v4.3.1

Compare Source

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

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

v4.2.7

Compare Source

Fixes
  • Correctly track remaining length for iterators provided by ArgMatches

v4.2.6

Compare Source

Features
  • impl Eq<std::any::TypeId> for clap_builder::util::AnyValueId

v4.2.5

Compare Source

Fixes
  • Improve panic when a group requires a non-existent ID

v4.2.4

Compare Source

Documentation
  • Corrected docs for Command::style

v4.2.3

Compare Source

Features
  • Command::styles for theming help/errors (behind unstable-styles)

v4.2.2

Compare Source

Internal
  • Update dependencies

v4.2.1

Compare Source

Fixes
  • Don't highlight uninteresting parts of the error message

v4.2.0

Compare Source

Compatibility
  • Removed the languishing unstable-replace feature (open to discussion at #​2836)
  • Removed the stablized unstable-grouped feature
Features
  • Allow any StyledStr to accept text styled with ANSI escape codes
  • Respect CLICOLOR, CLICOLOR_FORCE
Fixes
  • Lighten the tone for "unexpected argument" errors (open to discussion at #​4638)

v4.1.14

Compare Source

Features
  • (derive) #[group] raw attribute support
Performance
  • (derive) clap_builder was pulled out of clap so it could build in parallel to clap_derive
  • os_str_bytes dependency was removed for faster builds and smaller binaries

v4.1.13

Compare Source

Performance
  • Reduce repeated alloc calls when building a Command
  • Reduce duplicate dependencies for faster builds

v4.1.12

Compare Source

Internal
  • (derive) Update to syn v2
Performance
  • (derive) Faster build times by dropping proc-macro-error dependency

v4.1.11

Compare Source

Internal
  • Update bitflags

v4.1.10

Compare Source

Fixes
  • (help) On Windows, avoid underlined text artifacts

v4.1.9

Compare Source

Fixes
  • (assert) Improve the assert when using the wrong action with get_count / get_flag

v4.1.8

Compare Source

Fixes
  • (derive) Don't deny lints on the users behalf

v4.1.7

Compare Source

Fixes
  • (derive) Hide some nightly clippy warnings

v4.1.6

Compare Source

Fixes
  • (help) Don't show long help for --help just because hidden possible values include a description

v4.1.5

Compare Source

Fixes
  • (help) Don't show long help for --help just because a hidden arg has a possible value with a description

v4.1.4

Compare Source

Fixes
  • (help) Respect disable_colored_help when using arg_required_else_help
Performance
  • Speed up compiling arg! macro

v4.1.3

Compare Source

Fixes
  • (error) Improve suggested flag/value/subcommand when two share a long preifx
  • (error) When suggesting one of several subcommands, use the plural subcommands, rather than subcommand

v4.1.2

Compare Source

Fixes
  • In documentation, refer to get_flag, rather than get_one::<bool>

v4.1.1

Compare Source

Features
  • (derive) #[group] raw attribute support
Performance
  • (derive) clap_builder was pulled out of clap so it could build in parallel to clap_derive
  • os_str_bytes dependency was removed for faster builds and smaller binaries

v4.1.0

Compare Source

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

v4.0.32

Compare Source

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

v4.0.31

Compare Source

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

v4.0.30

Compare Source

Fixes
  • (error) Improve error for args_conflicts_with_subcommand

v4.0.29

Compare Source

v4.0.28

Compare Source

Fixes
  • Fix wasm support which was broken in 4.0.27

v4.0.27

Compare Source

Features
  • Have Arg::value_parser accept Vec<impl Into<PossibleValue>>
  • Implement Display and FromStr for ColorChoice
Fixes
  • Remove soundness issue by switching from atty to is-terminal

v4.0.26

Compare Source

Fixes
  • (error) Fix typos in ContextKind::as_str

v4.0.25

Compare Source

Features
  • (error) Report available subcommands when required subcommand is missing

v4.0.24

Compare Source

Fixes
  • Avoid panic when printing an argument that isn't built

v4.0.23

Compare Source

Fixes
  • Don't panic on reporting invalid-long errors when followed by invalid UTF8
  • (help) Clarified argument to help subcommand

v4.0.22

Compare Source

Fixes
  • (help) Don't overflow into next-line-help early due to stale (pre-v4) padding calculations

v4.0.21

Compare Source

Features
  • (derive) long_about and long_help attributes, without a value, force using doc comment (before it wouldn't be set if there wasn't anything different than the short help)

v4.0.20

Compare Source

Fixes
  • (derive) Allow defaulted value parser for '()' fields

v4.0.19

Compare Source

Features
  • ColorChoice now implements ValueEnum

v4.0.18

Compare Source

Fixes
  • (derive) Allow #[command(skip)] to also work with enum variants with a value

v4.0.17

Compare Source

Fixes
  • Allow using Arg::last(true) with Arg::value_hint(ValueHint::CommandWithArguments)

v4.0.16

Compare Source

Fixes
  • Arg::exclusive(true) should not be exclusive with the argument's own ArgGroup

v4.0.15

Compare Source

Fixes
  • (error) Don't suggest -- when it doesn't help
  • (error) Be more consistent in quoting, punctuation, and indentation in errors

v4.0.14

Compare Source

Fixes
  • Only put ArgGroup in ArgMatches when explicitly specified, fixing derives handling of option-flattened fields (#​4375)

v4.0.13

Compare Source

Features
  • (derive) Allow () for fields to mean "don't read" (#​4371)

v4.0.12

Compare Source

Features
  • Added TypedValueParser::try_map for when adapting an existing TypedValueParser can fail
  • (error) Create errors like clap with Error::new, Error::with_cmd, and Error::insert

v4.0.11

Compare Source

Fixes
  • (help) Fix wrapping calculations with ANSI escape codes

v4.0.10

Compare Source

Features

v4.0.9

Compare Source

Fixes
  • (derive) Process doc comments for #[command(subcommand)] like in clap v3

v4.0.8

Compare Source

Fixes
  • (derive) Remove a low-value assert preventing defaulting Help and Version actions

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update Rust crate clap to 4.0.8 Update Rust crate clap to 4.0.9 Oct 3, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.9 Update Rust crate clap to 4.0.10 Oct 6, 2022
@renovate renovate bot force-pushed the renovate/clap-4.x branch 2 times, most recently from fe578b9 to 6debe1d Compare October 9, 2022 03:43
@renovate renovate bot changed the title Update Rust crate clap to 4.0.10 Update Rust crate clap to 4.0.11 Oct 9, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.11 Update Rust crate clap to 4.0.12 Oct 10, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.12 Update Rust crate clap to 4.0.13 Oct 11, 2022
@renovate renovate bot force-pushed the renovate/clap-4.x branch 2 times, most recently from 1ae9acd to 436dd09 Compare October 12, 2022 15:46
@renovate renovate bot changed the title Update Rust crate clap to 4.0.13 Update Rust crate clap to 4.0.14 Oct 12, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.14 Update Rust crate clap to 4.0.15 Oct 13, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.15 Update Rust crate clap to 4.0.16 Oct 18, 2022
@renovate renovate bot force-pushed the renovate/clap-4.x branch 2 times, most recently from ef094a0 to 0e83a24 Compare October 18, 2022 13:28
@renovate renovate bot changed the title Update Rust crate clap to 4.0.16 Update Rust crate clap to 4.0.17 Oct 18, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.17 Update Rust crate clap to 4.0.18 Oct 21, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.18 Update Rust crate clap to 4.0.19 Nov 4, 2022
@renovate renovate bot force-pushed the renovate/clap-4.x branch 2 times, most recently from 22e8a8d to 0948da7 Compare November 7, 2022 15:57
@renovate renovate bot changed the title Update Rust crate clap to 4.0.19 Update Rust crate clap to 4.0.20 Nov 7, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.20 Update Rust crate clap to 4.0.22 Nov 7, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.22 Update Rust crate clap to 4.0.23 Nov 11, 2022
@renovate renovate bot changed the title Update Rust crate clap to 4.0.23 Update Rust crate clap to 4.0.24 Nov 14, 2022
@renovate renovate bot force-pushed the renovate/clap-4.x branch 2 times, most recently from 4e2abf4 to 04509a9 Compare June 5, 2023 20:48
@renovate renovate bot changed the title Update Rust crate clap to 4.3.1 Update Rust crate clap to 4.3.2 Jun 5, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.2 Update Rust crate clap to 4.3.3 Jun 9, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.3 Update Rust crate clap to 4.3.4 Jun 14, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.4 Update Rust crate clap to 4.3.5 Jun 20, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.5 Update Rust crate clap to 4.3.6 Jun 23, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.6 Update Rust crate clap to 4.3.8 Jun 24, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.8 Update Rust crate clap to 4.3.9 Jun 28, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.9 Update Rust crate clap to 4.3.10 Jun 30, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.10 Update Rust crate clap to 4.3.11 Jul 5, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.11 Update Rust crate clap to 4.3.12 Jul 14, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.12 Update Rust crate clap to 4.3.14 Jul 17, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.14 Update Rust crate clap to 4.3.15 Jul 18, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.15 Update Rust crate clap to 4.3.16 Jul 18, 2023
@renovate renovate bot changed the title Update Rust crate clap to 4.3.16 Update Rust crate clap to 4.3.17 Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants