Repository navigation
Releases
Releases · oalders/is
v0.14.3
What's Changed
Bug Fixes
- Fix
is there --allandis cli versionhanging. Some CLIs leave a child process behind that keeps the output pipe open. PyInstaller "onefile" builds such as yt-dlp do this.isused to wait for that child to exit. It now stops reading shortly after the CLI itself exits. (#110) - Clean up after CLIs on timeout, Ctrl-C or SIGTERM. Each CLI runs in its own process group. On cancel, the group gets SIGTERM so it can clean up, for example so a PyInstaller build can remove its temporary
_MEI*directory. Anything still running after that gets SIGKILL. A second Ctrl-C killsisright away. (#110)
Improvements
is there --alllooks up versions in parallel. A slow CLI no longer holds up the rest. If a path doesn't answer within the timeout, it's listed with an empty version instead of failing the whole command. (#110)
Full Changelog: v0.14.2...v0.14.3
v0.14.2
What's Changed
Bug Fixes
- Fix a potential hang in
is cli version. STDOUT and STDERR were read one after the other, so a CLI that wrote a lot to STDERR could fill the pipe buffer and block forever whileiswas still waiting on STDOUT. Both streams are now drained concurrently. (#107) - Cap version output reads at 64 KiB. A CLI that emits huge (or endless) output in response to
--versioncan no longer causeisto buffer unbounded amounts of memory. (#108, #109)
Full Changelog: v0.14.1...v0.14.2
v0.14.1
What's Changed
Bug Fixes
- Parse
codexCLI version output.codex --versionreportscodex-cli 0.153.4, which the parser previously couldn't handle, causingis cli version codex ...to fail with a "malformed version" error.codexnow has a dedicated parser rule. (#106)
Dependencies
- Bumped the
go-modulesgroup with 2 updates. (#105)
Full Changelog: v0.14.0...v0.14.1
v0.14.0
What's new
is cli version claudenow works.claude --versionprints its version as2.1.216 (Claude Code)on a single line. Version extraction used to match the word "Claude" and mistakenly capture "Code" instead of the version number. A dedicated regex now pulls the semver directly.
Maintenance
- Updated Go dependencies and GitHub Actions (checkout, setup-go, setup-node, codecov).
- Pinned Go linters and cleared linter findings in CI.
Full changelog: v0.13.0...v0.14.0
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"