Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
14 changes: 7 additions & 7 deletions aube-lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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": {}
Expand All @@ -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

Expand Down Expand Up @@ -2939,7 +2939,7 @@ snapshots:

semver@7.7.4: {}

semver@7.8.1: {}
semver@7.8.4: {}

shebang-command@2.0.0:
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion cli/usage.usage.kdl
Original file line number Diff line number Diff line change
@@ -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] <COMMAND>"
flag --usage-spec help="Outputs a `usage.kdl` spec for this CLI itself"
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/reference/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@
"config": {
"props": {}
},
"version": "3.4.0",
"version": "3.5.0",
"usage": "Usage: usage-cli [OPTIONS] [COMPLETIONS] <COMMAND>",
"complete": {},
"source_code_link_template": "https://github.com/jdx/usage/blob/main/cli/src/cli/{{path}}.rs",
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Usage**: `usage [--usage-spec] [COMPLETIONS] <SUBCOMMAND>`

**Version**: 3.4.0
**Version**: 3.5.0

- **Usage**: `usage [--usage-spec] [COMPLETIONS] <SUBCOMMAND>`

Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}