Skip to content

Commit e6729f9

Browse files
committed
chore: Release
1 parent aad9fdc commit e6729f9

File tree

12 files changed

+46
-37
lines changed

12 files changed

+46
-37
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
<!-- next-header -->
88
## [Unreleased] - ReleaseDate
99

10+
## [3.1.0] - 2022-02-16
11+
1012
### Compatibility
1113

1214
Changes in behavior of note that are not guaranteed to be compatible across releases:
@@ -3190,7 +3192,8 @@ Minimum version of Rust is now v1.13.0 (Stable)
31903192
* **arg** allow lifetimes other than 'static in arguments ([9e8c1fb9](https://github.com/clap-rs/clap/commit/9e8c1fb9406f8448873ca58bab07fe905f1551e5))
31913193

31923194
<!-- next-url -->
3193-
[Unreleased]: https://github.com/clap-rs/clap/compare/v3.0.14...HEAD
3195+
[Unreleased]: https://github.com/clap-rs/clap/compare/v3.1.0...HEAD
3196+
[3.1.0]: https://github.com/clap-rs/clap/compare/v3.0.14...v3.1.0
31943197
[3.0.14]: https://github.com/clap-rs/clap/compare/v3.0.13...v3.0.14
31953198
[3.0.13]: https://github.com/clap-rs/clap/compare/v3.0.12...v3.0.13
31963199
[3.0.12]: https://github.com/clap-rs/clap/compare/v3.0.11...v3.0.12

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ members = [
88

99
[package]
1010
name = "clap"
11-
version = "3.0.14"
11+
version = "3.1.0"
1212
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
1313
repository = "https://github.com/clap-rs/clap"
1414
documentation = "https://docs.rs/clap/"
@@ -116,7 +116,7 @@ name = "06_rustup"
116116
path = "benches/06_rustup.rs"
117117

118118
[dependencies]
119-
clap_derive = { path = "./clap_derive", version = "3.0.0", optional = true }
119+
clap_derive = { path = "./clap_derive", version = "3.1.0", optional = true }
120120
bitflags = "1.2"
121121
textwrap = { version = "0.14.0", default-features = false, features = [] }
122122
unicase = { version = "2.6", optional = true }

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
66
[![Crates.io](https://img.shields.io/crates/v/clap?style=flat-square)](https://crates.io/crates/clap)
77
[![Crates.io](https://img.shields.io/crates/d/clap?style=flat-square)](https://crates.io/crates/clap)
8-
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.0.14/LICENSE-APACHE)
9-
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.0.14/LICENSE-MIT)
8+
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.1.0/LICENSE-APACHE)
9+
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.1.0/LICENSE-MIT)
1010
[![Build Status](https://img.shields.io/github/workflow/status/clap-rs/clap/CI/staging?style=flat-square)](https://github.com/clap-rs/clap/actions/workflows/ci.yml?query=branch%3Astaging)
1111
[![Coverage Status](https://img.shields.io/coveralls/github/clap-rs/clap/master?style=flat-square)](https://coveralls.io/github/clap-rs/clap?branch=master)
1212
[![Contributors](https://img.shields.io/github/contributors/clap-rs/clap?style=flat-square)](https://github.com/clap-rs/clap/graphs/contributors)
1313

1414
Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
1515

1616
1. [About](#about)
17-
2. Tutorial: [Builder API](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_builder/README.md), [Derive API](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_derive/README.md)
18-
3. [Examples](https://github.com/clap-rs/clap/blob/v3.0.14/examples/README.md)
17+
2. Tutorial: [Builder API](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_builder/README.md), [Derive API](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_derive/README.md)
18+
3. [Examples](https://github.com/clap-rs/clap/blob/v3.1.0/examples/README.md)
1919
4. [API Reference](https://docs.rs/clap)
20-
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.14/examples/derive_ref/README.md)
20+
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.1.0/examples/derive_ref/README.md)
2121
- [Feature Flags](#feature-flags)
22-
5. [CHANGELOG](https://github.com/clap-rs/clap/blob/v3.0.14/CHANGELOG.md)
23-
6. [FAQ](https://github.com/clap-rs/clap/blob/v3.0.14/docs/FAQ.md)
22+
5. [CHANGELOG](https://github.com/clap-rs/clap/blob/v3.1.0/CHANGELOG.md)
23+
6. [FAQ](https://github.com/clap-rs/clap/blob/v3.1.0/docs/FAQ.md)
2424
7. [Questions & Discussions](https://github.com/clap-rs/clap/discussions)
25-
8. [Contributing](https://github.com/clap-rs/clap/blob/v3.0.14/CONTRIBUTING.md)
25+
8. [Contributing](https://github.com/clap-rs/clap/blob/v3.1.0/CONTRIBUTING.md)
2626
8. [Sponsors](#sponsors)
2727

2828
## About
@@ -32,8 +32,8 @@ Create your command-line parser, with all of the bells and whistles, declarative
3232
### Example
3333

3434
This uses our
35-
[Derive API](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_derive/README.md)
36-
which provides access to the [Builder API](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_builder/README.md) as attributes on a `struct`:
35+
[Derive API](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_derive/README.md)
36+
which provides access to the [Builder API](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_builder/README.md) as attributes on a `struct`:
3737

3838
<!-- Copied from examples/demo.{rs,md} -->
3939
```rust,no_run
@@ -63,7 +63,7 @@ fn main() {
6363
Add this to `Cargo.toml`:
6464
```toml
6565
[dependencies]
66-
clap = { version = "3.0.14", features = ["derive"] }
66+
clap = { version = "3.1.0", features = ["derive"] }
6767
```
6868
```bash
6969
$ demo --help
@@ -103,12 +103,12 @@ CLI parsers optimized for other use cases.
103103

104104
### Selecting an API
105105

106-
Why use the declarative [Derive API](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_derive/README.md):
106+
Why use the declarative [Derive API](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_derive/README.md):
107107
- Easier to read, write, and modify
108108
- Easier to keep the argument declaration and reading of argument in sync
109109
- Easier to reuse, e.g. [clap-verbosity-flag](https://crates.io/crates/clap-verbosity-flag)
110110

111-
Why use the procedural [Builder API](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_builder/README.md):
111+
Why use the procedural [Builder API](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_builder/README.md):
112112
- Faster compile times if you aren't already using other procedural macros
113113
- More flexible, e.g. you can look up how many times an argument showed up,
114114
what its values were, and what were the indexes of those values. The Derive

clap_complete/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
<!-- next-header -->
88
## [Unreleased] - ReleaseDate
99

10+
## [3.1.0] - 2022-02-16
11+
1012
### Fixes
1113

1214
- Fish: escape possible values (#3467)
@@ -41,7 +43,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4143
## [3.0.1] - 2022-01-03
4244

4345
<!-- next-url -->
44-
[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete-v3.0.6...HEAD
46+
[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete-v3.1.0...HEAD
47+
[3.1.0]: https://github.com/clap-rs/clap/compare/clap_complete-v3.0.6...clap_complete-v3.1.0
4548
[3.0.6]: https://github.com/clap-rs/clap/compare/clap_complete-v3.0.5...clap_complete-v3.0.6
4649
[3.0.5]: https://github.com/clap-rs/clap/compare/clap_complete-v3.0.4...clap_complete-v3.0.5
4750
[3.0.4]: https://github.com/clap-rs/clap/compare/clap_complete-v3.0.3...clap_complete-v3.0.4

clap_complete/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clap_complete"
3-
version = "3.0.6"
3+
version = "3.1.0"
44
edition = "2018"
55
include = [
66
"src/**/*",
@@ -35,11 +35,11 @@ pre-release-replacements = [
3535
bench = false
3636

3737
[dependencies]
38-
clap = { path = "../", version = "3.0.0", default-features = false, features = ["std"] }
38+
clap = { path = "../", version = "3.1.0", default-features = false, features = ["std"] }
3939

4040
[dev-dependencies]
4141
pretty_assertions = "1.0"
42-
clap = { path = "../", version = "3.0.0", default-features = false, features = ["std", "derive"] }
42+
clap = { path = "../", version = "3.1.0", default-features = false, features = ["std", "derive"] }
4343

4444
[features]
4545
default = []

clap_complete/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
66
[![Crates.io](https://img.shields.io/crates/v/clap_complete?style=flat-square)](https://crates.io/crates/clap_complete)
77
[![Crates.io](https://img.shields.io/crates/d/clap_complete?style=flat-square)](https://crates.io/crates/clap_complete)
8-
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v3.0.6/LICENSE-APACHE)
9-
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v3.0.6/LICENSE-MIT)
8+
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v3.1.0/LICENSE-APACHE)
9+
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v3.1.0/LICENSE-MIT)
1010

1111
Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
1212

1313
1. [About](#about)
1414
2. [API Reference](https://docs.rs/clap_complete)
1515
3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions)
16-
4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_complete-v3.0.6/clap_complete/CONTRIBUTING.md)
17-
5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_complete-v3.0.6/README.md#sponsors)
16+
4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_complete-v3.1.0/clap_complete/CONTRIBUTING.md)
17+
5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_complete-v3.1.0/README.md#sponsors)
1818

1919
## About
2020

clap_complete_fig/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
<!-- next-header -->
88
## [Unreleased] - ReleaseDate
99

10+
## [3.1.0] - 2022-02-16
11+
1012
## [3.0.2] - 2022-01-12
1113

1214
## [3.0.1] - 2022-01-03
1315

1416
<!-- next-url -->
15-
[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v3.0.2...HEAD
17+
[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v3.1.0...HEAD
18+
[3.1.0]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v3.0.2...clap_complete_fig-v3.1.0
1619
[3.0.2]: https://github.com/clap-rs/clap/compare/v3.0.1...clap_complete_fig-v3.0.2
1720
[3.0.1]: https://github.com/clap-rs/clap/compare/v3.0.0...v3.0.1

clap_complete_fig/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clap_complete_fig"
3-
version = "3.0.2"
3+
version = "3.1.0"
44
edition = "2018"
55
include = [
66
"src/**/*",
@@ -38,8 +38,8 @@ pre-release-replacements = [
3838
bench = false
3939

4040
[dependencies]
41-
clap = { path = "../", version = "3.0.0", default-features = false, features = ["std"] }
42-
clap_complete = { path = "../clap_complete", version = "3.0.0"}
41+
clap = { path = "../", version = "3.1.0", default-features = false, features = ["std"] }
42+
clap_complete = { path = "../clap_complete", version = "3.1.0" }
4343

4444
[dev-dependencies]
4545
pretty_assertions = "1.0"

clap_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clap_derive"
3-
version = "3.0.14"
3+
version = "3.1.0"
44
edition = "2018"
55
include = [
66
"src/**/*",

clap_derive/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Macro implementation for clap's derives.
44

55
[docs.rs](https://docs.rs/clap)
6-
- [Derive Tutorial](https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_derive/README.md)
7-
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.14/examples/derive_ref/README.md)
6+
- [Derive Tutorial](https://github.com/clap-rs/clap/blob/v3.1.0/examples/tutorial_derive/README.md)
7+
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.1.0/examples/derive_ref/README.md)
88

99
## License
1010

clap_mangen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ bench = false
3636

3737
[dependencies]
3838
roff = "0.2.1"
39-
clap = { path = "../", version = "3.0", default-features = false, features = ["std", "env"] }
39+
clap = { path = "../", version = "3.1", default-features = false, features = ["std", "env"] }
4040

4141
[dev-dependencies]
4242
pretty_assertions = "1.0"
43-
clap = { path = "../", version = "3.0", default-features = false, features = ["std"] }
43+
clap = { path = "../", version = "3.1", default-features = false, features = ["std"] }
4444

4545
[features]
4646
default = []

src/derive.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::ffi::OsString;
2020
/// See also [`Subcommand`] and [`Args`].
2121
///
2222
/// See the
23-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.14/examples/derive_ref/README.md)
23+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.1.0/examples/derive_ref/README.md)
2424
/// for attributes and best practices.
2525
///
2626
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -306,7 +306,7 @@ pub trait FromArgMatches: Sized {
306306
/// - `Variant(ChildArgs)`: No attribute is used with enum variants that impl `Args`.
307307
///
308308
/// See the
309-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.14/examples/derive_ref/README.md)
309+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.1.0/examples/derive_ref/README.md)
310310
/// for attributes and best practices.
311311
///
312312
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -350,7 +350,7 @@ pub trait Args: FromArgMatches + Sized {
350350
/// `Subcommand`.
351351
///
352352
/// See the
353-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.14/examples/derive_ref/README.md)
353+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.1.0/examples/derive_ref/README.md)
354354
/// for attributes and best practices.
355355
///
356356
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -394,7 +394,7 @@ pub trait Subcommand: FromArgMatches + Sized {
394394
/// - Allowing using the `#[clap(default_value_t)]` attribute without implementing `Display`.
395395
///
396396
/// See the
397-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.14/examples/derive_ref/README.md)
397+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.1.0/examples/derive_ref/README.md)
398398
/// for attributes and best practices.
399399
///
400400
/// **NOTE:** Deriving requires the `derive` feature flag

0 commit comments

Comments
 (0)