feat(daemon): add automatic update mechanism (Updater), switch to system journal logs, and expose update controls in the UI
This commit is contained in:
10
changelog.md
10
changelog.md
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-01-09 - 0.3.0 - feat(daemon)
|
||||
add automatic update mechanism (Updater), switch to system journal logs, and expose update controls in the UI
|
||||
|
||||
- Introduce Updater class: fetches releases from Gitea, computes auto-upgrade eligibility, downloads daemon binary, replaces binary and restarts service.
|
||||
- Integrate updater into EcoDaemon: new methods getUpdateInfo, checkForUpdates, upgradeToVersion; run initial update check on startup and periodic auto-upgrade checks (hourly).
|
||||
- Replace serial console reader with a journalctl-based system journal reader; rename serialLogs → systemLogs and update related logic and limits.
|
||||
- UI/server: add API endpoints /api/updates, /api/updates/check and /api/upgrade; add an Updates panel to show current version, available releases, auto-upgrade status, and client-side actions to check and trigger upgrades; poll update info periodically.
|
||||
- Version bump to 0.2.2 (package.json and ecoos_daemon/ts/version.ts).
|
||||
- Build/workflow changes: release workflow now runs build step (Build ISO) and package.json build script adjusted for CI and updated Docker build/run handling.
|
||||
|
||||
## 2026-01-09 - 0.2.1 - fix(ci)
|
||||
use GitHub Actions workspace for docker volume and add listing of build output directory for debugging
|
||||
|
||||
|
||||
Reference in New Issue
Block a user