Skip to content

taba v0.2.1

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 24 Nov 17:48
1f412b0

taba v0.2.1

A backward-compatible patch on v0.2.0 that adds an explicit update command.
Existing commands, flags, exit codes, JSON fields and state are unchanged.

  • taba update --check reports whether a newer stable SemVer release
    exists on the official Buchi-dev-dzn/taba GitHub Releases. It is
    read-only. Drafts and prereleases are ignored.
  • taba update checks the same way. On Linux and macOS (x86_64 and
    arm64) it replaces the binary only when the running taba is
    byte-identical to the official archive for its own version and passes the
    ownership, permission and location checks. It verifies the new archive
    against the release's SHA256SUMS and its expected layout (ELF on Linux,
    single-arch Mach-O on macOS) and swaps the file with one atomic rename. On
    failure, the old binary stays in place. Running services are not
    restarted; the next taba command uses the new version.
  • macOS: the new binary loses any com.apple.quarantine attribute, then
    must answer --version with the new version after the swap; otherwise
    (including a code-signing kill) the old file is renamed back.
  • Manual upgrade elsewhere. Cargo or source builds and package-manager
    installs (including Homebrew) get a manual_update report with the release
    link. On
    Windows, taba update is check-only because taba does not replace its own
    running .exe.
  • New error code E_UPDATE_FAILED (exit 1) is used only by
    taba update.

taba never checks for updates in the background. SHA256SUMS is published
with the archives in the same release, so it detects corrupted or mismatched
downloads but is not an independent signature. See
Updating.