All Versions
182
Latest Version
Avg Release Cycle
33 days
Latest Release
249 days ago

Changelog History
Page 1

  • v2.33.0

    April 06, 2019

    🆕 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.
  • v2.32.0

    June 26, 2018

    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)
  • v2.31.2

    March 19, 2018

    v2.31.2 (2018-03-19)

    🐛 Bug Fixes

    • Fish Completions: fixes a bug that only allowed a single completion in in Fish Shell (e8774a8, closes #1212)
    • 👍 AllowExternalSubcommands : fixes a bug where external subcommands would be blocked by a similarly named subcomand (suggestions were getting in the way). (a410e85)

    📚 Documentation

    • 🛠 Fixes some typos in the README.md (c8e685d7)

    v2.31.1 (2018-03-06)

    👌 Improvements

    • 👍 AllowMissingPositional: improves the ability of AllowMissingPositional to allow 'skipping' to the last positional arg with '--' (df20e6e2)

    v2.31.0 (2018-03-04)

    🔋 Features

    • Arg Indices: adds the ability to query argument value indices (f58d0576)
    • Indices: implements an Indices<Item=&usize> iterator (1e67be44)
    • Raw Args adds a convenience function to Arg that allows implying all of Arg::last Arg::allow_hyphen_values and Arg::multiple(true) (66a78f29)

    📚 Documentation

    👌 Improvements

    • 🚀 Cargo.toml: use codegen-units = 1 in release and bench profiles (19f425ea)
    • ➕ Adds WASM support (clap now compiles on WASM!) (689949e5)
    • 👉 Uses the short help tool-tip for PowerShell completion scripts (ecda22ce)
  • v2.31.1

    March 06, 2018

    👌 Improvements

    • 👍 AllowMissingPositional: improves the ability of AllowMissingPositional to allow 'skipping' to the last positional arg with '--' (df20e6e2)
  • v2.31.0

    March 04, 2018

    🔋 Features

    • Arg Indices: adds the ability to query argument value indices (f58d0576)
    • Indices: implements an Indices iterator (1e67be44)
    • Raw Args adds a convenience function to Arg that allows implying all of Arg::last Arg::allow_hyphen_values and Arg::multiple(true) (66a78f29)

    📚 Documentation

    👌 Improvements

    • 🚀 Cargo.toml: use codegen-units = 1 in release and bench profiles (19f425ea)
    • 👍 Adds WASM support (clap now compiles on WASM!) (689949e5)
    • Uses the short help tool-tip for PowerShell completion scripts (ecda22ce)
  • v2.30.0

    February 13, 2018

    🐛 Bug Fixes

    • YAML: Adds a missing conversion from Arg::last when instantiating from a YAML file (aab77c81a5, closes #1160)

    👌 Improvements

    • Bash Completions: instead of completing a generic option name, all bash completions fall back to file completions UNLESS Arg::possible_values was used (872f02ae)
    • Deps: No longer needlessly compiles ansi_term on Windows since its not used (b57ee946, closes #1155)
    • Help Message: changes the [values: foo bar baz] array to [possible values: foo bar baz] for consistency with the API (414707e4e97, closes #1160)
  • v2.29.4

    February 06, 2018

    🐛 Bug Fixes

    • Overrides Self: fixes a bug where options with multiple values couldnt ever have multiple values (d95907cf)
  • v2.29.3

    February 05, 2018

    👌 Improvements

    • Overrides: clap now supports arguments which override with themselves (6c7a0010, closes #976)

    🐛 Bug Fixes

    • Requirements: fixes an issue where conflicting args would still show up as required (e06cefac, closes #1158)
    • 🛠 Fixes a bug which disallows proper nesting of -- (73993fe, closes #1161)

    🆕 New Settings

    • AllArgsOverrideSelf: adds a new convenience setting to allow all args to override themselves (4670325d)
  • v2.29.2

    January 16, 2018

    🔋 Features

    • completions/zsh.rs:
      • Escape possible values for options (25561dec)
      • Implement postional argument possible values completion (f3b0afd2)
      • Complete positional arguments properly (e39aeab8)

    🐛 Bug Fixes

    • completions/zsh.rs:
      • Add missing autoload for is-at-least (a6522607)
      • Don't pass -S to _arguments if Zsh is too old (16b4f143)
      • Maybe fix completions with mixed positionals and subcommands (1146f0da)
    • completions/zsh.zsh: Remove redundant code from output (0e185b92, closes #1142)
  • v2.29.1

    January 15, 2018

    🔄 Changes since 2.27.0 (most recent tag before this):

    2.29.1 (2018-01-09)

    📚 Documentation

    • 🛠 fixes broken links. (56e734b8)
    • ⚡️ updates contributors list (e1313a5a)

    🐎 Performance

    • further debloating by removing generics from error cases (eb8d919e)
    • ♻️ debloats clap by deduplicating logic and refactors (03e413d7)

    🐛 Bug Fixes

    • 🛠 fixes the ripgrep benchmark by adding a value to a flag that expects it (d26ab2b9)
    • bash completion: Change the bash completion script code generation to support hyphens. (ba7f1d18)
    • completions/zsh.rs: Fix completion of long option values (46365cf8)

    2.29.0 (2017-12-02)

    API Additions

    • Arg: adds Arg::hide_env_values(bool) which allows one to hide any current env values and display only the key in help messages (fb41d062)

    2.28.0 (2017-11-28)

    The minimum required Rust is now 1.20. This was done to start using bitflags 1.0 and having >1.0 deps is a very good thing!

    📚 Documentation

    • 🔄 changes the demo version to 2.28 to stay in sync (ce6ca492)
    • 🛠 Fix URL path to github hosted files (ce72aada, closes #1106)
    • 🛠 fix typo (002b07fc)
    • README.md: updates the readme and pulls out some redundant sections (db6caf86)

    👌 Improvements

    • ➕ adds '[SUBCOMMAND]' to usage strings with only AppSettings::AllowExternalSubcommands is used with no other subcommands (e78bb757, closes #1093)

    API Additions

    • Adds Arg::case_insensitive(bool) which allows matching Arg::possible_values without worrying about ASCII case (1fec268e, closes #1118)
    • ➕ Adds the traits to be used with the clap-derive crate to be able to use Custom Derive (6f4c3412)

    🐛 Bug Fixes

    • 🛠 Fixes a regression where --help couldn't be overridden (a283d69f, closes #1112)
    • 🛠 fixes a bug that allowed options to pass parsing when no value was provided (2fb75821, closes #1105)
    • 🗄 ignore PropagateGlobalValuesDown deprecation warning (f61ce3f5, closes #1086)

    Deps

    • ⚡️ Updates bitflags to 1.0

    v2.27.1 (2017-10-24)

    🐛 Bug Fixes

    • Adds term_size as an optional dependency (with feature wrap_help) to fix compile bug