Releases: oalders/is
Releases · oalders/is
v0.13.0
What's Changed
Security Fixes
- Fixed shell injection in
is there— binary names containing shell metacharacters (e.g.;,`) are now passed safely without invoking a shell string. Shell builtin detection (is there cd) is preserved. - Fixed a panic when
is cli versionwas called with a CLI name containing regex special characters (e.g.(). The name is now treated as a literal string. - Fixed incorrect exit codes for
necomparisons —is var X ne Ywas silently corrupting its result via a regex side-effect. - Fixed zombie process accumulation when
iswas invoked in a tight loop — subprocess resources are now properly released. - Fixed
is batteryaccepting hex and octal integers (e.g.0x1F) — only decimal values are now accepted. - Fixed pipe read errors being silently discarded in the CLI output parser — failures are now surfaced as errors.
- Added bounds validation for age comparisons — values must be between 1 and 36500 (100 years).
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
New Features
is known varnow splitsXDG_CONFIG_DIRSandXDG_DATA_DIRSinto per-line entries, consistent with howPATHandMANPATHare displayed.- Table output wraps long values for better readability.
Bug Fixes
- Fixed
is cli outputfor commands with embedded arguments (e.g.git --version). - Fixed exit code for missing arguments —
is batteryandis known batterywith no args now correctly return exit code 1.
Dependency Updates
- Bumped
github.com/alecthomas/kongfrom 0.7.1 to 1.15.0 - Bumped
github.com/hashicorp/go-versionfrom 1.6.0 to 1.9.0 - Various GitHub Actions and other dependency updates
Full Changelog: v0.11.0...v0.12.0
v0.11.0
Changelog
- Add is var [name] true
- Add is var [name] false
v0.10.0
Changelog
- Add "is audio" and "is known audio"
v0.9.0
Changelog
- Add "is known summary var"
- Add "is known summary var --json"
- Add "is known summary var --md"
- Add "is known summary os --md"
- Add "is known var"
v0.8.2
Changelog
- Fix gopls version parsing
v0.8.1
v0.8.0
Changelog
- Replace some debugging output via:
- Add "is known summary battery"
- Add "is known summary battery --json"
- Add "is known summary os"
- Add "is known summary os --json"
- Add "is there [binary-name] --verbose"
- Add "is there [binary-name] --verbose --json"
- Wrap "which -a"
- Add "is there [binary-name] --all"
- Add "is there [binary-name] --all --json"
v0.7.0
- Add "is battery" and "is known battery" subcommands
- Add version parsing for golangci-lint
- Add version parsing for gopls
- Suppress "is user sudoer" error message when "sudo" is not installed
v0.6.1
Changelog
- Allow for empty string comparisons via "eq" and "ne" in "is var". e.g.
- is var FOO eq ""
- is var FOO ne ""