10.0.0 (2024-08-17)
Important
Before upgrading, please ensure you read the breaking changes document as there are some changes that require manual steps to be performed for Go Hass Agent to continue working smoothly.
The Good
- This release contains a significant number of fixes and a shout-out to everyone who reported issues!
- There are new sensors and controls:
- CPU frequency sensors for each CPU.
- Status of MPRIS compatible players
- Connected webcam viewing (with MQTT enabled)
- Significant under the hood changes to make the code more flexible for future improvements.
The Bad
- This is a major release and introduces some breaking changes:
- The preferences file format and location has changed and an upgrade command has been added to help migrate the old preferences file/location.
- The MQTT device has changed to make it more unique, but may break automations and dashboards relying on the controls/sensors it provides.
Be sure to read the breaking changes doc linked above for manual steps that are required to ensure the agent continues to run smoothly after upgrading.
The Ugly
Nothing is ugly! Everything is beautiful!
Summary Changelog
⚠ BREAKING CHANGES
- agent: the device representing Go Hass Agent in Home Assistant has been renamed from the generic "Go Hass Agent" to the hostname of the device running Go Hass Agent.
- prefs: The default app id has changed, which changes the path to the agent configuration. As such, the agent will need to be re-registered with Home Assistant.
- major internal update
- MQTT preferences have been renamed in the config file. They now sit under their own heading. Existing MQTT preferences are not migrated to the new settings.
Features
- ✨ add an upgrade command to help with upgrading after major release (d244aa9)
- agent: ✨ add support for number controls with custom MQTT commands (09d44c4)
- agent: ✨ use a nicer name for the app "ID" that is exposed by Fyne to the desktop environment (87d9ae4)
- agent: rename the MQTT device (da65683)
- dbusx: ✨ add support for watching on arg namespace (22bc528)
- linux: ✨ add basic webcam view/control (2c30336)
- linux: ✨ add CPU frequency sensors (6b7b91f)
- linux: ✨ add sensor tracking media status of any MPRIS compatibile player on the system (5915521)
- linux: ✨ better screen/session controls (17759e2)
- linux: ⚡ improve active/running apps sensor code (2971035)
- linux: ⚡ increase polling (frequency) of cpu usage (%) sensor updates (8d4c9da)
- preferences: 🔊 improve messages shown when preferences are not valid (cf4dd0a)
Bug Fixes
- agent: 🐛 censure app id is set correctly in agent (c126d45)
- agent: 🐛 correct mock name so go generate doesn't crash (e7ac7fb)
- agent: 🐛 don't exit MQTT runner if MQTT commands cannot be set up (2417c4c)
- agent: 🐛 don't run MQTT workers if there are no workers (bcc7636)
- agent: 🐛 get HA config needs rest API URL (a549d39)
- agent: 🐛 support passing registration parameters via command-line when running in graphical mode (4e35159)
- agent: 🐛 sync sensor disabled state between registry and Home Assistant (cc8d89c)
- agent: 🔊 write a log message when agent is registered (1cc6168)
- agent: 🔇 fix logging when no MQTT commands are defined (718b0b0)
- linux: 🐛 only provide power controls that are available on the device (540559d)
- logging: 🐛 (again again) fix create directory for logfile (b73faff)
- logging: 🐛 (again) create directory for log file if not exists (e60a7f0)
- logging: 🐛 handle a non-existent directory for the log file (auto-create if necessary) (03eb8e4)
- logging: 🔊 don't crash if we can't write to the log file (f92cf2f)
- logging: 🔊 fix log file path and level details (1bf85ea)
- scripts: 🐛 don't return an open channel that will never close if there are no scripts (d17d4e7)
- ui: 🐛 re-add default server to list of servers when registering agent (c9cfd9c)
Performance Improvements
- agent: 🔥 remove unnecessary goroutines and waitgroups (0f01468)