mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
chore: increase version
This commit is contained in:
parent
6f97bd073c
commit
211e9d7ab3
3 changed files with 30 additions and 6 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -1,3 +1,23 @@
|
|||
<a name="v1.3.2"></a>
|
||||
### v1.3.2 (2015-09-08)
|
||||
|
||||
|
||||
#### Documentation
|
||||
|
||||
* fixed ClapErrorType docs ([dd057843](https://github.com/kbknapp/clap-rs/commit/dd05784327fa070eb6ce5ce89a8507e011d8db94))
|
||||
* **ClapErrorType:** changed examples content ([b9ca2616](https://github.com/kbknapp/clap-rs/commit/b9ca261634b89613bbf3d98fd74d55cefbb31a8c))
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
* fixes a bug where the help subcommand wasn't overridable ([94003db4](https://github.com/kbknapp/clap-rs/commit/94003db4b5eebe552ca337521c1c001295822745))
|
||||
|
||||
#### Features
|
||||
|
||||
* adds abiltiy not consume self when parsing matches and/or exit on help ([94003db4](https://github.com/kbknapp/clap-rs/commit/94003db4b5eebe552ca337521c1c001295822745))
|
||||
* **App:** Added ability for users to handle errors themselves ([934e6fbb](https://github.com/kbknapp/clap-rs/commit/934e6fbb643b2385efc23444fe6fce31494dc288))
|
||||
|
||||
|
||||
|
||||
<a name="v1.3.1"></a>
|
||||
### v1.3.1 (2015-09-04)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
|
||||
name = "clap"
|
||||
version = "1.3.1"
|
||||
version = "1.3.2"
|
||||
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"
|
||||
|
|
14
README.md
14
README.md
|
@ -8,8 +8,11 @@ It is a simple to use, efficient, and full featured library for parsing command
|
|||
|
||||
## What's New
|
||||
|
||||
If you're already familiar with `clap` but just want to see some new highlights as of **1.3.0**
|
||||
If you're already familiar with `clap` but just want to see some new highlights as of **1.3.2**
|
||||
|
||||
* Code Coverage has now been added, and is slowly going up (See the badge at the top of this page)! Thanks to [Vinatorul](https://github.com/vinatorul) for the leg work!
|
||||
* You can now call `get_matches_*` to *not* consume the `App` struct (See those ending in `_borrow`)
|
||||
* You can now handle get a `Result` from the `get_matches_*` methods in order to handle errors if you so choose (see those ending in `_safe`)
|
||||
* You can now **build a CLI from YAML** - This keeps your Rust source nice and tidy :) Full details can be found in [examples/17_yaml.rs](https://github.com/kbknapp/clap-rs/blob/master/examples/17_yaml.rs)
|
||||
* A very minor "breaking" change which should affect very, very few people. If you're using `ArgGroup::*_all`, they no longer take a `Vec<&str>`, but now takes a far more versatile `&[&str]`. If you were using code such as `.add_all(vec!["arg1", "arg2"])` you only need to change the `vec!`->`&` and it should work again. This also has the added benefit of not needlessly allocating the `Vec`!
|
||||
* Some other minor bug fixes and improvements
|
||||
|
@ -475,6 +478,11 @@ There are a few goals of `clap` that I'd like to maintain throughout contributio
|
|||
|
||||
Although I do my best to keep breaking changes to a minimum, being that this a sub 1.0 library, there are breaking changes from time to time in order to support better features or implementation. For the full details see the changelog.md
|
||||
|
||||
* As of 1.3.0
|
||||
- `ArgGroup::add_all` now takes `&[&str]` instead of a `Vec<&str>`
|
||||
- `ArgGroup::requires_all` now takes `&[&str]` instead of a `Vec<&str>`
|
||||
- `ArgGroup::conflicts_with_all` now takes `&[&str]` instead of a `Vec<&str>`
|
||||
|
||||
* As of 0.11.0: The default short flag for `version` has changed from `-v` to `-V` (Uppercase). Although you can also now override the short flag for `help` and `version` using `App::help_short()` and `App::version_short()`
|
||||
* As of 0.7.0
|
||||
- `Arg::possible_values()`, `Arg::value_names()`, `Arg::requires_all()`, `Arg::mutually_excludes_all()` [deprecated], `Arg::conflicts_with_all()`
|
||||
|
@ -491,10 +499,6 @@ Although I do my best to keep breaking changes to a minimum, being that this a s
|
|||
|
||||
Old method names will be left around for some time.
|
||||
|
||||
* As of 1.3.0
|
||||
- `ArgGroup::add_all` now takes `&[&str]` instead of a `Vec<&str>`
|
||||
- `ArgGroup::requires_all` now takes `&[&str]` instead of a `Vec<&str>`
|
||||
- `ArgGroup::conflicts_with_all` now takes `&[&str]` instead of a `Vec<&str>`
|
||||
* As of 1.2.0 (Will **not** be removed until 2.x)
|
||||
- `App::subcommands_negate_reqs(bool)` -> `AppSettings::SubcommandsNegateReqs` passed to `App::setting()`
|
||||
- `App::subcommand_required(bool)` -> `AppSettings::SubcommandRequired` passed to `App::setting()`
|
||||
|
|
Loading…
Reference in a new issue