clap-rs v2.33.0 Release Notes

Release Date: 2019-04-06 // about 5 years ago
  • ๐Ÿ†• New Sponsor

    • Stephen Oats is now a sponsor \o/ (823457c0)
    • SPONSORS.md: fixes Josh Triplett's info in the sponsor document (24cb5740)

    ๐Ÿ”‹ Features

    • Completions: adds completion support for Elvish. (e9d0562a)
    • ๐Ÿ— There is a new setting to disable automatic building of --help and -h flags (AppSettings::DisableAutoHelp)

    ๐Ÿ‘Œ Improvements

    • arg_matches.rs: add Debug implementations (47192b7a)
    • macros: Support shorthand syntax for ArgGroups (df9095e7)

    ๐Ÿ“š Documentation

    • ๐ŸŽ Refer to macOS rather than OSX. (ab0d767f)
    • README.md: use https for all links (96a7639a)

    ๐Ÿ› Bug Fixes

    • add debug assertion for missing args in subcommand ArgGroup (2699d9e5)
    • โช Restore compat with Rust 1.21 (6b263de1)
    • Don't mention unused subcommands (ef92e2b6)
    • OsValues: Add ExactSizeIterator implementation (356c69e5)
    • arg_enum!:
      • Fix comma position for valid values. (1f1f9ff3)
      • Invalid expansions of some trailing-comma patterns (7023184f)
    • completions: improve correctness of completions when whitespace is involved (5a08ff29)
    • help message: Unconditionally uses long description for subcommands (6acc8b6a, closes #897)
    • macros: fixes broken pattern which prevented calling multi-argument Arg methods (9e7a352e)
    • ๐Ÿ“œ parser: Better interaction between AllowExternalSubcommands and SubcommandRequired (9601c95a)

    Minimum Required Rust

    • ๐Ÿš€ As of this release, clap requires rustc 1.31.0 or greater.