Recent Releases of clap

clap - v4.5.45

[4.5.45] - 2025-08-12

Fixes

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

- Rust
Published by github-actions[bot] 5 months ago

clap - v4.5.44

[4.5.44] - 2025-08-11

Features

  • Add Command::mut_subcommands

- Rust
Published by github-actions[bot] 5 months ago

clap - v4.5.43

[4.5.43] - 2025-08-06

Fixes

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

- Rust
Published by github-actions[bot] 5 months ago

clap - v4.5.42

[4.5.42] - 2025-07-30

Fixes

  • Include subcommand visible long aliases in --help

- Rust
Published by github-actions[bot] 5 months ago

clap - v4.5.39

[4.5.39] - 2025-05-27

Fixes

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

- Rust
Published by github-actions[bot] 8 months ago

clap - v4.5.38

[4.5.38] - 2025-05-11

Fixes

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

- Rust
Published by github-actions[bot] 8 months ago

clap - v4.5.37

[4.5.37] - 2025-04-18

Features

  • Added ArgMatches::try_clear_id()

- Rust
Published by github-actions[bot] 9 months ago

clap - v4.5.36

[4.5.36] - 2025-04-11

Fixes

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

- Rust
Published by github-actions[bot] 9 months ago

clap - v4.5.35

[4.5.35] - 2025-04-01

Fixes

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

- Rust
Published by github-actions[bot] 9 months ago

clap - v4.5.34

[4.5.34] - 2025-03-27

Fixes

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

- Rust
Published by github-actions[bot] 10 months ago

clap - v4.5.33

[4.5.33] - 2025-03-26

Fixes

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

- Rust
Published by github-actions[bot] 10 months ago

clap - v4.5.32

[4.5.32] - 2025-03-10

Features

  • Add Error::remove

Documentation

  • (cookbook) Switch from humantime to jiff
  • (tutorial) Better cover required vs optional

Internal

  • Update pulldown-cmark

- Rust
Published by github-actions[bot] 10 months ago

clap - v4.5.31

[4.5.31] - 2025-02-24

Features

  • Add ValueParserFactory for Saturating<T>

- Rust
Published by github-actions[bot] 11 months ago

clap - v4.5.30

[4.5.30] - 2025-02-17

Fixes

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

- Rust
Published by github-actions[bot] 11 months ago

clap - v4.5.29

[4.5.29] - 2025-02-11

Fixes

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

- Rust
Published by github-actions[bot] 11 months ago

clap - v4.5.28

[4.5.28] - 2025-02-03

Features

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

- Rust
Published by github-actions[bot] 11 months ago

clap - v4.5.27

[4.5.27] - 2025-01-20

Documentation

  • Iterate on tutorials and reference based on feedback

- Rust
Published by github-actions[bot] 12 months ago

clap - v4.5.26

[4.5.26] - 2025-01-09

Fixes

  • (error) Reduce binary size with the suggestions feature

- Rust
Published by github-actions[bot] 12 months ago

clap - v4.5.25

[4.5.25] - 2025-01-09

Fixes

  • (help) Reduce binary size

- Rust
Published by github-actions[bot] 12 months ago

clap - v4.5.24

[4.5.24] - 2025-01-07

Fixes

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

- Rust
Published by github-actions[bot] about 1 year ago

clap - v4.5.23

[4.5.23] - 2024-12-05

Fixes

  • (parser) When check allow_negative_numbers, allow E again

- Rust
Published by github-actions[bot] about 1 year ago

clap - v4.5.22

[4.5.22] - 2024-12-03

Fixes

  • (assert) Catch bugs with arguments requiring themself

- Rust
Published by github-actions[bot] about 1 year ago

clap - v4.5.21

[4.5.21] - 2024-11-13

Fixes

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

- Rust
Published by github-actions[bot] about 1 year ago

clap - v4.5.19

[4.5.19] - 2024-10-01

Internal

  • Update dependencies

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.18

[4.5.18] - 2024-09-20

Features

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

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.17

[4.5.17] - 2024-09-04

Fixes

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

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.16

[4.5.16] - 2024-08-15

Fixes

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

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.15

[4.5.15] - 2024-08-10

Compatiblity

  • (unstable-ext) Arg::remove changed return types

Fixes

  • (unstable-ext) Make Arg::remove return the removed item

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.14

[4.5.14] - 2024-08-08

Features

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

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.13

[4.5.13] - 2024-07-31

Fixes

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

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.12

[4.5.12] - 2024-07-31

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.10

[4.5.10] - 2024-07-23

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.9

[4.5.9] - 2024-07-09

Fixes

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

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.8

[4.5.8] - 2024-06-28

Fixes

  • Reduce extra flushes

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.7

[4.5.7] - 2024-06-10

Fixes

  • Clean up error message when too few arguments for num_args

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.6

[4.5.6] - 2024-06-06

- Rust
Published by github-actions[bot] over 1 year ago

clap - v4.5.4

[4.5.4] - 2024-03-25

Fixes

  • (derive) Allow non-literal #[arg(id)] attributes again

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.5.3

[4.5.3] - 2024-03-15

Internal

  • (derive) Update heck

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.5.2

[4.5.2] - 2024-03-06

Fixes

  • (macros) Silence a warning

- Rust
Published by github-actions[bot] almost 2 years ago

clap -

- Rust
Published by epage almost 2 years ago

clap - v4.5.1

[4.5.1] - 2024-02-16

Fixes

  • (error) Include suggestion to add -- even if there is a "did you mean" so long as last or trailing_var_arg is used

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.4.18

[4.4.18] - 2024-01-16

Fixes

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

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.4.17

[4.4.17] - 2024-01-15

Fixes

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

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.4.16

[4.4.16] - 2024-01-12

Fixes

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

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.4.15

[4.4.15] - 2024-01-11

Fixes

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

- Rust
Published by github-actions[bot] almost 2 years ago

clap - v4.4.14

[4.4.14] - 2024-01-08

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

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.13

[4.4.13] - 2024-01-04

Documentation

  • Fix link to structopt migration guide

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.12

[4.4.12] - 2023-12-28

Performance

  • Only ask TypedValueParser for possible values if needed

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.11

[4.4.11] - 2023-12-04

Features

  • Add Command::mut_group

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.10

[4.4.10] - 2023-11-28

Documentation

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

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.9

[4.4.9] - 2023-11-27

Fixes

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

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.8

[4.4.8] - 2023-11-10

Features

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

- Rust
Published by github-actions[bot] about 2 years ago

clap - v4.4.6

[4.4.6] - 2023-09-28

Internal

  • Upgrade anstream

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.4.5

[4.4.5] - 2023-09-25

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.4.4

[4.4.4] - 2023-09-18

Internal

  • Update terminal_size to 0.3

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.4.3

[4.4.3] - 2023-09-12

Documentation

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.4.2

[4.4.2] - 2023-08-31

Performance

  • Improve build times by removing once_cell dependency

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.4.1

[4.4.1] - 2023-08-28

Features

  • Stabilize Command::styles

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.24

[4.3.24] - 2023-08-23

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.23

[4.3.23] - 2023-08-18

Fixes

  • Fixed UnknownArgumentValueParser to not error on flag's absence

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.22

[4.3.22] - 2023-08-17

Features

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.21

[4.3.21] - 2023-08-08

Features

  • Expose TryMapValueParser so the type can be named

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.20

[4.3.20] - 2023-08-08

Features

  • Expose TryMapValueParser so the type can be named
  • Command::mut_args for modifying all arguments en masse

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.19

[4.3.19] - 2023-07-21

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.18

[4.3.18] - 2023-07-21

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.17

[4.3.17] - 2023-07-19

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.16

[4.3.16] - 2023-07-18

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.15

[4.3.15] - 2023-07-18

Features

  • (unstable-styles) Re-export anstyle

Documentation

  • (unstable-styles) Provide more examples

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.14

[4.3.14] - 2023-07-17

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.13

[4.3.13] - 2023-07-17

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.12

[4.3.12] - 2023-07-14

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.11

[4.3.11] - 2023-07-05

Features

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.10

[4.3.10] - 2023-06-30

Performance

  • Drop a dependency, reducing binary size by 1.3 KiB

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.9

[4.3.9] - 2023-06-28

Fixes

  • Command::ignore_errors no longer masks help/version

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.8

[4.3.8] - 2023-06-23

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.7

[4.3.7] - 2023-06-23

Documentation

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.6

[4.3.6] - 2023-06-23

Documentation

  • Suggest clio

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.5

[4.3.5] - 2023-06-20

  • 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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.4

[4.3.4] - 2023-06-14

Features

  • Add Error::exit_code

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.3

[4.3.3] - 2023-06-09

Features

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.2

[4.3.2] - 2023-06-05

Fixes

  • (derive) Don't produce unused_equalifications warnings when someone brings a clap type into scope

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.3.0

[4.3.0] - 2023-05-19

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.7

[4.2.7] - 2023-05-02

Fixes

  • Correctly track remaining length for iterators provided by ArgMatches

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.6

[4.2.6] - 2023-05-02

Features

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.5

[4.2.5] - 2023-04-27

Fixes

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v3.2.25

[3.2.25] - 2023-04-27

Fixes

  • (derive) Resolve warnings in generated code

- Rust
Published by github-actions[bot] over 2 years ago

clap - v3.2.24

[3.2.24] - 2023-04-25

Fixes

  • (derive) Resolve warnings in generated code

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.4

[4.2.4] - 2023-04-19

Documentation

  • Corrected docs for Command::style

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.3

[4.2.3] - 2023-04-18

Features

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

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.2

[4.2.2] - 2023-04-13

Internal

  • Update dependencies

- Rust
Published by github-actions[bot] over 2 years ago

clap - v4.2.1

[4.2.1] - 2023-03-28

Fixes

  • Don't highlight uninteresting parts of the error message

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.2.0

[4.2.0] - 2023-03-28

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)

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.14

[4.1.14] - 2023-03-28

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

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.13

[4.1.13] - 2023-03-18

Performance

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

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.12

[4.1.12] - 2023-03-18

Internal

  • (derive) Update to syn v2

Performance

  • (derive) Faster build times by dropping proc-macro-error dependency

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.11

[4.1.11] - 2023-03-17

Internal

  • Update bitflags

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.10

[4.1.10] - 2023-03-17

Fixes

  • (help) On Windows, avoid underlined text artifacts

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.8

[4.1.8] - 2023-02-27

Fixes

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

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.7

[4.1.7] - 2023-02-27

Fixes

  • (derive) Hide some nightly clippy warnings

- Rust
Published by github-actions[bot] almost 3 years ago

clap - v4.1.6

[4.1.6] - 2023-02-15

Fixes

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

- Rust
Published by github-actions[bot] almost 3 years ago