diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c068b6141f..048895282b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [4.5.5] - 2024-06-06 + ### Fixes - Allow `exclusive` to override `required_unless_present`, `required_unless_present_any`, `required_unless_present_all` @@ -4571,7 +4573,8 @@ Minimum version of Rust is now v1.13.0 (Stable) * **arg** allow lifetimes other than 'static in arguments ([9e8c1fb9](https://github.com/clap-rs/clap/commit/9e8c1fb9406f8448873ca58bab07fe905f1551e5)) -[Unreleased]: https://github.com/clap-rs/clap/compare/v4.5.4...HEAD +[Unreleased]: https://github.com/clap-rs/clap/compare/v4.5.5...HEAD +[4.5.5]: https://github.com/clap-rs/clap/compare/v4.5.4...v4.5.5 [4.5.4]: https://github.com/clap-rs/clap/compare/v4.5.3...v4.5.4 [4.5.3]: https://github.com/clap-rs/clap/compare/v4.5.2...v4.5.3 [4.5.2]: https://github.com/clap-rs/clap/compare/v4.5.1...v4.5.2 diff --git a/CITATION.cff b/CITATION.cff index 6b1b6121df3..ea5c32052cf 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,8 +3,8 @@ cff-version: 1.2.0 message: Please cite this crate using these information. # Version information. -date-released: 2024-03-25 -version: 4.5.4 +date-released: 2024-06-06 +version: 4.5.5 # Project information. abstract: A full featured, fast Command Line Argument Parser for Rust diff --git a/Cargo.lock b/Cargo.lock index 9424bac0161..5ff142d713e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,10 +410,10 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.4" +version = "4.5.5" dependencies = [ "automod", - "clap_builder 4.5.2", + "clap_builder 4.5.5", "clap_derive", "humantime", "rustversion", @@ -427,7 +427,7 @@ dependencies = [ name = "clap_bench" version = "0.0.0" dependencies = [ - "clap 4.5.4", + "clap 4.5.5", "divan", "lazy_static", ] @@ -447,12 +447,12 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.5" dependencies = [ "anstream", "anstyle", "backtrace", - "clap_lex 0.7.0", + "clap_lex 0.7.1", "color-print", "static_assertions", "strsim 0.11.0", @@ -464,11 +464,11 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.5.2" +version = "4.5.3" dependencies = [ "automod", - "clap 4.5.4", - "clap_lex 0.7.0", + "clap 4.5.5", + "clap_lex 0.7.1", "completest", "completest-pty", "is_executable", @@ -481,18 +481,18 @@ dependencies = [ [[package]] name = "clap_complete_fig" -version = "4.5.0" +version = "4.5.1" dependencies = [ - "clap 4.5.4", + "clap 4.5.5", "clap_complete", "snapbox", ] [[package]] name = "clap_complete_nushell" -version = "4.5.1" +version = "4.5.2" dependencies = [ - "clap 4.5.4", + "clap 4.5.5", "clap_complete", "completest", "completest-nu", @@ -501,7 +501,7 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.5" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -517,17 +517,17 @@ checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.1" dependencies = [ "automod", ] [[package]] name = "clap_mangen" -version = "0.2.20" +version = "0.2.21" dependencies = [ "automod", - "clap 4.5.4", + "clap 4.5.5", "roff", "snapbox", ] diff --git a/Cargo.toml b/Cargo.toml index 1c6ab06597f..c43b217cea0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,7 +101,7 @@ blocks_in_conditions = "allow" [package] name = "clap" -version = "4.5.4" +version = "4.5.5" description = "A simple to use, efficient, and full-featured Command Line Argument Parser" categories = ["command-line-interface"] keywords = [ @@ -176,8 +176,8 @@ unstable-styles = ["clap_builder/unstable-styles"] bench = false [dependencies] -clap_builder = { path = "./clap_builder", version = "=4.5.2", default-features = false } -clap_derive = { path = "./clap_derive", version = "=4.5.4", optional = true } +clap_builder = { path = "./clap_builder", version = "=4.5.5", default-features = false } +clap_derive = { path = "./clap_derive", version = "=4.5.5", optional = true } [dev-dependencies] trybuild = "1.0.91" diff --git a/clap_builder/Cargo.toml b/clap_builder/Cargo.toml index 03611a30310..072d30236d4 100644 --- a/clap_builder/Cargo.toml +++ b/clap_builder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_builder" -version = "4.5.2" +version = "4.5.5" description = "A simple to use, efficient, and full-featured Command Line Argument Parser" categories = ["command-line-interface"] keywords = [ diff --git a/clap_complete/CHANGELOG.md b/clap_complete/CHANGELOG.md index 38730761f3a..502fa70fdea 100644 --- a/clap_complete/CHANGELOG.md +++ b/clap_complete/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [4.5.3] - 2024-06-06 + ## [4.5.2] - 2024-04-09 ### Fixes @@ -242,7 +244,8 @@ MSRV changed to 1.64.0 ## [3.0.1] - 2022-01-03 -[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete-v4.5.2...HEAD +[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete-v4.5.3...HEAD +[4.5.3]: https://github.com/clap-rs/clap/compare/clap_complete-v4.5.2...clap_complete-v4.5.3 [4.5.2]: https://github.com/clap-rs/clap/compare/clap_complete-v4.5.1...clap_complete-v4.5.2 [4.5.1]: https://github.com/clap-rs/clap/compare/clap_complete-v4.5.0...clap_complete-v4.5.1 [4.5.0]: https://github.com/clap-rs/clap/compare/clap_complete-v4.4.10...clap_complete-v4.5.0 diff --git a/clap_complete/Cargo.toml b/clap_complete/Cargo.toml index a864f3be2e6..3d118083e4c 100644 --- a/clap_complete/Cargo.toml +++ b/clap_complete/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_complete" -version = "4.5.2" +version = "4.5.3" description = "Generate shell completion scripts for your clap::Command" categories = ["command-line-interface"] keywords = [ diff --git a/clap_complete/README.md b/clap_complete/README.md index 844857b4ab5..59d82b50493 100644 --- a/clap_complete/README.md +++ b/clap_complete/README.md @@ -5,16 +5,16 @@ [![Crates.io](https://img.shields.io/crates/v/clap_complete?style=flat-square)](https://crates.io/crates/clap_complete) [![Crates.io](https://img.shields.io/crates/d/clap_complete?style=flat-square)](https://crates.io/crates/clap_complete) -[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.2/LICENSE-APACHE) -[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.2/LICENSE-MIT) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.3/LICENSE-APACHE) +[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.3/LICENSE-MIT) Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT). 1. [About](#about) 2. [API Reference](https://docs.rs/clap_complete) 3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions) -4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.2/clap_complete/CONTRIBUTING.md) -5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.2/README.md#sponsors) +4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.3/clap_complete/CONTRIBUTING.md) +5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_complete-v4.5.3/README.md#sponsors) ## About diff --git a/clap_complete_fig/CHANGELOG.md b/clap_complete_fig/CHANGELOG.md index 9e9a4115e6a..f63aedc8d0e 100644 --- a/clap_complete_fig/CHANGELOG.md +++ b/clap_complete_fig/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [4.5.1] - 2024-06-06 + ## [4.5.0] - 2024-02-08 ### Compatibility @@ -89,7 +91,8 @@ MSRV changed to 1.64.0 ## [3.0.1] - 2022-01-03 -[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.5.0...HEAD +[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.5.1...HEAD +[4.5.1]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.5.0...clap_complete_fig-v4.5.1 [4.5.0]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.4.2...clap_complete_fig-v4.5.0 [4.4.2]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.4.1...clap_complete_fig-v4.4.2 [4.4.1]: https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.4.0...clap_complete_fig-v4.4.1 diff --git a/clap_complete_fig/Cargo.toml b/clap_complete_fig/Cargo.toml index 1db249f367f..9ebdc7b6619 100644 --- a/clap_complete_fig/Cargo.toml +++ b/clap_complete_fig/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_complete_fig" -version = "4.5.0" +version = "4.5.1" description = "A generator library used with clap for Fig completion scripts" categories = ["command-line-interface"] keywords = [ diff --git a/clap_complete_nushell/CHANGELOG.md b/clap_complete_nushell/CHANGELOG.md index 53fb2db2a7f..6f439379817 100644 --- a/clap_complete_nushell/CHANGELOG.md +++ b/clap_complete_nushell/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [4.5.2] - 2024-06-06 + ## [4.5.1] - 2024-02-16 ### Fixes @@ -40,7 +42,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [4.3.0] - 2023-05-24 -[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.1...HEAD +[Unreleased]: https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.2...HEAD +[4.5.2]: https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.1...clap_complete_nushell-v4.5.2 [4.5.1]: https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.0...clap_complete_nushell-v4.5.1 [4.5.0]: https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.4.2...clap_complete_nushell-v4.5.0 [4.4.2]: https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.4.1...clap_complete_nushell-v4.4.2 diff --git a/clap_complete_nushell/Cargo.toml b/clap_complete_nushell/Cargo.toml index 07f8eac959a..83e0db6c673 100644 --- a/clap_complete_nushell/Cargo.toml +++ b/clap_complete_nushell/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_complete_nushell" -version = "4.5.1" +version = "4.5.2" description = "A generator library used with clap for Nushell completion scripts" categories = ["command-line-interface"] keywords = [ diff --git a/clap_derive/Cargo.toml b/clap_derive/Cargo.toml index d19618c68ec..0388b2f097a 100644 --- a/clap_derive/Cargo.toml +++ b/clap_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_derive" -version = "4.5.4" +version = "4.5.5" description = "Parse command line argument by defining a struct, derive crate." categories = ["command-line-interface", "development-tools::procedural-macro-helpers"] keywords = [ diff --git a/clap_lex/CHANGELOG.md b/clap_lex/CHANGELOG.md index a7d81a3b0f9..be556d7d3b0 100644 --- a/clap_lex/CHANGELOG.md +++ b/clap_lex/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [0.7.1] - 2024-06-06 + ## [0.7.0] - 2024-02-08 ### Compatibility @@ -103,7 +105,8 @@ MSRV changed to 1.64.0 - Drop `memchr` dependency -[Unreleased]: https://github.com/clap-rs/clap/compare/clap_lex-v0.7.0...HEAD +[Unreleased]: https://github.com/clap-rs/clap/compare/clap_lex-v0.7.1...HEAD +[0.7.1]: https://github.com/clap-rs/clap/compare/clap_lex-v0.7.0...clap_lex-v0.7.1 [0.7.0]: https://github.com/clap-rs/clap/compare/clap_lex-v0.6.0...clap_lex-v0.7.0 [0.6.0]: https://github.com/clap-rs/clap/compare/clap_lex-v0.5.1...clap_lex-v0.6.0 [0.5.1]: https://github.com/clap-rs/clap/compare/clap_lex-v0.5.0...clap_lex-v0.5.1 diff --git a/clap_lex/Cargo.toml b/clap_lex/Cargo.toml index 82650b2a441..b4ca94cecf2 100644 --- a/clap_lex/Cargo.toml +++ b/clap_lex/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_lex" -version = "0.7.0" +version = "0.7.1" description = "Minimal, flexible command line parser" categories = ["command-line-interface"] keywords = [ diff --git a/clap_lex/README.md b/clap_lex/README.md index c5eb306db0d..0a420226560 100644 --- a/clap_lex/README.md +++ b/clap_lex/README.md @@ -5,15 +5,15 @@ [![Crates.io](https://img.shields.io/crates/v/clap_lex?style=flat-square)](https://crates.io/crates/clap_lex) [![Crates.io](https://img.shields.io/crates/d/clap_lex?style=flat-square)](https://crates.io/crates/clap_lex) -[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.0/LICENSE-APACHE) -[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.0/LICENSE-MIT) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.1/LICENSE-APACHE) +[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.1/LICENSE-MIT) Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT). 1. [About](#about) 2. [API Reference](https://docs.rs/clap_lex) 3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions) -4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.0/clap_lex/CONTRIBUTING.md) -5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.0/README.md#sponsors) +4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.1/clap_lex/CONTRIBUTING.md) +5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_lex-v0.7.1/README.md#sponsors) ## About diff --git a/clap_mangen/CHANGELOG.md b/clap_mangen/CHANGELOG.md index 0e657af1dc3..406355556bc 100644 --- a/clap_mangen/CHANGELOG.md +++ b/clap_mangen/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [0.2.21] - 2024-06-06 + ## [0.2.20] - 2024-02-08 ### Compatibility @@ -127,7 +129,8 @@ MSRV changed to 1.64.0 - Expanded the documentation -[Unreleased]: https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.20...HEAD +[Unreleased]: https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.21...HEAD +[0.2.21]: https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.20...clap_mangen-v0.2.21 [0.2.20]: https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.19...clap_mangen-v0.2.20 [0.2.19]: https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.18...clap_mangen-v0.2.19 [0.2.18]: https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.17...clap_mangen-v0.2.18 diff --git a/clap_mangen/Cargo.toml b/clap_mangen/Cargo.toml index f762474982c..47b47afa495 100644 --- a/clap_mangen/Cargo.toml +++ b/clap_mangen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clap_mangen" -version = "0.2.20" +version = "0.2.21" description = "A manpage generator for clap" categories = ["command-line-interface"] keywords = [ diff --git a/clap_mangen/README.md b/clap_mangen/README.md index 21bb27ed1c6..fe9d374e9d9 100644 --- a/clap_mangen/README.md +++ b/clap_mangen/README.md @@ -5,16 +5,16 @@ [![Crates.io](https://img.shields.io/crates/v/clap_mangen?style=flat-square)](https://crates.io/crates/clap_mangen) [![Crates.io](https://img.shields.io/crates/d/clap_mangen?style=flat-square)](https://crates.io/crates/clap_mangen) -[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.20/LICENSE-APACHE) -[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.20/LICENSE-MIT) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.21/LICENSE-APACHE) +[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.21/LICENSE-MIT) Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT). 1. [About](#about) 2. [API Reference](https://docs.rs/clap_mangen) 3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions) -4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.20/clap_mangen/CONTRIBUTING.md) -5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.20/README.md#sponsors) +4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.21/clap_mangen/CONTRIBUTING.md) +5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_mangen-v0.2.21/README.md#sponsors) ## About diff --git a/src/lib.rs b/src/lib.rs index 3cb469903d8..e7979a078df 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,7 +11,7 @@ //! - [Cookbook][_cookbook] //! - [FAQ][_faq] //! - [Discussions](https://github.com/clap-rs/clap/discussions) -//! - [CHANGELOG](https://github.com/clap-rs/clap/blob/v4.5.4/CHANGELOG.md) (includes major version migration +//! - [CHANGELOG](https://github.com/clap-rs/clap/blob/v4.5.5/CHANGELOG.md) (includes major version migration //! guides) //! //! ## Aspirations