From e962f2ceced8c04105ad12a4ca719daf2942667b Mon Sep 17 00:00:00 2001 From: Kevin K Date: Sat, 2 Dec 2017 15:11:52 -0500 Subject: [PATCH] chore: increase version --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- README.md | 18 +++++++++++------- src/lib.rs | 2 +- 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 541185da..43a9a897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## 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)) + + + ## 2.28.0 (2017-11-28) diff --git a/Cargo.toml b/Cargo.toml index a12f0712..63e9922b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clap" -version = "2.28.0" +version = "2.29.0" authors = ["Kevin K. "] exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"] repository = "https://github.com/kbknapp/clap-rs" diff --git a/README.md b/README.md index c1e2c064..445f89e9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/lib.rs b/src/lib.rs index bf2ec0ef..a55ed80e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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