This release brings expanded lint checks to help catch spec issues earlier, along with an important fix for shell completions when flag or argument names contain special characters. Documentation has also been significantly improved with rustdoc coverage across the public API.
Highlights
More Lint Checks (#446)
The usage lint command now catches additional spec issues, helping you identify problems before they cause runtime errors. Run usage lint on your specs to validate them against the expanded ruleset.
Completion Prefix Matching Fix (#460)
Shell completions now correctly match against unescaped names, fixing issues where completions wouldn't work properly for flags or arguments containing characters that needed escaping. Thanks to @ilyagr for this contribution!
Builder API Additions (#444)
Missing builder methods have been added to the library, making it easier to construct specs programmatically in Rust code.
Bug Fixes
- Better error messages - Error output now includes more context to help diagnose issues (#449)
- Fig completion handling - Replaced panicking
unwrap()calls with proper error handling in fig.rs (#454) - PowerShell test reliability - Tests now skip gracefully when
pwshisn't installed (#457)
Documentation
The public API now has comprehensive rustdoc coverage (#450, #453, #455), making it easier to use usage as a library. Check out the updated docs at usage.jdx.dev.