clap-rs v2.33.0 Release Notes

Release Date: 2019-04-06 // 8 months 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)
    • Dont 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.

Previous changes from v2.32.0

  • Minimum Required Rust

    • 🚀 As of this release, clap requires rustc 1.21.0 or greater.

    🔋 Features

    • Completions: adds completion support for Elvish. (e9d0562a)

    👌 Improvements

    • macros: Support shorthand syntax for ArgGroups (df9095e7)

    🐛 Bug Fixes

    • OsValues: Add ExactSizeIterator implementation (356c69e5)
    • arg_enum!: Invalid expansions of some trailing-comma patterns (7023184f)
    • help message: Unconditionally uses long description for subcommands (6acc8b6a, closes #897)

    📚 Documentation

    • 🍎 Refer to macOS rather than OSX. (ab0d767f)