Repository navigation
v3.0.0
This release includes several relatively small breaking changes. The breaking changes to Starlark conditions were made to better introduce a new feature, regular-expression search on standard input/output/error.
Breaking changes
- The Starlark condition can be any truthy or falsy value, not just a boolean.
- Replaced the Starlark function
flush_stdout()with the methodstdout.flush(). - Changed error exit codes:
- Command not found: from 255 to 127 (like POSIX shell)
- Timeout: from 255 to 124 (like GNU and BSD
timeout) - Unknown error: from -1 to 255 (for consistency between POSIX and Windows because Windows allows negative exit codes)
- Required Go 1.22 to build (was 1.19).
Features
- Implemented an object-oriented approach to standard input/output/error in Starlark condition expressions.
- Added a new CLI option
-E/--hold-stderrthat works like-O/--hold-stdoutbut for standard error. Addedstderr.flush()in condition expressions. - Added a new CLI option
-s/--seedto set the random seed for reproducible jitter. - Added regular-expression search on buffers:
stdin.search(),stdout.search(), andstderr.search() - Improved the option
-j/--jitterto allow spaces around the comma in the value. For example,1ms, 5msis now valid.