Skip to content

Commit

Permalink
Release 3.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Aug 14, 2021
1 parent a9b86ec commit 73b28fb
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ TODO: `YamlLoader`
<a name="v3.0.0-rc.0"></a>
## v3.0.0-rc.0

#### BREAKING CHANGES



<a name="v3.0.0-beta.3"></a>
## v3.0.0-beta.3 (2021-08-14)

#### Minimum Required Rust
* As of this release, `clap` requires `rustc 1.54.0` or greater.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clap"
version = "3.0.0-beta.2"
version = "3.0.0-beta.3"
edition = "2018"
authors = [
"Kevin K. <[email protected]>",
Expand Down
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand All @@ -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"]
```
Expand All @@ -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
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion clap_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion clap_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clap_generate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion clap_generate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
//! <https://github.com/clap-rs/clap>
#![crate_type = "lib"]
Expand Down

0 comments on commit 73b28fb

Please sign in to comment.