Skip to content

Commit 9ef3d82

Browse files
committed
chore: increase version
1 parent 6f4c341 commit 9ef3d82

File tree

3 files changed

+54
-32
lines changed

3 files changed

+54
-32
lines changed

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
<a name="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)
15+
16+
#### Documentation
17+
18+
* Fix URL path to github hosted files ([ce72aada](https://github.com/kbknapp/clap-rs/commit/ce72aada56a9581d4a6cb4bf9bdb861c3906f8df), closes [#1106](https://github.com/kbknapp/clap-rs/issues/1106))
19+
* fix typo ([002b07fc](https://github.com/kbknapp/clap-rs/commit/002b07fc98a1c85acb66296b1eec0b2aba906125))
20+
* **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))
26+
* ignore PropagateGlobalValuesDown deprecation warning ([f61ce3f5](https://github.com/kbknapp/clap-rs/commit/f61ce3f55fe65e16b3db0bd4facdc4575de22767), closes [#1086](https://github.com/kbknapp/clap-rs/issues/1086))
27+
28+
29+
#### Deps
30+
31+
* Updates `bitflags` to 1.0
32+
33+
34+
135
<a name="v2.27.1"></a>
236
## v2.27.1 (2017-10-24)
337

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "clap"
4-
version = "2.27.2"
4+
version = "2.28.0"
55
authors = ["Kevin K. <[email protected]>"]
66
exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"]
77
repository = "https://github.com/kbknapp/clap-rs"

README.md

+19-31
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,20 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
4242

4343
## What's New
4444

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
58+
* ignore PropagateGlobalValuesDown deprecation warning
7259

7360
For full details, see [CHANGELOG.md](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md)
7461

@@ -390,12 +377,13 @@ SUBCOMMANDS:
390377

391378
### Pre-Built Test
392379

393-
To try out the pre-built example, use the following steps:
380+
To try out the pre-built examples, use the following steps:
394381

395-
* Clone the repository `$ git clone https://github.com/kbknapp/clap-rs && cd clap-rs/tests`
396-
* Compile the example `$ cargo build --release`
397-
* Run the help info `$ ./target/release/claptests --help`
382+
* Clone the repository `$ git clone https://github.com/kbknapp/clap-rs && cd clap-rs/`
383+
* Compile the example `$ cargo build --example <EXAMPLE>`
384+
* Run the help info `$ ./target/debug/examples/<EXAMPLE> --help`
398385
* Play with the arguments!
386+
* You can also do a onetime run via `$ cargo run --example <EXAMPLE> -- [args to example]
399387

400388
### BYOB (Build Your Own Binary)
401389

0 commit comments

Comments
 (0)