v1.4.0
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-downgradeto opt into installing an older version.
Installer-managed tracking
install.sh/install.ps1now write a.embed-log-installmarker (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 runchecks 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
updateitself; fully disabled withEMBED_LOG_NO_UPDATE_CHECK=1.
Release metadata
- The release workflow now publishes
release.jsonmapping every supported target to its archive + SHA-256, alongside the existingSHA256SUMS.
Test infrastructure
- Moved the browser E2E fixture off the shared
:8080port to a dedicated:10800default, 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=1must 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 | shWindows (PowerShell):
irm https://github.com/embedlab-tech/embed-log/releases/latest/download/install.ps1 | iexUpdating
embed-log update --check
embed-log updateFull changelog
All changes since v1.3.2: see the pull request embedlab-tech/embed-log#53.