diff --git a/CHANGELOG.md b/CHANGELOG.md index f2300237..91f8c816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [2.11.0](https://github.com/jdx/usage/compare/v2.10.0..v2.11.0) - 2025-12-31 + +### ๐Ÿš€ Features + +- add default_subcommand and restart_token for naked task completions by [@jdx](https://github.com/jdx) in [#410](https://github.com/jdx/usage/pull/410) + +### ๐Ÿ› Bug Fixes + +- handle --help flag in exec command for non-shell scripts by [@jdx](https://github.com/jdx) in [#409](https://github.com/jdx/usage/pull/409) + +### ๐Ÿงช Testing + +- add non-shell script tests by [@muzimuzhi](https://github.com/muzimuzhi) in [#406](https://github.com/jdx/usage/pull/406) + +### ๐Ÿ“ฆ๏ธ Dependency Updates + +- lock file maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#403](https://github.com/jdx/usage/pull/403) +- lock file maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#407](https://github.com/jdx/usage/pull/407) +- lock file maintenance by [@renovate[bot]](https://github.com/renovate[bot]) in [#408](https://github.com/jdx/usage/pull/408) + ## [2.10.0](https://github.com/jdx/usage/compare/v2.9.0..v2.10.0) - 2025-12-19 ### ๐Ÿš€ Features diff --git a/Cargo.lock b/Cargo.lock index aa62829a..31030edf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1672,9 +1672,9 @@ checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2" [[package]] name = "syn" -version = "2.0.111" +version = "2.0.112" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +checksum = "21f182278bf2d2bcb3c88b1b08a37df029d71ce3d3ae26168e3c653b213b99d4" dependencies = [ "proc-macro2", "quote", @@ -1837,7 +1837,7 @@ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "usage-cli" -version = "2.10.0" +version = "2.11.0" dependencies = [ "assert_cmd", "clap", @@ -1866,7 +1866,7 @@ dependencies = [ [[package]] name = "usage-lib" -version = "2.10.0" +version = "2.11.0" dependencies = [ "clap", "ctor", @@ -2391,6 +2391,6 @@ dependencies = [ [[package]] name = "zmij" -version = "1.0.2" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f4a4e8e9dc5c62d159f04fcdbe07f4c3fb710415aab4754bf11505501e3251d" +checksum = "e3280a1b827474fcd5dbef4b35a674deb52ba5c312363aef9135317df179d81b" diff --git a/Cargo.toml b/Cargo.toml index 8e8cf09f..f68a0cad 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 = "2.10.0", features = ["clap"] } +usage-lib = { path = "./lib", version = "2.11.0", features = ["clap"] } [workspace.metadata.release] allow-branch = ["main"] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fcff4a95..1a0dea21 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-cli" edition = "2021" -version = "2.10.0" +version = "2.11.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 6c923855..e77bd2a2 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 "2.10.0" +version "2.11.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 4a0981ec..db8b32eb 100644 --- a/docs/cli/reference/commands.json +++ b/docs/cli/reference/commands.json @@ -793,7 +793,7 @@ "config": { "props": {} }, - "version": "2.10.0", + "version": "2.11.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 9121730c..9e0a7fb9 100644 --- a/docs/cli/reference/index.md +++ b/docs/cli/reference/index.md @@ -4,7 +4,7 @@ **Usage**: `usage [--usage-spec] [COMPLETIONS] ` -**Version**: 2.10.0 +**Version**: 2.11.0 - **Usage**: `usage [--usage-spec] [COMPLETIONS] ` diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 0329c09c..249603c6 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-lib" edition = "2021" -version = "2.10.0" +version = "2.11.0" rust-version = "1.70.0" include = [ "/Cargo.toml", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abc12ae0..e2533e0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1068,8 +1068,8 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - caniuse-lite@1.0.30001761: - resolution: {integrity: sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==} + caniuse-lite@1.0.30001762: + resolution: {integrity: sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw==} ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -2673,14 +2673,14 @@ snapshots: browserslist@4.28.1: dependencies: baseline-browser-mapping: 2.9.11 - caniuse-lite: 1.0.30001761 + caniuse-lite: 1.0.30001762 electron-to-chromium: 1.5.267 node-releases: 2.0.27 update-browserslist-db: 1.2.3(browserslist@4.28.1) callsites@3.1.0: {} - caniuse-lite@1.0.30001761: {} + caniuse-lite@1.0.30001762: {} ccount@2.0.1: {} @@ -2848,7 +2848,7 @@ snapshots: '@mdn/browser-compat-data': 5.7.6 ast-metadata-inferer: 0.8.1 browserslist: 4.28.1 - caniuse-lite: 1.0.30001761 + caniuse-lite: 1.0.30001762 eslint: 8.57.1 find-up: 5.0.0 lodash.memoize: 4.1.2