Skip to content

Releases: oalders/is

v0.13.0

23 Apr 02:22

Choose a tag to compare

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 version was 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 ne comparisons — is var X ne Y was silently corrupting its result via a regex side-effect.
  • Fixed zombie process accumulation when is was invoked in a tight loop — subprocess resources are now properly released.
  • Fixed is battery accepting 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

23 Apr 01:01

Choose a tag to compare

What's Changed

New Features

  • is known var now splits XDG_CONFIG_DIRS and XDG_DATA_DIRS into per-line entries, consistent with how PATH and MANPATH are displayed.
  • Table output wraps long values for better readability.

Bug Fixes

  • Fixed is cli output for commands with embedded arguments (e.g. git --version).
  • Fixed exit code for missing arguments — is battery and is known battery with no args now correctly return exit code 1.

Dependency Updates

  • Bumped github.com/alecthomas/kong from 0.7.1 to 1.15.0
  • Bumped github.com/hashicorp/go-version from 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

28 Aug 22:02

Choose a tag to compare

Changelog

  • Add is var [name] true
  • Add is var [name] false

v0.10.0

28 Aug 21:50

Choose a tag to compare

Changelog

  • Add "is audio" and "is known audio"

v0.9.0

28 Jun 03:08

Choose a tag to compare

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

17 Jun 14:22

Choose a tag to compare

Changelog

  • Fix gopls version parsing

v0.8.1

31 May 02:54

Choose a tag to compare

Changelog

v0.8.0

11 May 00:47

Choose a tag to compare

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

18 Apr 16:19

Choose a tag to compare

  • 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

27 Jan 20:53

Choose a tag to compare

Changelog

  • Allow for empty string comparisons via "eq" and "ne" in "is var". e.g.
    • is var FOO eq ""
    • is var FOO ne ""