From 73b28fb1043a60f0110c7ab4fb0d8e47370ad0f2 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Sat, 14 Aug 2021 23:01:13 +0100 Subject: [PATCH] Release 3.0.0-beta.3 clap@3.0.0-beta.3 clap_derive@3.0.0-beta.3 clap_generate@3.0.0-beta.3 Generated by cargo-workspaces --- .github/workflows/ci.yml | 6 +++--- CHANGELOG.md | 7 +++++++ Cargo.toml | 2 +- README.md | 18 +++++++----------- clap_derive/Cargo.toml | 2 +- clap_derive/src/lib.rs | 2 +- clap_generate/Cargo.toml | 2 +- clap_generate/src/lib.rs | 2 +- src/lib.rs | 2 +- 9 files changed, 23 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc613ce98bd..c2b42147deb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: if: matrix.features == 'none' with: command: test - args: --target ${{ matrix.target }} --no-default-features --features "std cargo" -p clap:3.0.0-beta.2 + args: --target ${{ matrix.target }} --no-default-features --features "std cargo" -p clap:3.0.0-beta.3 - name: Test all features uses: actions-rs/cargo@v1 if: matrix.features == 'all' @@ -139,7 +139,7 @@ jobs: if: matrix.features == 'none' with: command: test - args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.2 + args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.3 - name: Test all features uses: actions-rs/cargo@v1 if: matrix.features == 'all' @@ -196,7 +196,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.2 + args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.3 - name: Clippy for all features uses: actions-rs/cargo@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index f773419ee25..15770a0aa86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ TODO: `YamlLoader` ## v3.0.0-rc.0 +#### BREAKING CHANGES + + + + +## v3.0.0-beta.3 (2021-08-14) + #### Minimum Required Rust * As of this release, `clap` requires `rustc 1.54.0` or greater. diff --git a/Cargo.toml b/Cargo.toml index 81e25f27168..6eaf2284df8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap" -version = "3.0.0-beta.2" +version = "3.0.0-beta.3" edition = "2018" authors = [ "Kevin K. ", diff --git a/README.md b/README.md index f18d2303467..5e56af25563 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ It is a simple-to-use, efficient, and full-featured library for parsing command * [Questions & Discussions](https://github.com/clap-rs/clap/discussions) * [Website](https://clap.rs/) -We are currently hard at work trying to release `3.0`. We have a `3.0.0-beta.2` prerelease out but we do not give any guarantees that its API is stable. We do not have a changelog yet which will be written down after we are sure about the API stability. We recommend users to not update to the prerelease version yet and to wait for the official `3.0`. +We are currently hard at work trying to release `3.0`. We have a `3.0.0-beta.3` prerelease out but we do not give any guarantees that its API is stable. We do not have a changelog yet which will be written down after we are sure about the API stability. We recommend users to not update to the prerelease version yet and to wait for the official `3.0`. > If you're looking for the readme & examples for `clap v2.33` - find it on [github](https://github.com/clap-rs/clap/tree/v2.33.0), [crates.io](https://crates.io/crates/clap/2.33.0), [docs.rs](https://docs.rs/clap/2.33.0/clap/). @@ -125,7 +125,7 @@ Add `clap` to your `Cargo.toml` ```toml [dependencies] -clap = "3.0.0-beta.2" +clap = "3.0.0-beta.3" ``` #### Using Derive Macros @@ -349,7 +349,7 @@ Simply add the `yaml` feature flag to your `Cargo.toml`. ```toml [dependencies] -clap = { version = "3.0.0-beta.2", features = ["yaml"] } +clap = { version = "3.0.0-beta.3", features = ["yaml"] } ``` Finally we create our `main.rs` file just like we would have with the previous two examples: @@ -455,7 +455,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` to use from crat ```toml [dependencies] -clap = "3.0.0-beta.2" +clap = "3.0.0-beta.3" ``` Define a list of valid arguments for your program (see the [documentation][docs] or [examples][examples] directory of this repo) @@ -480,7 +480,7 @@ To disable these, add this to your `Cargo.toml`: ```toml [dependencies.clap] -version = "3.0.0-beta.2" +version = "3.0.0-beta.3" default-features = false features = ["std"] ``` @@ -489,7 +489,7 @@ You can also selectively enable only the features you'd like to include, by addi ```toml [dependencies.clap] -version = "3.0.0-beta.2" +version = "3.0.0-beta.3" default-features = false # Cherry-pick the features you'd like to use @@ -544,17 +544,13 @@ In order to keep from being surprised of breaking changes, it is **highly** reco ```toml [dependencies] -clap = "~3.0.0-beta.2" +clap = "~3.0.0" ``` 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. #### Minimum Supported Version of Rust (MSRV) -`clap` will officially support current stable Rust, minus two releases, but may work with prior releases as well. For example, current stable Rust at the time of this writing is 1.38.0, meaning `clap` is guaranteed to compile with 1.36.0 and beyond. - -At the 1.39.0 stable release, `clap` will be guaranteed to compile with 1.37.0 and beyond, etc. - The following is a list of the minimum required version of Rust to compile `clap` by our `MAJOR.MINOR` version number: | clap | MSRV | diff --git a/clap_derive/Cargo.toml b/clap_derive/Cargo.toml index 37bc5a78d77..e84d748d4f8 100644 --- a/clap_derive/Cargo.toml +++ b/clap_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_derive" -version = "3.0.0-beta.2" +version = "3.0.0-beta.3" edition = "2018" authors = [ "Guillaume Pinot ", diff --git a/clap_derive/src/lib.rs b/clap_derive/src/lib.rs index 2fbecfa0459..b24bf04f7cb 100644 --- a/clap_derive/src/lib.rs +++ b/clap_derive/src/lib.rs @@ -13,7 +13,7 @@ // MIT/Apache 2.0 license. #![doc(html_logo_url = "https://clap.rs/images/media/clap.png")] -#![doc(html_root_url = "https://docs.rs/clap_derive/3.0.0-beta.2")] +#![doc(html_root_url = "https://docs.rs/clap_derive/3.0.0-beta.3")] //! This crate is custom derive for clap. It should not be used //! directly. See [clap documentation](clap) diff --git a/clap_generate/Cargo.toml b/clap_generate/Cargo.toml index 675bb51b087..d2d6a99e268 100644 --- a/clap_generate/Cargo.toml +++ b/clap_generate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_generate" -version = "3.0.0-beta.2" +version = "3.0.0-beta.3" edition = "2018" authors = [ "Kevin K. ", diff --git a/clap_generate/src/lib.rs b/clap_generate/src/lib.rs index 4cfcd6ae71a..97b2b05550e 100644 --- a/clap_generate/src/lib.rs +++ b/clap_generate/src/lib.rs @@ -8,7 +8,7 @@ //! Generates stuff for [`clap`](https://github.com/clap-rs/clap) based CLIs #![doc(html_logo_url = "https://clap.rs/images/media/clap.png")] -#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.2")] +#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.3")] #![deny(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)] #![forbid(unsafe_code)] #![allow(clippy::needless_doctest_main)] diff --git a/src/lib.rs b/src/lib.rs index 7d786abaabf..91a92dba241 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ // notice may not be copied, modified, or distributed except according to those terms. #![doc(html_logo_url = "https://clap.rs/images/media/clap.png")] -#![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.2")] +#![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.3")] #![doc = include_str!("../README.md")] //! #![crate_type = "lib"]