Skip to content

shrun 0.8

Compare
Choose a tag to compare
@tbidne tbidne released this 23 Mar 02:56
· 267 commits to main since this release
0.8
36347ed

shrun 0.8

Release Notes

Click to expand changelog

Removed

  • stack support removed.

Changed

  • If any commands fail, shrun now exits with an error code. Previously, shrun
    would exit successfully in this scenario, returning an exit code only when
    shrun itself died.
  • Similarly, error code is now set if any commands time out.
  • File logging now respects --key-hide i.e. default behavior matches
    --cmd-log and prints the key name over the literal command.
  • We now default logging to the XDG State directory rather than XDG config
    i.e. ~/.local/state/shrun/log.

Added

  • --init (toml: init) option that allows one to specify logic that should
    be run before each command. This can be useful when we want to load
    functions/aliases e.g. shrun --init ". ~/.bashrc" foo.
  • osx support.

Fixed

  • File logs are now streamed, do not buffer.
  • Previously, if --cmd-log or --file-log were specified, then a CPU thread
    would be maxed out polling commands for logs. We have now set a delay,
    defaulting to 10,000 microseconds, to keep the CPU reasonable. This value
    can be configured through the new --poll-interval option.

Full Changelog: 0.7...0.8