diff --git a/CHANGELOG.md b/CHANGELOG.md index b11672ce..a52907bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [3.5.1](https://github.com/jdx/usage/compare/v3.5.0..v3.5.1) - 2026-06-17 + +### 🐛 Bug Fixes + +- **(parse)** dedupe required flag validation errors by [@jdx](https://github.com/jdx) in [#685](https://github.com/jdx/usage/pull/685) +- **(zsh)** isolate generated completion options by [@jdx](https://github.com/jdx) in [#686](https://github.com/jdx/usage/pull/686) +- allow for variadic arguments to capture unknown flags as well by [@rtpg](https://github.com/rtpg) in [#676](https://github.com/jdx/usage/pull/676) + +### 📚 Documentation + +- link to all sponsors by [@jdx](https://github.com/jdx) in [#680](https://github.com/jdx/usage/pull/680) +- clarify contribution fit by [@jdx](https://github.com/jdx) in [#681](https://github.com/jdx/usage/pull/681) + +### 🛡️ Security + +- **(deps)** update actions/checkout action to v6.0.3 by [@renovate[bot]](https://github.com/renovate[bot]) in [#678](https://github.com/jdx/usage/pull/678) + +### 📦️ Dependency Updates + +- update jdx/mise-action action to v4.1.0 by [@renovate[bot]](https://github.com/renovate[bot]) in [#679](https://github.com/jdx/usage/pull/679) +- update mise dev tools in lockfile to latest by [@JamBalaya56562](https://github.com/JamBalaya56562) in [#682](https://github.com/jdx/usage/pull/682) +- lock file maintenance lockfile maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#683](https://github.com/jdx/usage/pull/683) + +### New Contributors + +- @rtpg made their first contribution in [#676](https://github.com/jdx/usage/pull/676) + ## [3.5.0](https://github.com/jdx/usage/compare/v3.4.0..v3.5.0) - 2026-06-11 ### 🚀 Features diff --git a/Cargo.lock b/Cargo.lock index 9824c7e0..4a35a68e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1850,9 +1850,9 @@ checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2" [[package]] name = "syn" -version = "2.0.117" +version = "2.0.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422" dependencies = [ "proc-macro2", "quote", @@ -2045,7 +2045,7 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "usage-cli" -version = "3.5.0" +version = "3.5.1" dependencies = [ "assert_cmd", "clap", @@ -2073,7 +2073,7 @@ dependencies = [ [[package]] name = "usage-lib" -version = "3.5.0" +version = "3.5.1" dependencies = [ "clap", "criterion", diff --git a/Cargo.toml b/Cargo.toml index 7101220a..a672a114 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.5.0", features = ["clap"] } +usage-lib = { path = "./lib", version = "3.5.1", features = ["clap"] } [workspace.metadata.release] allow-branch = ["main"] diff --git a/aube-lock.yaml b/aube-lock.yaml index cd417f8d..db85a278 100644 --- a/aube-lock.yaml +++ b/aube-lock.yaml @@ -17,16 +17,16 @@ importers: dependencies: "@typescript-eslint/eslint-plugin": specifier: ^7.0.0 - version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(eslint@10.4.1) + version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(eslint@10.5.0) "@typescript-eslint/parser": specifier: ^7.0.0 - version: 7.18.0(eslint@10.4.1) + version: 7.18.0(eslint@10.5.0) "@withfig/eslint-plugin-fig-linter": specifier: ^1.4.1 version: 1.4.1 eslint-plugin-compat: specifier: ^4.2.0 - version: 4.2.0(eslint@10.4.1) + version: 4.2.0(eslint@10.5.0) postcss: specifier: ^8 version: 8.5.10 @@ -39,7 +39,7 @@ importers: devDependencies: "@fig/eslint-config-autocomplete": specifier: ^2.0.0 - version: 2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(eslint@10.4.1))(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.4.1)(eslint-plugin-compat@4.2.0(eslint@10.4.1))(typescript@4.9.5) + version: 2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(eslint@10.5.0))(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.5.0)(eslint-plugin-compat@4.2.0(eslint@10.5.0))(typescript@4.9.5) "@tsconfig/node24": specifier: ^24.0.4 version: 24.0.4 @@ -53,8 +53,8 @@ importers: specifier: ^1.31.0 version: 1.31.0 eslint: - specifier: ^10.4.1 - version: 10.4.1 + specifier: ^10.5.0 + version: 10.5.0 semver: specifier: ^7.8.4 version: 7.8.4 @@ -1087,10 +1087,10 @@ packages: integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==, } - eslint@10.4.1: + eslint@10.5.0: resolution: { - integrity: sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw==, + integrity: sha512-1y+7C+vi12bUK1IpZeaV3gsH9fHLBmPvYmPx42pvT/E9yG0IC8g3PUZZgp0+JLJl7ZDK0flc2gc+Aw9dpCvIsQ==, } engines: { node: ^20.19.0 || ^22.13.0 || >=24 } hasBin: true @@ -2068,9 +2068,9 @@ snapshots: "@esbuild/linux-x64@0.24.2": {} - "@eslint-community/eslint-utils@4.9.1(eslint@10.4.1)": + "@eslint-community/eslint-utils@4.9.1(eslint@10.5.0)": dependencies: - eslint: 10.4.1 + eslint: 10.5.0 eslint-visitor-keys: 3.4.3 "@eslint-community/regexpp@4.12.2": {} @@ -2112,13 +2112,13 @@ snapshots: prettier: 3.8.3 ts-morph: 22.0.0 typescript: 5.9.3 - "@fig/eslint-config-autocomplete@2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(eslint@10.4.1))(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.4.1)(eslint-plugin-compat@4.2.0(eslint@10.4.1))(typescript@4.9.5)": + "@fig/eslint-config-autocomplete@2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(eslint@10.5.0))(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.5.0)(eslint-plugin-compat@4.2.0(eslint@10.5.0))(typescript@4.9.5)": dependencies: - "@typescript-eslint/eslint-plugin": 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(eslint@10.4.1) - "@typescript-eslint/parser": 7.18.0(eslint@10.4.1) + "@typescript-eslint/eslint-plugin": 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(eslint@10.5.0) + "@typescript-eslint/parser": 7.18.0(eslint@10.5.0) "@withfig/eslint-plugin-fig-linter": 1.4.1 - eslint: 10.4.1 - eslint-plugin-compat: 4.2.0(eslint@10.4.1) + eslint: 10.5.0 + eslint-plugin-compat: 4.2.0(eslint@10.5.0) typescript: 4.9.5 "@humanfs/core@0.19.2": @@ -2239,40 +2239,40 @@ snapshots: "@types/web-bluetooth@0.0.21": {} - "@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.4.1))(eslint@10.4.1)": + "@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.5.0))(eslint@10.5.0)": dependencies: "@eslint-community/regexpp": 4.12.2 - "@typescript-eslint/parser": 7.18.0(eslint@10.4.1) + "@typescript-eslint/parser": 7.18.0(eslint@10.5.0) "@typescript-eslint/scope-manager": 7.18.0 - "@typescript-eslint/type-utils": 7.18.0(eslint@10.4.1) - "@typescript-eslint/utils": 7.18.0(eslint@10.4.1) + "@typescript-eslint/type-utils": 7.18.0(eslint@10.5.0) + "@typescript-eslint/utils": 7.18.0(eslint@10.5.0) "@typescript-eslint/visitor-keys": 7.18.0 - eslint: 10.4.1 + eslint: 10.5.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 ts-api-utils: 1.4.3(typescript@4.9.5) - "@typescript-eslint/parser@7.18.0(eslint@10.4.1)": + "@typescript-eslint/parser@7.18.0(eslint@10.5.0)": dependencies: "@typescript-eslint/scope-manager": 7.18.0 "@typescript-eslint/types": 7.18.0 "@typescript-eslint/typescript-estree": 7.18.0(typescript@4.9.5) "@typescript-eslint/visitor-keys": 7.18.0 debug: 4.4.3 - eslint: 10.4.1 + eslint: 10.5.0 "@typescript-eslint/scope-manager@7.18.0": dependencies: "@typescript-eslint/types": 7.18.0 "@typescript-eslint/visitor-keys": 7.18.0 - "@typescript-eslint/type-utils@7.18.0(eslint@10.4.1)": + "@typescript-eslint/type-utils@7.18.0(eslint@10.5.0)": dependencies: "@typescript-eslint/typescript-estree": 7.18.0(typescript@4.9.5) - "@typescript-eslint/utils": 7.18.0(eslint@10.4.1) + "@typescript-eslint/utils": 7.18.0(eslint@10.5.0) debug: 4.4.3 - eslint: 10.4.1 + eslint: 10.5.0 ts-api-utils: 1.4.3(typescript@4.9.5) "@typescript-eslint/types@7.18.0": {} @@ -2288,13 +2288,13 @@ snapshots: semver: 7.7.4 ts-api-utils: 1.4.3(typescript@4.9.5) - "@typescript-eslint/utils@7.18.0(eslint@10.4.1)": + "@typescript-eslint/utils@7.18.0(eslint@10.5.0)": dependencies: - "@eslint-community/eslint-utils": 4.9.1(eslint@10.4.1) + "@eslint-community/eslint-utils": 4.9.1(eslint@10.5.0) "@typescript-eslint/scope-manager": 7.18.0 "@typescript-eslint/types": 7.18.0 "@typescript-eslint/typescript-estree": 7.18.0(typescript@4.9.5) - eslint: 10.4.1 + eslint: 10.5.0 "@typescript-eslint/visitor-keys@7.18.0": dependencies: @@ -2570,13 +2570,13 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-plugin-compat@4.2.0(eslint@10.4.1): + eslint-plugin-compat@4.2.0(eslint@10.5.0): dependencies: "@mdn/browser-compat-data": 5.7.6 ast-metadata-inferer: 0.8.1 browserslist: 4.28.2 caniuse-lite: 1.0.30001788 - eslint: 10.4.1 + eslint: 10.5.0 find-up: 5.0.0 lodash.memoize: 4.1.2 semver: 7.7.4 @@ -2592,9 +2592,9 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@10.4.1: + eslint@10.5.0: dependencies: - "@eslint-community/eslint-utils": 4.9.1(eslint@10.4.1) + "@eslint-community/eslint-utils": 4.9.1(eslint@10.5.0) "@eslint-community/regexpp": 4.12.2 "@eslint/config-array": 0.23.5 "@eslint/config-helpers": 0.6.0 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 14ef27d1..f35ba2dd 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-cli" edition = "2021" -version = "3.5.0" +version = "3.5.1" 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 e2525195..75f203fc 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.5.0" +version "3.5.1" 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 de414b34..44b4b257 100644 --- a/docs/cli/reference/commands.json +++ b/docs/cli/reference/commands.json @@ -1070,7 +1070,7 @@ "config": { "props": {} }, - "version": "3.5.0", + "version": "3.5.1", "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 4098306f..c9229273 100644 --- a/docs/cli/reference/index.md +++ b/docs/cli/reference/index.md @@ -4,7 +4,7 @@ **Usage**: `usage [--usage-spec] [COMPLETIONS] ` -**Version**: 3.5.0 +**Version**: 3.5.1 - **Usage**: `usage [--usage-spec] [COMPLETIONS] ` diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 58f1319b..656611fc 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-lib" edition = "2021" -version = "3.5.0" +version = "3.5.1" rust-version = "1.80.0" include = [ "/Cargo.toml", diff --git a/package.json b/package.json index 43a04843..c57ee8b5 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@withfig/autocomplete": "^2.692.3", "@withfig/autocomplete-tools": "^2.11.0", "@withfig/autocomplete-types": "^1.31.0", - "eslint": "^10.4.1", + "eslint": "^10.5.0", "semver": "^7.8.4" } }