diff --git a/CHANGELOG.md b/CHANGELOG.md index db1247df..b11672ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## [3.5.0](https://github.com/jdx/usage/compare/v3.4.0..v3.5.0) - 2026-06-11 + +### 🚀 Features + +- add sponsors command by [@jdx](https://github.com/jdx) in [#662](https://github.com/jdx/usage/pull/662) +- generate SDK for TypeScript and Python by [@gaojunran](https://github.com/gaojunran) in [#623](https://github.com/jdx/usage/pull/623) + +### 🐛 Bug Fixes + +- **(parse)** union orphan aliases when merging a re-declared global flag by [@JamBalaya56562](https://github.com/JamBalaya56562) in [#659](https://github.com/jdx/usage/pull/659) +- **(zsh)** escape colons in completion insert strings by [@davidolrik](https://github.com/davidolrik) in [#670](https://github.com/jdx/usage/pull/670) +- **(zsh)** show all matches when subcommand names contain `:` by [@zeitlinger](https://github.com/zeitlinger) in [#666](https://github.com/jdx/usage/pull/666) + +### 📚 Documentation + +- use KDLv2 raw multiline strings by [@salim-b](https://github.com/salim-b) in [#657](https://github.com/jdx/usage/pull/657) +- add sponsor feed to docs by [@jdx](https://github.com/jdx) in [#608](https://github.com/jdx/usage/pull/608) +- add sponsor footer by [@jdx](https://github.com/jdx) in [#656](https://github.com/jdx/usage/pull/656) + +### 🔍 Other Changes + +- **(ci)** fix zizmor version comments by [@jdx](https://github.com/jdx) in [#665](https://github.com/jdx/usage/pull/665) +- **(ci)** use pr-closer action by [@jdx](https://github.com/jdx) in [#664](https://github.com/jdx/usage/pull/664) +- **(ci)** remove codecov upload by [@jdx](https://github.com/jdx) in [#672](https://github.com/jdx/usage/pull/672) +- **(docs)** add integrations for JCommander, picocli and Clikt by [@gaojunran](https://github.com/gaojunran) in [#655](https://github.com/jdx/usage/pull/655) +- **(docs)** add integrations for urfave/cli and Kong by [@gaojunran](https://github.com/gaojunran) in [#667](https://github.com/jdx/usage/pull/667) + +### 📦️ Dependency Updates + +- lock file maintenance lockfile maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#671](https://github.com/jdx/usage/pull/671) + +### New Contributors + +- @zeitlinger made their first contribution in [#666](https://github.com/jdx/usage/pull/666) +- @davidolrik made their first contribution in [#670](https://github.com/jdx/usage/pull/670) +- @salim-b made their first contribution in [#657](https://github.com/jdx/usage/pull/657) + ## [3.4.0](https://github.com/jdx/usage/compare/v3.3.0..v3.4.0) - 2026-05-31 ### 🚀 Features @@ -9,6 +46,7 @@ ### 🐛 Bug Fixes - **(ci)** preserve release push credentials by [@jdx](https://github.com/jdx) in [#650](https://github.com/jdx/usage/pull/650) +- **(ci)** use trusted publishing for crates by [@jdx](https://github.com/jdx) in [#654](https://github.com/jdx/usage/pull/654) - **(nushell)** use caret for invoking cmd in completion script by [@silvanshade](https://github.com/silvanshade) in [#638](https://github.com/jdx/usage/pull/638) - **(parse)** keep inherited global flags when a subcommand re-declares them as non-global by [@JamBalaya56562](https://github.com/JamBalaya56562) in [#649](https://github.com/jdx/usage/pull/649) - **(zsh)** consistently single-quote choice values containing spaces by [@jdx](https://github.com/jdx) in [#635](https://github.com/jdx/usage/pull/635) diff --git a/Cargo.lock b/Cargo.lock index 87353c92..93fa1d25 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1528,9 +1528,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.12.3" +version = "1.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" +checksum = "f1292b7759ae1cb9ec195452d1390a074f0cd8541ab7a5a8c31cd6db45d4a6ba" dependencies = [ "aho-corasick", "memchr", @@ -1551,9 +1551,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "roff" @@ -2045,7 +2045,7 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "usage-cli" -version = "3.4.0" +version = "3.5.0" dependencies = [ "assert_cmd", "clap", @@ -2073,7 +2073,7 @@ dependencies = [ [[package]] name = "usage-lib" -version = "3.4.0" +version = "3.5.0" dependencies = [ "clap", "criterion", @@ -2648,18 +2648,18 @@ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" [[package]] name = "zerocopy" -version = "0.8.50" +version = "0.8.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b065d4f0e55f82fae73202e189638116a87c55ab6b8e6c2721e13dd9d854ad1" +checksum = "ce1022995ff5ff5d841ad7d994facc23098cd40152f2c1d11cd607c6f530653f" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.50" +version = "0.8.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b631b19d36a892ab55420c92dbc83ccd79274f25be714855d3074aa71cab639" +checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 82205f5a..7101220a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ license = "MIT" [workspace.dependencies] clap_usage = { path = "./clap_usage", version = "2.0.3" } usage-cli = { path = "./cli" } -usage-lib = { path = "./lib", version = "3.4.0", features = ["clap"] } +usage-lib = { path = "./lib", version = "3.5.0", features = ["clap"] } [workspace.metadata.release] allow-branch = ["main"] diff --git a/aube-lock.yaml b/aube-lock.yaml index da417fdf..cd417f8d 100644 --- a/aube-lock.yaml +++ b/aube-lock.yaml @@ -56,8 +56,8 @@ importers: specifier: ^10.4.1 version: 10.4.1 semver: - specifier: ^7.8.1 - version: 7.8.1 + specifier: ^7.8.4 + version: 7.8.4 packages: "@algolia/abtesting@1.16.2": @@ -1654,10 +1654,10 @@ packages: engines: { node: ">=10" } hasBin: true - semver@7.8.1: + semver@7.8.4: resolution: { - integrity: sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==, + integrity: sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==, } engines: { node: ">=10" } hasBin: true @@ -2414,7 +2414,7 @@ snapshots: fast-glob: 3.3.3 module-from-string: 3.3.1 prettier: 3.8.3 - semver: 7.8.1 + semver: 7.8.4 typescript: 5.9.3 "@withfig/autocomplete-types@1.31.0": {} @@ -2423,7 +2423,7 @@ snapshots: dependencies: "@fig/autocomplete-generators": 2.4.0 "@fig/autocomplete-helpers": 1.0.7 - semver: 7.8.1 + semver: 7.8.4 strip-json-comments: 5.0.3 yaml: 2.8.3 @@ -2939,7 +2939,7 @@ snapshots: semver@7.7.4: {} - semver@7.8.1: {} + semver@7.8.4: {} shebang-command@2.0.0: dependencies: diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 5c2d39fc..14ef27d1 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-cli" edition = "2021" -version = "3.4.0" +version = "3.5.0" description = "CLI for working with usage-based CLIs" license = { workspace = true } authors = { workspace = true } diff --git a/cli/usage.usage.kdl b/cli/usage.usage.kdl index 182858b2..e2525195 100644 --- a/cli/usage.usage.kdl +++ b/cli/usage.usage.kdl @@ -1,7 +1,7 @@ // @generated by usage-cli from clap metadata name usage-cli bin usage -version "3.4.0" +version "3.5.0" about "CLI for working with usage-based CLIs" usage "Usage: usage-cli [OPTIONS] [COMPLETIONS] " flag --usage-spec help="Outputs a `usage.kdl` spec for this CLI itself" diff --git a/docs/cli/reference/commands.json b/docs/cli/reference/commands.json index 68e6a11e..de414b34 100644 --- a/docs/cli/reference/commands.json +++ b/docs/cli/reference/commands.json @@ -1070,7 +1070,7 @@ "config": { "props": {} }, - "version": "3.4.0", + "version": "3.5.0", "usage": "Usage: usage-cli [OPTIONS] [COMPLETIONS] ", "complete": {}, "source_code_link_template": "https://github.com/jdx/usage/blob/main/cli/src/cli/{{path}}.rs", diff --git a/docs/cli/reference/index.md b/docs/cli/reference/index.md index 866497f1..4098306f 100644 --- a/docs/cli/reference/index.md +++ b/docs/cli/reference/index.md @@ -4,7 +4,7 @@ **Usage**: `usage [--usage-spec] [COMPLETIONS] ` -**Version**: 3.4.0 +**Version**: 3.5.0 - **Usage**: `usage [--usage-spec] [COMPLETIONS] ` diff --git a/lib/Cargo.toml b/lib/Cargo.toml index efbc47ae..58f1319b 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-lib" edition = "2021" -version = "3.4.0" +version = "3.5.0" rust-version = "1.80.0" include = [ "/Cargo.toml", diff --git a/package.json b/package.json index 052c4080..43a04843 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,6 @@ "@withfig/autocomplete-tools": "^2.11.0", "@withfig/autocomplete-types": "^1.31.0", "eslint": "^10.4.1", - "semver": "^7.8.1" + "semver": "^7.8.4" } }