From f33466dd6f67975b49cacfeee4075088e96b83aa Mon Sep 17 00:00:00 2001 From: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com> Date: Tue, 11 Aug 2026 23:25:41 +0000 Subject: [PATCH] chore: release v5.2.0 --- CHANGELOG.md | 26 +++ Cargo.lock | 54 +++--- Cargo.toml | 6 +- argv/Cargo.toml | 2 +- aube-lock.yaml | 285 +++---------------------------- cli/Cargo.toml | 2 +- cli/usage.usage.kdl | 2 +- derive/Cargo.toml | 2 +- docs/cli/reference/commands.json | 2 +- docs/cli/reference/index.md | 2 +- lib/Cargo.toml | 2 +- 11 files changed, 91 insertions(+), 294 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ea236a0..eab41a71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [5.2.0](https://github.com/jdx/usage/compare/v5.1.0..v5.2.0) - 2026-08-11 + +### 🚀 Features + +- **(argv)** add a zero-allocation argv parser by [@jdx](https://github.com/jdx) in [#798](https://github.com/jdx/usage/pull/798) +- **(argv)** emit a usage spec from static metadata by [@jdx](https://github.com/jdx) in [#801](https://github.com/jdx/usage/pull/801) +- **(derive)** compile a struct into parse tables and a spec by [@jdx](https://github.com/jdx) in [#803](https://github.com/jdx/usage/pull/803) +- **(derive)** compile subcommands from an enum by [@jdx](https://github.com/jdx) in [#816](https://github.com/jdx/usage/pull/816) +- **(derive)** check what a parse cannot decide on its own by [@jdx](https://github.com/jdx) in [#817](https://github.com/jdx/usage/pull/817) +- **(spec)** support flag relationships by [@jdx](https://github.com/jdx) in [#793](https://github.com/jdx/usage/pull/793) +- **(spec)** add help_heading, and render it by [@jdx](https://github.com/jdx) in [#802](https://github.com/jdx/usage/pull/802) +- **(spec)** allow a mount at the top level by [@jdx](https://github.com/jdx) in [#806](https://github.com/jdx/usage/pull/806) +- **(spec)** make unknown flags configurable, and keep them as values by [@jdx](https://github.com/jdx) in [#810](https://github.com/jdx/usage/pull/810) + +### 🐛 Bug Fixes + +- **(argv)** stop a repeatable flag from eating a positional by [@jdx](https://github.com/jdx) in [#799](https://github.com/jdx/usage/pull/799) +- **(ci)** unblock releases by cutting usage-derive's dev-dependency by [@jdx](https://github.com/jdx) in [#811](https://github.com/jdx/usage/pull/811) +- **(cli)** recognize about as root command help by [@jdx](https://github.com/jdx) in [#794](https://github.com/jdx/usage/pull/794) +- **(parse)** keep every `--` after the first by [@jdx](https://github.com/jdx) in [#809](https://github.com/jdx/usage/pull/809) +- **(parse)** stop losing a flag that is missing its value by [@jdx](https://github.com/jdx) in [#807](https://github.com/jdx/usage/pull/807) + +### 📦️ Dependency Updates + +- update rust crate syn to v3 by [@renovate[bot]](https://github.com/renovate[bot]) in [#808](https://github.com/jdx/usage/pull/808) + ## [5.1.0](https://github.com/jdx/usage/compare/v5.0.0..v5.1.0) - 2026-08-09 ### 🚀 Features diff --git a/Cargo.lock b/Cargo.lock index 7ebbeeff..7f74e242 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -181,9 +181,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f7dc094d718f2e1c1559ad110e27eeaae14a5465d3d56dd6dbd793079fbd530" +checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f" dependencies = [ "memchr", "regex-automata", @@ -699,9 +699,9 @@ dependencies = [ [[package]] name = "futures" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88cf1f829d945f548cf8fec32c61b1f202b6d93b45848602fc02af4b12ad218" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" dependencies = [ "futures-channel", "futures-core", @@ -714,9 +714,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "262590f4fe6afeb0bc83be1daa64e52657fe185690a958af7f3ad0e92085c5ae" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" dependencies = [ "futures-core", "futures-sink", @@ -724,15 +724,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cd50c473c80f6d7c3670a752354b8e569b1a7cbfdc0419ec88e5edad85e0dc7" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" [[package]] name = "futures-executor" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6754879cc9f2c66f88c6e5c35344bb0bdb0708b0352b1201815667c7eabc7458" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" dependencies = [ "futures-core", "futures-task", @@ -741,38 +741,38 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4577ecaa3c4f96589d473f679a71b596316f6641bc350038b962a5daf0085d7a" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" [[package]] name = "futures-macro" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d6d3cde68c518367be28956066ddfef33813991b77a55005a69dae04bf3b10b" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.3", ] [[package]] name = "futures-sink" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34418ac499d6305c2fb5ad0ed2f6ac998c5f8ca209b4510f7f94242c647e307" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" [[package]] name = "futures-task" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b231ed28831efb4a61a08580c4bc233ec56bc009f4cd8f52da2c3cb97df0c109" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" [[package]] name = "futures-util" -version = "0.3.33" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77a90a256fce34da66415271e30f94ee91c57b04b8a2c042d9cf3220179deaa" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" dependencies = [ "futures-channel", "futures-core", @@ -1776,9 +1776,9 @@ dependencies = [ [[package]] name = "tera" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "511f07fd91a70e92efbe4793d111aaa9035f8474dd157aaa1e31e7c27f5051da" +checksum = "638c0720e7c1f61722366256d369ea46139634e77738735d6d9bb287bbbad35f" dependencies = [ "serde", ] @@ -1977,11 +1977,11 @@ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "usage-argv" -version = "5.1.0" +version = "5.2.0" [[package]] name = "usage-cli" -version = "5.1.0" +version = "5.2.0" dependencies = [ "assert_cmd", "clap", @@ -2024,7 +2024,7 @@ dependencies = [ [[package]] name = "usage-derive" -version = "5.1.0" +version = "5.2.0" dependencies = [ "proc-macro2", "quote", @@ -2033,7 +2033,7 @@ dependencies = [ [[package]] name = "usage-lib" -version = "5.1.0" +version = "5.2.0" dependencies = [ "clap", "criterion", diff --git a/Cargo.toml b/Cargo.toml index d5c4b976..b62a96e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,9 +19,9 @@ license = "MIT" [workspace.dependencies] clap_usage = { path = "./clap_usage", version = "5.0.0" } usage-cli = { path = "./cli" } -usage-argv = { path = "./argv", version = "5.1.0" } -usage-derive = { path = "./derive", version = "5.1.0" } -usage-lib = { path = "./lib", version = "5.1.0", features = ["clap"] } +usage-argv = { path = "./argv", version = "5.2.0" } +usage-derive = { path = "./derive", version = "5.2.0" } +usage-lib = { path = "./lib", version = "5.2.0", features = ["clap"] } [workspace.metadata.release] allow-branch = ["main"] diff --git a/argv/Cargo.toml b/argv/Cargo.toml index cab566b8..fff50950 100644 --- a/argv/Cargo.toml +++ b/argv/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-argv" description = "Zero-allocation argv parser for usage specs" -version = "5.1.0" +version = "5.2.0" edition = "2021" rust-version = "1.80.0" homepage = { workspace = true } diff --git a/aube-lock.yaml b/aube-lock.yaml index 994267bc..8c0a3049 100644 --- a/aube-lock.yaml +++ b/aube-lock.yaml @@ -17,7 +17,6 @@ time: eslint@10.8.1: 2026-08-07T20:21:24.770Z postcss@8.5.26: 2026-08-06T08:33:00.043Z semver@7.8.5: 2026-06-19T18:32:48.972Z - typescript@7.0.2: 2026-07-08T15:55:18.431Z vitepress@1.6.4: 2025-08-05T13:40:31.197Z importers: @@ -41,14 +40,14 @@ importers: version: 8.5.26 typescript: specifier: '>=4.7.4' - version: 7.0.2 + version: 4.9.5 vitepress: specifier: 1.6.4 version: 1.6.4(postcss@8.5.26) 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.8.1))(eslint@10.8.1))(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.1)(eslint-plugin-compat@4.2.0(eslint@10.8.1))(typescript@7.0.2) + version: 2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1))(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.1)(eslint-plugin-compat@4.2.0(eslint@10.8.1))(typescript@4.9.5) '@tsconfig/node24': specifier: ^24.0.4 version: 24.0.4 @@ -447,166 +446,6 @@ packages: resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript/typescript-aix-ppc64@7.0.2': - resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==} - engines: {node: '>=16.20.0'} - os: - - aix - cpu: - - ppc64 - - '@typescript/typescript-darwin-arm64@7.0.2': - resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==} - engines: {node: '>=16.20.0'} - os: - - darwin - cpu: - - arm64 - - '@typescript/typescript-darwin-x64@7.0.2': - resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==} - engines: {node: '>=16.20.0'} - os: - - darwin - cpu: - - x64 - - '@typescript/typescript-freebsd-arm64@7.0.2': - resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==} - engines: {node: '>=16.20.0'} - os: - - freebsd - cpu: - - arm64 - - '@typescript/typescript-freebsd-x64@7.0.2': - resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==} - engines: {node: '>=16.20.0'} - os: - - freebsd - cpu: - - x64 - - '@typescript/typescript-linux-arm64@7.0.2': - resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - arm64 - - '@typescript/typescript-linux-arm@7.0.2': - resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - arm - - '@typescript/typescript-linux-loong64@7.0.2': - resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - loong64 - - '@typescript/typescript-linux-mips64el@7.0.2': - resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - mips64el - - '@typescript/typescript-linux-ppc64@7.0.2': - resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - ppc64 - - '@typescript/typescript-linux-riscv64@7.0.2': - resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - riscv64 - - '@typescript/typescript-linux-s390x@7.0.2': - resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - s390x - - '@typescript/typescript-linux-x64@7.0.2': - resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - x64 - - '@typescript/typescript-netbsd-arm64@7.0.2': - resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==} - engines: {node: '>=16.20.0'} - os: - - netbsd - cpu: - - arm64 - - '@typescript/typescript-netbsd-x64@7.0.2': - resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==} - engines: {node: '>=16.20.0'} - os: - - netbsd - cpu: - - x64 - - '@typescript/typescript-openbsd-arm64@7.0.2': - resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==} - engines: {node: '>=16.20.0'} - os: - - openbsd - cpu: - - arm64 - - '@typescript/typescript-openbsd-x64@7.0.2': - resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==} - engines: {node: '>=16.20.0'} - os: - - openbsd - cpu: - - x64 - - '@typescript/typescript-sunos-x64@7.0.2': - resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==} - engines: {node: '>=16.20.0'} - os: - - sunos - cpu: - - x64 - - '@typescript/typescript-win32-arm64@7.0.2': - resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==} - engines: {node: '>=16.20.0'} - os: - - win32 - cpu: - - arm64 - - '@typescript/typescript-win32-x64@7.0.2': - resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==} - engines: {node: '>=16.20.0'} - os: - - win32 - cpu: - - x64 - '@ungap/structured-clone@1.3.3': resolution: {integrity: sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==} @@ -1306,11 +1145,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - typescript@7.0.2: - resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==} - engines: {node: '>=16.20.0'} - hasBin: true - unist-util-is@6.0.1: resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==} @@ -1604,7 +1438,7 @@ snapshots: prettier: 3.9.6 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.8.1))(eslint@10.8.1))(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.1)(eslint-plugin-compat@4.2.0(eslint@10.8.1))(typescript@7.0.2)' + ? '@fig/eslint-config-autocomplete@2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1))(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.1)(eslint-plugin-compat@4.2.0(eslint@10.8.1))(typescript@4.9.5)' : dependencies: '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1) @@ -1612,7 +1446,7 @@ snapshots: '@withfig/eslint-plugin-fig-linter': 1.4.1 eslint: 10.8.1 eslint-plugin-compat: 4.2.0(eslint@10.8.1) - typescript: 7.0.2 + typescript: 4.9.5 '@humanfs/core@0.19.2': dependencies: @@ -1746,13 +1580,13 @@ snapshots: graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.4.3(typescript@7.0.2) + ts-api-utils: 1.4.3(typescript@4.9.5) '@typescript-eslint/parser@7.18.0(eslint@10.8.1)': dependencies: '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@7.0.2) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@4.9.5) '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.4.3 eslint: 10.8.1 @@ -1764,15 +1598,15 @@ snapshots: '@typescript-eslint/type-utils@7.18.0(eslint@10.8.1)': dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@7.0.2) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@4.9.5) '@typescript-eslint/utils': 7.18.0(eslint@10.8.1) debug: 4.4.3 eslint: 10.8.1 - ts-api-utils: 1.4.3(typescript@7.0.2) + ts-api-utils: 1.4.3(typescript@4.9.5) '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/typescript-estree@7.18.0(typescript@7.0.2)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@4.9.5)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 @@ -1781,14 +1615,14 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.9 semver: 7.8.5 - ts-api-utils: 1.4.3(typescript@7.0.2) + ts-api-utils: 1.4.3(typescript@4.9.5) '@typescript-eslint/utils@7.18.0(eslint@10.8.1)': dependencies: '@eslint-community/eslint-utils': 4.10.1(eslint@10.8.1) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@7.0.2) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@4.9.5) eslint: 10.8.1 '@typescript-eslint/visitor-keys@7.18.0': @@ -1796,52 +1630,12 @@ snapshots: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript/typescript-aix-ppc64@7.0.2': {} - - '@typescript/typescript-darwin-arm64@7.0.2': {} - - '@typescript/typescript-darwin-x64@7.0.2': {} - - '@typescript/typescript-freebsd-arm64@7.0.2': {} - - '@typescript/typescript-freebsd-x64@7.0.2': {} - - '@typescript/typescript-linux-arm64@7.0.2': {} - - '@typescript/typescript-linux-arm@7.0.2': {} - - '@typescript/typescript-linux-loong64@7.0.2': {} - - '@typescript/typescript-linux-mips64el@7.0.2': {} - - '@typescript/typescript-linux-ppc64@7.0.2': {} - - '@typescript/typescript-linux-riscv64@7.0.2': {} - - '@typescript/typescript-linux-s390x@7.0.2': {} - - '@typescript/typescript-linux-x64@7.0.2': {} - - '@typescript/typescript-netbsd-arm64@7.0.2': {} - - '@typescript/typescript-netbsd-x64@7.0.2': {} - - '@typescript/typescript-openbsd-arm64@7.0.2': {} - - '@typescript/typescript-openbsd-x64@7.0.2': {} - - '@typescript/typescript-sunos-x64@7.0.2': {} - - '@typescript/typescript-win32-arm64@7.0.2': {} - - '@typescript/typescript-win32-x64@7.0.2': {} - '@ungap/structured-clone@1.3.3': {} - '@vitejs/plugin-vue@5.2.4(vite@5.4.21)(vue@3.5.41(typescript@7.0.2))': + '@vitejs/plugin-vue@5.2.4(vite@5.4.21)(vue@3.5.41(typescript@4.9.5))': dependencies: vite: 5.4.21 - vue: 3.5.41(typescript@7.0.2) + vue: 3.5.41(typescript@4.9.5) '@vue/compiler-core@3.5.41': dependencies: @@ -1915,25 +1709,25 @@ snapshots: '@vue/shared@3.5.41': {} - '@vueuse/core@12.8.2(typescript@7.0.2)': + '@vueuse/core@12.8.2(typescript@4.9.5)': dependencies: '@types/web-bluetooth': 0.0.21 '@vueuse/metadata': 12.8.2 - '@vueuse/shared': 12.8.2(typescript@7.0.2) - vue: 3.5.41(typescript@7.0.2) + '@vueuse/shared': 12.8.2(typescript@4.9.5) + vue: 3.5.41(typescript@4.9.5) '@vueuse/integrations@12.8.2(focus-trap@7.8.0)': dependencies: - '@vueuse/core': 12.8.2(typescript@7.0.2) - '@vueuse/shared': 12.8.2(typescript@7.0.2) + '@vueuse/core': 12.8.2(typescript@4.9.5) + '@vueuse/shared': 12.8.2(typescript@4.9.5) focus-trap: 7.8.0 - vue: 3.5.41(typescript@7.0.2) + vue: 3.5.41(typescript@4.9.5) '@vueuse/metadata@12.8.2': {} - '@vueuse/shared@12.8.2(typescript@7.0.2)': + '@vueuse/shared@12.8.2(typescript@4.9.5)': dependencies: - vue: 3.5.41(typescript@7.0.2) + vue: 3.5.41(typescript@4.9.5) '@withfig/autocomplete-tools@2.11.0(esbuild@0.24.2)': dependencies: @@ -2521,9 +2315,9 @@ snapshots: trim-lines@3.0.1: {} - ts-api-utils@1.4.3(typescript@7.0.2): + ts-api-utils@1.4.3(typescript@4.9.5): dependencies: - typescript: 7.0.2 + typescript: 4.9.5 ts-morph@22.0.0: dependencies: @@ -2538,29 +2332,6 @@ snapshots: typescript@5.9.3: {} - typescript@7.0.2: - optionalDependencies: - '@typescript/typescript-aix-ppc64': 7.0.2 - '@typescript/typescript-darwin-arm64': 7.0.2 - '@typescript/typescript-darwin-x64': 7.0.2 - '@typescript/typescript-freebsd-arm64': 7.0.2 - '@typescript/typescript-freebsd-x64': 7.0.2 - '@typescript/typescript-linux-arm': 7.0.2 - '@typescript/typescript-linux-arm64': 7.0.2 - '@typescript/typescript-linux-loong64': 7.0.2 - '@typescript/typescript-linux-mips64el': 7.0.2 - '@typescript/typescript-linux-ppc64': 7.0.2 - '@typescript/typescript-linux-riscv64': 7.0.2 - '@typescript/typescript-linux-s390x': 7.0.2 - '@typescript/typescript-linux-x64': 7.0.2 - '@typescript/typescript-netbsd-arm64': 7.0.2 - '@typescript/typescript-netbsd-x64': 7.0.2 - '@typescript/typescript-openbsd-arm64': 7.0.2 - '@typescript/typescript-openbsd-x64': 7.0.2 - '@typescript/typescript-sunos-x64': 7.0.2 - '@typescript/typescript-win32-arm64': 7.0.2 - '@typescript/typescript-win32-x64': 7.0.2 - unist-util-is@6.0.1: dependencies: '@types/unist': 3.0.3 @@ -2619,10 +2390,10 @@ snapshots: '@shikijs/transformers': 2.5.0 '@shikijs/types': 2.5.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.2.4(vite@5.4.21)(vue@3.5.41(typescript@7.0.2)) + '@vitejs/plugin-vue': 5.2.4(vite@5.4.21)(vue@3.5.41(typescript@4.9.5)) '@vue/devtools-api': 7.7.10 '@vue/shared': 3.5.41 - '@vueuse/core': 12.8.2(typescript@7.0.2) + '@vueuse/core': 12.8.2(typescript@4.9.5) '@vueuse/integrations': 12.8.2(focus-trap@7.8.0) focus-trap: 7.8.0 mark.js: 8.11.1 @@ -2630,16 +2401,16 @@ snapshots: postcss: 8.5.26 shiki: 2.5.0 vite: 5.4.21 - vue: 3.5.41(typescript@7.0.2) + vue: 3.5.41(typescript@4.9.5) - vue@3.5.41(typescript@7.0.2): + vue@3.5.41(typescript@4.9.5): dependencies: '@vue/compiler-dom': 3.5.41 '@vue/compiler-sfc': 3.5.41 '@vue/runtime-dom': 3.5.41 '@vue/server-renderer': 3.5.41 '@vue/shared': 3.5.41 - typescript: 7.0.2 + typescript: 4.9.5 which@2.0.2: dependencies: diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 795a80a0..ce4e51da 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-cli" edition = "2021" -version = "5.1.0" +version = "5.2.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 00d1cc8f..500e988d 100644 --- a/cli/usage.usage.kdl +++ b/cli/usage.usage.kdl @@ -2,7 +2,7 @@ min_usage_version "4.0" name usage-cli bin usage -version "5.1.0" +version "5.2.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/derive/Cargo.toml b/derive/Cargo.toml index c5658f31..beb528ed 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-derive" description = "Derive macro that compiles a CLI definition into parse tables and a usage spec" -version = "5.1.0" +version = "5.2.0" edition = "2021" rust-version = "1.80.0" homepage = { workspace = true } diff --git a/docs/cli/reference/commands.json b/docs/cli/reference/commands.json index 7fb6e491..9e3ba739 100644 --- a/docs/cli/reference/commands.json +++ b/docs/cli/reference/commands.json @@ -1154,7 +1154,7 @@ "config": { "props": {} }, - "version": "5.1.0", + "version": "5.2.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 73d9da5d..d4bd638a 100644 --- a/docs/cli/reference/index.md +++ b/docs/cli/reference/index.md @@ -4,7 +4,7 @@ **Usage**: `usage [--usage-spec] [COMPLETIONS] ` -**Version**: 5.1.0 +**Version**: 5.2.0 - **Usage**: `usage [--usage-spec] [COMPLETIONS] ` diff --git a/lib/Cargo.toml b/lib/Cargo.toml index d8607b4b..6c597cab 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-lib" edition = "2021" -version = "5.1.0" +version = "5.2.0" rust-version = "1.80.0" include = [ "/Cargo.toml",