chore: increase version

This commit is contained in:
Kevin K 2017-12-02 15:11:52 -05:00
parent ebc35bdc91
commit e962f2cece
No known key found for this signature in database
GPG key ID: 17218E4B3692F01A
4 changed files with 23 additions and 9 deletions

View file

@ -1,3 +1,13 @@
<a name="2.29.0"></a>
## 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](https://github.com/kbknapp/clap-rs/commit/fb41d062eedf37cb4f805c90adca29909bd197d7))
<a name="2.28.0"></a>
## 2.28.0 (2017-11-28)

View file

@ -1,7 +1,7 @@
[package]
name = "clap"
version = "2.28.0"
version = "2.29.0"
authors = ["Kevin K. <kbknapp@gmail.com>"]
exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"]
repository = "https://github.com/kbknapp/clap-rs"

View file

@ -42,6 +42,10 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
## What's New
Here's whats new in 2.29.0:
* **Arg:** adds Arg::hide_env_values(bool) which allows one to hide any current env values and display only the key in help messages
Here's whats new in 2.28.0:
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!
@ -297,7 +301,7 @@ subcommands:
Since this feature requires additional dependencies that not everyone may want, it is *not* compiled in by default and we need to enable a feature flag in Cargo.toml:
Simply change your `clap = "2.28"` to `clap = {version = "2.87", features = ["yaml"]}`.
Simply change your `clap = "2.29"` to `clap = {version = "2.87", features = ["yaml"]}`.
Finally we create our `main.rs` file just like we would have with the previous two examples:
@ -417,7 +421,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` () to use from c
```toml
[dependencies]
clap = "~2.28"
clap = "~2.29"
```
(**note**: If you are concerned with supporting a minimum version of Rust that is *older* than the current stable Rust minus 2 stable releases, it's recommended to use the `~major.minor.patch` style versions in your `Cargo.toml` which will only update the patch version automatically. For more information see the [Compatibility Policy](#compatibility-policy))
@ -441,7 +445,7 @@ To disable these, add this to your `Cargo.toml`:
```toml
[dependencies.clap]
version = "2.28"
version = "2.29"
default-features = false
```
@ -449,7 +453,7 @@ You can also selectively enable only the features you'd like to include, by addi
```toml
[dependencies.clap]
version = "2.28"
version = "2.29"
default-features = false
# Cherry-pick the features you'd like to use
@ -497,7 +501,7 @@ In order to keep from being surprised of breaking changes, it is **highly** reco
```toml
[dependencies]
clap = "~2.28"
clap = "~2.29"
```
This will cause *only* the patch version to be updated upon a `cargo update` call, and therefore cannot break due to new features, or bumped minimum versions of Rust.
@ -514,11 +518,11 @@ Right now Cargo's version resolution is pretty naive, it's just a brute-force se
# In one Cargo.toml
[dependencies]
clap = "~2.28.0"
clap = "~2.29.0"
# In another Cargo.toml
[dependencies]
clap = "2.28"
clap = "2.29"
```
This is inherently an unresolvable crate graph in Cargo right now. Cargo requires there's only one major version of a crate, and being in the same workspace these two crates must share a version. This is impossible in this location, though, as these version constraints cannot be met.

View file

@ -513,7 +513,7 @@
//! this repository for more information.
#![crate_type = "lib"]
#![doc(html_root_url = "https://docs.rs/clap/2.28.0")]
#![doc(html_root_url = "https://docs.rs/clap/2.29.0")]
#![deny(missing_docs, missing_debug_implementations, missing_copy_implementations, trivial_casts,
unused_import_braces, unused_allocation)]
// Lints we'd like to deny but are currently failing for upstream crates