Visitar URL original
chore: release v7.4.0 · jdx/usage@7899a81 · GitHub
Skip to content

Commit 7899a81

Browse files
committed
chore: release v7.4.0
1 parent 20a2a0b commit 7899a81

16 files changed

Lines changed: 74 additions & 35 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Changelog
22

3+
## [7.4.0](https://github.com/jdx/usage/compare/v7.3.0..v7.4.0) - 2026-11-12
4+
5+
### 🚀 Features
6+
7+
- **(derive)** add rename_all_keys to derive(Config) keys by [@jdx](https://github.com/jdx) in [#1633](https://github.com/jdx/usage/pull/1633)
8+
- **(lib)** label the completion install flags with their effects by [@jdx](https://github.com/jdx) in [#1627](https://github.com/jdx/usage/pull/1627)
9+
- **(lib)** keep stdout for the script in the shared completion subcommand by [@jdx](https://github.com/jdx) in [#1629](https://github.com/jdx/usage/pull/1629)
10+
- **(lint)** add --quiet to print only findings by [@jdx](https://github.com/jdx) in [#1640](https://github.com/jdx/usage/pull/1640)
11+
12+
### 🐛 Bug Fixes
13+
14+
- **(cli)** let the script's spec decide whether -h asks for help by [@jdx](https://github.com/jdx) in [#1637](https://github.com/jdx/usage/pull/1637)
15+
- **(cli)** report a shell or interpreter that cannot be started under qemu-user by [@jdx](https://github.com/jdx) in [#1653](https://github.com/jdx/usage/pull/1653)
16+
- **(complete)** keep root subcommands and flags with default_subcommand_on_empty by [@jdx](https://github.com/jdx) in [#1631](https://github.com/jdx/usage/pull/1631)
17+
- **(complete)** insert bash `--flag=value` once and put the trailing space only after finished candidates by [@jdx](https://github.com/jdx) in [#1644](https://github.com/jdx/usage/pull/1644)
18+
- **(parse)** enforce a parent flag's required, requires and conflicts under a subcommand by [@jdx](https://github.com/jdx) in [#1635](https://github.com/jdx/usage/pull/1635)
19+
- **(parse)** answer the help subcommand where the page lists it by [@jdx](https://github.com/jdx) in [#1639](https://github.com/jdx/usage/pull/1639)
20+
21+
### 📚 Documentation
22+
23+
- add kongusage to the integrations page by [@jdx](https://github.com/jdx) in [#1643](https://github.com/jdx/usage/pull/1643)
24+
- only accept bug reports from real use by [@jdx](https://github.com/jdx) in [90ff9f4](https://github.com/jdx/usage/commit/90ff9f439333b1619116389fab52e14cf2d885e9)
25+
26+
### 🔍 Other Changes
27+
28+
- email when the docs build fails on the default branch by [@jdx](https://github.com/jdx) in [#1654](https://github.com/jdx/usage/pull/1654)
29+
- bring the docs-failure email workflow up to date by [@jdx](https://github.com/jdx) in [#1655](https://github.com/jdx/usage/pull/1655)
30+
31+
### 📦️ Dependency Updates
32+
33+
- update github actions by [@renovate[bot]](https://github.com/renovate[bot]) in [#1646](https://github.com/jdx/usage/pull/1646)
34+
- update dependency effect to v4.1.2 by [@renovate[bot]](https://github.com/renovate[bot]) in [#1645](https://github.com/jdx/usage/pull/1645)
35+
- update rust crate winnow to v1.0.5 by [@renovate[bot]](https://github.com/renovate[bot]) in [#1647](https://github.com/jdx/usage/pull/1647)
36+
- update module github.com/alecthomas/kong to v1.17.0 by [@renovate[bot]](https://github.com/renovate[bot]) in [#1649](https://github.com/jdx/usage/pull/1649)
37+
- lock file maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#1650](https://github.com/jdx/usage/pull/1650)
38+
- update dependency hk to latest by [@renovate[bot]](https://github.com/renovate[bot]) in [#1648](https://github.com/jdx/usage/pull/1648)
39+
- lock file maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#1652](https://github.com/jdx/usage/pull/1652)
40+
- lock file maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#1656](https://github.com/jdx/usage/pull/1656)
41+
342
## [7.3.0](https://github.com/jdx/usage/compare/v7.2.0..v7.3.0) - 2026-11-06
443

544
### 🚀 Features

‎Cargo.lock‎

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@ license = "MIT"
4343
[workspace.dependencies]
4444
clap_usage = { path = "./clap_usage", version = "5.0.0" }
4545
usage-cli = { path = "./cli" }
46-
usage-argv = { path = "./argv", version = "7.3.0", default-features = false }
47-
usage-config = { path = "./config", version = "7.3.0" }
48-
usage-derive = { path = "./derive", version = "7.3.0" }
46+
usage-argv = { path = "./argv", version = "7.4.0", default-features = false }
47+
usage-config = { path = "./config", version = "7.4.0" }
48+
usage-derive = { path = "./derive", version = "7.4.0" }
4949
# No features, and defaults off. A feature named here is inherited by every member that writes
5050
# `workspace = true` and inlines into their published manifests — so `clap` and `validation`
5151
# reached members that use neither, one of them an adopter's build script. Defaults
5252
# are off rather than absent because cargo *ignores* a member's `default-features = false` unless
5353
# the workspace declaration sets it too, and warns that it may become a hard error. Members name
5454
# what they need, `docs` included.
55-
usage-lib = { path = "./lib", version = "7.3.0", default-features = false }
56-
usage-rs = { path = "./usage-rs", version = "7.3.0" }
57-
usage-dynamic = { path = "./usage-dynamic", version = "7.3.0" }
58-
usage-test = { path = "./test", version = "7.3.0" }
59-
usage-validation = { path = "./validation", version = "7.3.0" }
55+
usage-lib = { path = "./lib", version = "7.4.0", default-features = false }
56+
usage-rs = { path = "./usage-rs", version = "7.4.0" }
57+
usage-dynamic = { path = "./usage-dynamic", version = "7.4.0" }
58+
usage-test = { path = "./test", version = "7.4.0" }
59+
usage-validation = { path = "./validation", version = "7.4.0" }
6060

6161
[workspace.metadata.release]
6262
allow-branch = ["main"]

‎argv/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "usage-argv"
33
description = "Zero-allocation argv parser for usage specs"
4-
version = "7.3.0"
4+
version = "7.4.0"
55
edition = "2024"
66
rust-version = "1.91"
77
homepage = { workspace = true }

‎cli/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "usage-cli"
33
edition = "2024"
44
rust-version = "1.91"
5-
version = "7.3.0"
5+
version = "7.4.0"
66
description = "CLI for working with usage-based CLIs"
77
license = { workspace = true }
88
authors = { workspace = true }

‎cli/usage.usage.kdl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
min_usage_version "6.5"
33
name usage
44
bin usage
5-
version "7.3.0"
5+
version "7.4.0"
66
repository "https://github.com/jdx/usage"
77
source_code_link_template #"""
88
{%- set path = path | replace(from='-', to='_') -%}

‎config/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "usage-config"
33
description = "Layered configuration resolution for usage specs, with provenance"
4-
version = "7.3.0"
4+
version = "7.4.0"
55
edition = "2024"
66
rust-version = "1.91"
77
homepage = { workspace = true }

‎derive/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "usage-derive"
33
description = "Derive macro that compiles a CLI definition into parse tables and a usage spec"
4-
version = "7.3.0"
4+
version = "7.4.0"
55
edition = "2024"
66
rust-version = "1.91"
77
homepage = { workspace = true }

‎docs/cli/reference/commands.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@
19911991
"sources": {},
19921992
"files": []
19931993
},
1994-
"version": "7.3.0",
1994+
"version": "7.4.0",
19951995
"usage": "Usage: usage <COMMAND>\n usage --completions <COMPLETIONS>\n usage --usage-spec",
19961996
"complete": {},
19971997
"source_code_link_template": "{%- set path = path | replace(from='-', to='_') -%}\n{%- if cmd.subcommands | length > 0 -%}\n{%- set path = path ~ \"/mod.rs\" -%}\n{%- elif path in [\"bash\", \"fish\", \"powershell\", \"zsh\"] -%}\n{%- set path = \"shell.rs\" -%}\n{%- else -%}\n{%- set path = path ~ \".rs\" -%}\n{%- endif -%}\nhttps://github.com/jdx/usage/blob/main/cli/src/cli/{{path}}",

‎docs/cli/reference/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# `usage`
44

5-
**Version:** 7.3.0
5+
**Version:** 7.4.0
66

77
**Repository:** https://github.com/jdx/usage
88

0 commit comments

Comments
 (0)