chore: increase version

This commit is contained in:
Kevin K 2015-10-29 01:36:12 -04:00
parent e047ab4fca
commit fd10aa7d64
3 changed files with 33 additions and 15 deletions

View file

@ -1,3 +1,26 @@
<a name="v1.4.6"></a>
### v1.4.6 (2015-10-29)
#### Features
* allows parsing without a binary name for daemons and interactive CLIs ([aff89d57](https://github.com/kbknapp/clap-rs/commit/aff89d579b5b85c3dc81b64f16d5865299ec39a2), closes [#318](https://github.com/kbknapp/clap-rs/issues/318))
#### Bug Fixes
* **Errors:** tones down quoting in some error messages ([34ce59ed](https://github.com/kbknapp/clap-rs/commit/34ce59ede53bfa2eef722c74881cdba7419fd9c7), closes [#309](https://github.com/kbknapp/clap-rs/issues/309))
* **Help and Version:** only builds help and version once ([e3be87cf](https://github.com/kbknapp/clap-rs/commit/e3be87cfc095fc41c9811adcdc6d2b079f237d5e))
* **Option Args:** fixes bug with args and multiple values ([c9a9548a](https://github.com/kbknapp/clap-rs/commit/c9a9548a8f96cef8a3dd9a980948325fbbc1b91b), closes [#323](https://github.com/kbknapp/clap-rs/issues/323))
* **POSIX Overrides:** fixes bug where required args are overridden ([40ed2b50](https://github.com/kbknapp/clap-rs/commit/40ed2b50c3a9fe88bfdbaa43cef9fd6493ecaa8e))
* **Safe Matches:** using 'safe' forms of the get_matches family no longer exit the process ([c47025dc](https://github.com/kbknapp/clap-rs/commit/c47025dca2b3305dea0a0acfdd741b09af0c0d05), closes [#256](https://github.com/kbknapp/clap-rs/issues/256))
* **Versionless SubCommands:** fixes a bug where the -V flag was needlessly built ([27df8b9d](https://github.com/kbknapp/clap-rs/commit/27df8b9d98d13709dad3929a009f40ebff089a1a), closes [#329](https://github.com/kbknapp/clap-rs/issues/329))
#### Documentation
* adds comparison in readme ([1a8bf31e](https://github.com/kbknapp/clap-rs/commit/1a8bf31e7a6b87ce48a66af2cde1645b2dd5bc95), closes [#325](https://github.com/kbknapp/clap-rs/issues/325))
<a name="v1.4.5"></a>
### v1.4.5 (2015-10-06)

View file

@ -1,7 +1,7 @@
[package]
name = "clap"
version = "1.4.5"
version = "1.4.6"
authors = ["Kevin K. <kbknapp@gmail.com>"]
exclude = ["examples/*", "clap-tests/*", "tests/*", "benches/*", "clap.png"]
description = "A simple to use, efficient, and full featured Command Line Argument Parser"
@ -19,18 +19,12 @@ yaml-rust = { version = "~0.2.2", optional = true }
clippy = { version = "~0.0.22", optional = true }
[features]
default = ["suggestions", "color"]
default = ["suggestions", "color"]
suggestions = ["strsim"]
color = ["ansi_term"]
yaml = ["yaml-rust"]
lints = ["clippy", "nightly"]
# for building with nightly and unstable features
nightly = []
# for building with travis-cargo
unstable = ["lints", "nightly"]
# for building with debug messages
debug = []
color = ["ansi_term"]
yaml = ["yaml-rust"]
lints = ["clippy", "nightly"]
nightly = [] # for building with nightly and unstable features
unstable = ["lints", "nightly"] # for building with travis-cargo
debug = [] # for building with debug messages

View file

@ -37,6 +37,7 @@ If you're already familiar with `clap` but just want to see some new highlights
* **Major Bug Fixes in 1.4.6** We recommend everyone upgrade as soon as possible. See the [the changelog](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md) for details.
* Using `get_matches_safe_*` family of methods no longer exits the process when help or version is displayed, instead it returns an `ClapError` with an `error_type` field set to `ClapErrorType::HelpDisplayed` or `ClapErrorType::VersionDisplayed` respectively. You must then call `ClapError::exit` or `std::process::exit` giving you the control.
* Allows parsing without a binary name preceeding (useful for daemon modes and interactive CLIs)
* `-Lvalue` style options are **now supported**! (i.e. `-L` is the short, and `value` is the value being passed. Equivilant to `-L value`). This can be combined with flag expansion. Example: `-lF2` could be parsed as `-l -F 2` where `-l` is a flag and `-F` is an option that takes a number.
* There is a **new opt-in setting** (`AppSettings::TrailingVarArg`) to allow the final positional argument to be a vararg and have `clap` not interpret the remaining arguments (i.e. useful when final argument should be a list of arguments for another command or process)
* You can now access values from an argument in a group via the group name, instead of having to check each arg name individually to find out which one was used. The same applies for checking if an arg from a group `is_present()`
@ -93,7 +94,7 @@ Reasons to use `docopt` instead of `clap`
* Performance isn't a concern
* You don't have any complex relationships between arguments
#### All else being equal, whare are some reasons to use `clap`?
#### All else being equal, what are some reasons to use `clap`?
`clap` is fast, and as lightweight as possible while still giving all the features you'd expect from a modern argument parser. If you use `clap` when just need some simple arguments parsed, you'll find it a walk in the park. But `clap` also makes it possible to represent extremely complex, and advanced requirements, without too much thought. `clap` aims to be intuitive, easy to use, and fully capable for wide variety use cases and needs.