You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+34
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,37 @@
1
+
<aname="2.28.0"></a>
2
+
## 2.28.0 (2017-11-27)
3
+
4
+
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!
5
+
6
+
7
+
#### API Additions
8
+
9
+
* Adds the traits to be used with the `clap-derive` crate to be able to use Custom Derive ([6f4c3412](https://github.com/kbknapp/clap-rs/commit/6f4c3412415e882f5ca2cc3fbd6d4dce79440828))
10
+
11
+
#### Improvements
12
+
13
+
* adds '[SUBCOMMAND]' to usage strings with only AppSettings::AllowExternalSubcommands is used with no other subcommands ([e78bb757](https://github.com/kbknapp/clap-rs/commit/e78bb757a3df16e82d539e450c06767a6bfcf859), closes [#1093](https://github.com/kbknapp/clap-rs/issues/1093))
14
+
* uses `.bash` for Bash completion scripts now instead of `.bash-completion` due to convention and `.bash-completion` not being supported by completion projects ([4740cde4](https://github.com/kbknapp/clap-rs/commit/4740cde404121a443c64d644eb4a0722c0b0a823)
***README.md:** updates the readme and pulls out some redundant sections ([db6caf86](https://github.com/kbknapp/clap-rs/commit/db6caf8663747e679d2f4ed3bd127f33476754aa))
21
+
22
+
#### Bug Fixes
23
+
24
+
* Fixes a regression where --help couldn't be overridden ([a283d69f](https://github.com/kbknapp/clap-rs/commit/a283d69fc08aa016ae1bf9ba010012abecc7ba69), closes [#1112](https://github.com/kbknapp/clap-rs/issues/1112))
25
+
* fixes a bug that allowed options to pass parsing when no value was provided ([2fb75821](https://github.com/kbknapp/clap-rs/commit/2fb758219c7a60d639da67692e100b855a8165ac), closes [#1105](https://github.com/kbknapp/clap-rs/issues/1105))
Copy file name to clipboardExpand all lines: README.md
+19-31
Original file line number
Diff line number
Diff line change
@@ -42,33 +42,20 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
42
42
43
43
## What's New
44
44
45
-
Here's whats new in 2.27.1:
46
-
47
-
** This release also contains a very minor breaking change to fix a bug **
48
-
49
-
The only CLIs affected will be those using unrestrained multiple values and subcommands where the
50
-
subcommand name can coincide with one of the multiple values.
51
-
52
-
See the commit [0c223f54](https://github.com/kbknapp/clap-rs/commit/0c223f54ed46da406bc8b43a5806e0b227863b31) for full details.
53
-
54
-
* Adds `term_size` as an optional dependency (with feature `wrap_help`) to fix compile bug
55
-
***The minimum required version of Rust is now 1.18.0 (Stable)**
56
-
* Values from global args are now propagated UP and DOWN!
57
-
* fixes a bug where using AppSettings::AllowHyphenValues would allow invalid arguments even when there is no way for them to be valid
58
-
* when an argument requires a value and that value happens to match a subcommand name, its parsed as a value
59
-
* fixes a bug that prevented number_of_values and default_values to be used together
60
-
* fixes a bug that didn't allow args with default values to have conflicts
61
-
* fixes a panic when using global args and calling App::get_matches_from_safe_borrow multiple times
62
-
* fixes issues and potential regressions with global args values not being propagated properly or at all
63
-
* fixes a bug where default values are not applied if the option supports zero values
64
-
* adds addtional blurbs about using multiples with subcommands
65
-
* updates the docs to reflect changes to global args and that global args values can now be propagated back up the stack
66
-
* add html_root_url attribute
67
-
* sync README version numbers with crate version
68
-
* args that have require_delimiter(true) is now reflected in help and usage strings
69
-
* if all subcommands are hidden, the subcommands section of the help message is no longer displayed
70
-
* fixes when an argument requires a value and that value happens to match a subcommand name, its parsed as a value
71
-
***AppSettings::PropagateGlobalValuesDown:** this setting deprecated and is no longer required to propagate values down or up
45
+
Here's whats new in 2.28.0:
46
+
47
+
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!
48
+
49
+
* Updates `bitflags` to 1.0
50
+
* Adds the traits to be used with the `clap-derive` crate to be able to use Custom Derive (for now must be accessed with `unstable` feature flag)
51
+
* Fixes a regression where --help couldn't be overridden
52
+
* adds '[SUBCOMMAND]' to usage strings with only AppSettings::AllowExternalSubcommands is used with no other subcommands
53
+
* uses `.bash` for Bash completion scripts now instead of `.bash-completion` due to convention and `.bash-completion` not being supported by completion projects
54
+
* Fix URL path to github hosted files
55
+
* fix typos in docs
56
+
***README.md:** updates the readme and pulls out some redundant sections
57
+
* fixes a bug that allowed options to pass parsing when no value was provided
0 commit comments