Skip to content

Releases

bgx 0.5.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 10:20

Changed

  • list and info show uptime of a day or longer as 3d 04:05:06.
  • Local builds accept newer stable Zig releases than the minimum in .zig-version.

Fixed

  • New output appends correctly after a running task's log is cleared.

bgx 0.5.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 10:36

Added

  • Local builds automatically include the Git version and a dirty-worktree marker.
  • restart NAME reruns the recorded command in its recorded directory with the
    current environment, keeping its name and replacing its log. No failure rollback.
  • stop --all stops recorded runs while keeping their records and logs.

Fixed

  • Avoid reporting exited process groups as unknown during macOS exit races.
  • Clarify stop usage in help and avoid repeated run names in error messages.

bgx 0.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 08:46

Added

  • Bash and zsh completion for commands, options, and run names.
  • rename OLD NEW changes a run's name while keeping its process and log.
  • stop and remove accept multiple names and continue after individual errors.

Changed

  • Existing state must be cleared before upgrading. Stop runs with the old
    version and save any logs you need; there is no automatic migration.

Removed

  • The ps and logs aliases; use list/ls and log.

Fixed

  • Align command descriptions and group related commands in help output.

bgx 0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 08:40

Added

  • Omit the name in start -- PROGRAM to generate a unique name for each run.

Changed

  • start prints the run's name and allows explicit reuse of exited names.
    Reuse discards the old record and log, including when the new launch fails.
  • Startup failures retain their own diagnostics and log for inspection.
  • Existing state must be cleared before upgrading. Stop runs with the old
    version and save any logs you need; there is no automatic migration.
  • Argument errors explain the problem and show the relevant command's usage.
  • Command help accepts -h/--help anywhere before --; program arguments after it remain unchanged.

Removed

  • restart and replace. Supply the command with start for each new run.

bgx 0.2.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 12:31

Added

  • restart NAME reruns the recorded command in its recorded directory.
  • replace NAME -- PROGRAM [ARGS...] adopts a new command and directory on
    successful launch. Both commands stop any running execution first.
  • prune [--dry-run] removes exited tasks or previews the selection.
  • info NAME shows task details, status diagnostics, and log paths.
  • log -f/--follow streams the opened log across task exit and name replacement;
    --tail N selects initial output.

Changed

  • start rejects all existing names; use restart or replace instead.
  • Tasks retain their last confirmed execution and at most one latest launch
    attempt. Failed restart/replace preserves the old definition and log; uncertain
    outcomes block further launches and ordinary removal. info shows attempt details.
  • Storage schema 2 is incompatible with earlier formats. Stop tasks with the
    old version, verify exit, delete the selected state directory, and recreate them.
    No automatic migration is provided.
  • stop preserves process identity and records confirmed completion separately.

Fixed

  • list reports invalid records by name and continues listing, returning nonzero.
  • log reads without creating state, changing permissions, or acquiring name locks;
    concurrent name reuse cannot redirect a read to another execution's log.

bgx 0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 11:09

Added

  • Start, list, and stop named background tasks on macOS and Linux, even after closing the terminal.
  • View task logs, remove task records, and reuse names after tasks exit.