Skip to content

Releases: clap-rs/clap

v4.5.37

18 Apr 19:07
Compare
Choose a tag to compare

[4.5.37] - 2025-04-18

Features

  • Added ArgMatches::try_clear_id()

v4.5.36

11 Apr 20:00
Compare
Choose a tag to compare

[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

v4.5.35

01 Apr 16:52
Compare
Choose a tag to compare

[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

v4.5.34

27 Mar 01:41
Compare
Choose a tag to compare

[4.5.34] - 2025-03-27

Fixes

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

v4.5.33

26 Mar 19:11
Compare
Choose a tag to compare

[4.5.33] - 2025-03-26

Fixes

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

v4.5.32

10 Mar 20:46
Compare
Choose a tag to compare

[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

v4.5.31

24 Feb 15:39
Compare
Choose a tag to compare

[4.5.31] - 2025-02-24

Features

  • Add ValueParserFactory for Saturating<T>

v4.5.30

17 Feb 19:01
Compare
Choose a tag to compare

[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

v4.5.29

11 Feb 19:41
Compare
Choose a tag to compare

[4.5.29] - 2025-02-11

Fixes

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

v4.5.28

03 Feb 22:39
Compare
Choose a tag to compare

[4.5.28] - 2025-02-03

Features

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