All Versions
273
Latest Version
Avg Release Cycle
3 days
Latest Release
490 days ago

Changelog History
Page 11

  • v2.29.1 Changes

    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
  • v2.29.0 Changes

    December 02, 2017

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

    November 28, 2017

    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 Changes

    October 24, 2017

    ๐Ÿ› Bug Fixes

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

    October 25, 2017

    ** ๐Ÿš€ This release raises the minimum required version of Rust to 1.18 **

    ** ๐Ÿš€ This release also contains a very minor breaking change to fix a bug **

    The only CLIs affected will be those using unrestrained multiple values and subcommands where the subcommand name can coincide with one of the multiple values.

    ๐Ÿ‘€ See the commit 0c223f54 for full details.

    ๐Ÿ› Bug Fixes

    • Values from global args are now propagated UP and DOWN!
    • ๐Ÿ›  fixes a bug where using AppSettings::AllowHyphenValues would allow invalid arguments even when there is no way for them to be valid (77ed4684, closes #1066)
    • ๐Ÿ“œ when an argument requires a value and that value happens to match a subcommand name, its parsed as a value (0c223f54, closes #1031, breaks #, #)
    • fixes a bug that prevented number_of_values and default_values to be used together (5eb342a9, closes #1050, #1056)
    • 0๏ธโƒฃ fixes a bug that didn't allow args with default values to have conflicts (58b5b4be, closes #1071)
    • fixes a panic when using global args and calling App::get_matches_from_safe_borrow multiple times (d86ec797, closes #1076)
    • ๐Ÿ›  fixes issues and potential regressions with global args values not being propagated properly or at all (a43f9dd4, closes #1010, #1061, #978)
    • 0๏ธโƒฃ fixes a bug where default values are not applied if the option supports zero values (9c248cbf, closes #1047)

    ๐Ÿ“š Documentation

    • adds additional blurbs about using multiples with subcommands (03455b77)
    • โšก๏ธ updates the docs to reflect changes to global args and that global args values can now be propagated back up the stack (ead076f0)
    • add html_root_url attribute (e67a061b)
    • ๐Ÿ”€ sync README version numbers with crate version (5536361b)

    ๐Ÿ‘Œ Improvements

    • args that have require_delimiter(true) is now reflected in help and usage strings (dce61699, closes #1052)
    • if all subcommands are hidden, the subcommands section of the help message is no longer displayed (4ae7b046, closes #1046)

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ“œ when an argument requires a value and that value happens to match a subcommand name, its parsed as a value (0c223f54, closes #1031, breaks #, #)

    ๐Ÿ—„ Deprecations

    • AppSettings::PropagateGlobalValuesDown: this setting is no longer required to propagate values down or up (2bb5ddce)
  • v2.26.2 Changes

    September 14, 2017

    ๐Ÿ‘Œ Improvements

    • if all subcommands are hidden, the subcommands section of the help message is no longer displayed (4ae7b046, closes #1046)

    ๐Ÿ› Bug Fixes

    • 0๏ธโƒฃ fixes a bug where default values are not applied if the option supports zero values (9c248cbf, closes #1047)
  • v2.26.1 Changes

    September 14, 2017

    v2.26.1 (2017-09-14)

    ๐Ÿ› Bug Fixes

    • fixes using require_equals(true) and min_values(0) together (10ae208f, closes #1044)
    • escape special characters in zsh and fish completions (87e019fc)
    • 0๏ธโƒฃ avoid panic generating default help msg if term width set to 0 due to bug in textwrap 0.7.0 (b3eadb0d)
    • ๐Ÿ”„ Change who's -> whose (53c1ffe8)
    • โž• adds a debug assertion to ensure all args added to groups actually exist (7ad123e2, closes #917)
    • ๐Ÿ›  fixes a bug where args that allow values to start with a hyphen couldnt contain a double hyphen -- as a value (ab2f4c9e, closes #960)
    • ๐Ÿ›  fixes a bug where positional argument help text is misaligned (54c16836)
    • Help Message: fixes long_about not being usable (a8257ea0, closes #1043)
    • Suggestions: output for flag after subcommand (434ea5ba)

    v2.26.0 (2017-07-29)

    Minimum version of Rust is now v1.13.0 (Stable)

    ๐Ÿ‘Œ Improvements

    • โฌ†๏ธ bumps unicode-segmentation to v1.2 (cd7b40a2)

    ๐ŸŽ Performance

    • โšก๏ธ update textwrap to version 0.7.0 (c2d4e637)

    v2.25.1 (2017-07-21)

    ๐Ÿ‘Œ Improvements

    • 0๏ธโƒฃ impl Default for Values + OsValues for any lifetime. (fb7d6231f1)

    ๐Ÿ“š Documentation

    • ๐Ÿ“š Various documentation typos and grammar fixes

    v2.25.0 (2017-06-20)

    ๐Ÿ”‹ Features

    • ๐Ÿ‘‰ use textwrap crate for wrapping help texts (b93870c1)

    ๐Ÿ‘Œ Improvements

    • Suggestions: suggests to use flag after subcommand when applicable (2671ca72)
    • โฌ†๏ธ Bumps bitflags crate to v0.9

    ๐Ÿ“š Documentation

    • ๐Ÿ”„ Change who's -> whose (53c1ffe8)

    ๐Ÿ“š Documentation

    • App::template: adds details about the necessity to use AppSettings::UnifiedHelpMessage when using {unified} tags in the help template (cbea3d5a, closes #949)
    • Arg::allow_hyphen_values: updates the docs to include warnings for allow_hyphen_values and multiple(true) used together (f9b0d657)
    • README.md:
      • added a warning about using ~ deps (821929b5, closes #964)
    • clap_app!: adds using the @group specifier to the macro docs (826048cb, closes #932)
  • v2.26.0 Changes

    July 29, 2017

    Minimum version of Rust is now v1.13.0 (Stable)

    ๐Ÿ‘Œ Improvements

    • bumps unicode-segmentation to v1.2 (cd7b40a2)

    ๐ŸŽ Performance

    • โšก๏ธ update textwrap to version 0.7.0 (c2d4e637)
  • v2.25.1 Changes

    July 21, 2017

    ๐Ÿ‘Œ Improvements

    • 0๏ธโƒฃ impl Default for Values + OsValues for any lifetime. (fb7d6231f1)

    ๐Ÿ“š Documentation

    • ๐Ÿ“š Various documentation typos and grammar fixes
  • v2.25.0 Changes

    June 20, 2017

    ๐Ÿ”‹ Features

    • use textwrap crate for wrapping help texts (b93870c1)

    ๐Ÿ‘Œ Improvements

    • Suggestions: suggests to use flag after subcommand when applicable (2671ca72)
    • โฌ†๏ธ Bumps bitflags crate to v0.9

    ๐Ÿ“š Documentation

    ๐Ÿ“š Documentation

    • App::template: adds details about the necessity to use AppSettings::UnifiedHelpMessage when using {unified} tags in the help template (cbea3d5a, closes #949)
    • Arg::allow_hyphen_values: updates the docs to include warnings for allow_hyphen_values and multiple(true) used together (f9b0d657)
    • README.md:
      • added a warning about using ~ deps (821929b5, closes #964)
    • clap_app!: adds using the @group specifier to the macro docs (826048cb, closes #932)