Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 18:16
· 7 commits to main since this release

embed-log v1.4.0

This release introduces safe, installer-managed self-update for the embed-log CLI. Normal CLI usage stays fully offline-capable; every network check is best-effort and silent on failure.

Highlights

embed-log update

  • embed-log update --check — fetches release metadata (bounded 3s timeouts) and reports whether an update is available. Nothing is downloaded or modified.
  • embed-log update — verifies the installation marker, downloads the archive for the current platform, verifies SHA-256 before extracting, and only then replaces the executable.
    • Unix: atomic rename into place.
    • Windows: a detached helper replaces the binary after the CLI exits (avoids the running-executable lock).
    • --allow-downgrade to opt into installing an older version.

Installer-managed tracking

  • install.sh / install.ps1 now write a .embed-log-install marker (executable path, repository, target), so only installer-managed binaries can self-update.
  • Existing installations remain usable but need one reinstall with the official installer before they can self-update.

Unobtrusive update hints

  • Interactive embed-log run checks for a newer version in the background using a 24h cache, printing a short stderr hint only when a new version is freshly confirmed.
  • No hint for JSON output, daemon children, or update itself; fully disabled with EMBED_LOG_NO_UPDATE_CHECK=1.

Release metadata

  • The release workflow now publishes release.json mapping every supported target to its archive + SHA-256, alongside the existing SHA256SUMS.

Test infrastructure

  • Moved the browser E2E fixture off the shared :8080 port to a dedicated :10800 default, avoiding collisions with other embed-log processes on the same host.
  • Added background-hint integration tests (unreachable endpoint must not delay run; EMBED_LOG_NO_UPDATE_CHECK=1 must suppress the request).

Installation

Requires the official installer once (it marks the install). After that, keep up to date with embed-log update.

curl -fsSL https://github.com/embedlab-tech/embed-log/releases/latest/download/install.sh | sh

Windows (PowerShell):

irm https://github.com/embedlab-tech/embed-log/releases/latest/download/install.ps1 | iex

Updating

embed-log update --check
embed-log update

Full changelog

All changes since v1.3.2: see the pull request embedlab-tech/embed-log#53.