github jdx/usage v3.2.1
v3.2.1: Zsh completion fix for values without descriptions

8 hours ago

A small patch release that fixes a zsh completion regression introduced in v3.1.0. If you use zsh completions with values that contain colons (such as nested task names) and those values don't have descriptions, you should upgrade and regenerate your completions.

Fixed

  • Zsh completions now correctly escape colons in completion values even when no descriptions are present. In v3.1.0, the switch from _arguments to _describe introduced a bug where the escape logic only ran when at least one completion had a description. Without escaping, a value like test:git was misinterpreted by zsh -- it treated git as a description for the item test rather than as part of the value. If you have existing generated zsh completions, regenerate them to pick up this fix. (#597 by @david-hamilton-glean)

  • Test suite now respects the CARGO_BIN_EXE_usage environment variable when set, fixing test failures in environments with non-standard build directories such as Nixpkgs cross-compilation builds. (#568 by @kybe236)

New Contributors

Full Changelog: v3.2.0...v3.2.1

Don't miss a new usage release

NewReleases is sending notifications on new releases.