Releases: joshuar/go-hass-agent
Releases · joshuar/go-hass-agent
v7.1.0
v7.0.1
v7.0.0
7.0.0 (2024-02-17)
⚠ BREAKING CHANGES
- dbusx: The dbusx package now uses Go generics for some functions, to combine both fetching or setting a value or property as the required type.
- Major refactor of requests code with internal breaking changes. Migrate from
requests
package toresty
package. This allows exposing more details about the response from Home Assistant, providing cleaner response handling code. In addition, refactor code to migrate tracker and request code into the hass package, keeping the sensor code as a distinct package for now. - Legacy agent config package has been removed and replaced with preferences package. This breaks upgrades from all versions besides the last release in the previous major version series. Users upgrading from older releases should first upgrade to the latest version of the last major release before this release, then upgrade to this release.
Features
- ⚗️ add ability to run a trace/heap/cpu profile over execution lifetime (9b73cd8)
- ♻️ rework sensor registry to abstract from sensor tracker (a88a04a)
- agent: ⬆️ update for latest go-hass-anything (db884fe)
- dbusx: use generics to simplify dbusx usage (45335c4)
- device: ✨ migrate external ip checker to resty package (4894fef)
- hass: ✨ API response rewrite (a979728)
- hass: ✨ new functions to retrieve entities from Home Assistant (a3d0fc6)
- hass: ✨ utilise new ExecuteRequest function (dff2e83)
- remove config and replace with preferences (630d4e6)
- ui: 💄 show dialogs for success/failure of saving preferences (a2ab9c2)
- ui: ✨ show extra details in about window (e8277cc)
Bug Fixes
- ✨ log file name set in cmd package (11c4dd1)
- ⚡ only retry if the server is overloaded by default (23f214f)
- agent,hass: 🐛 fix registration flow (486890c)
- agent: 🐛 pass appropriate context to runners (d96a4e5)
- agent: ♻️ clean up context creation in agent (cad5d56)
- device: 🐛 remove spew (8b81d77)
- hass: 🐛 ensure registry directory is created if it does not exist (e33a4d4)
- hass: 🐛 fix naming of device class values presented to Home Assistant (ad4a73a)
Performance Improvements
- hass: ⚡ remove unneccesary goroutine usage for ExecuteRequest (8505455)
Code Refactoring
- major requests refactor (24097f3)
v6.5.0
v6.4.0
6.4.0 (2024-01-29)
Features
- agent: 🎨 MQTT agent adjustments (b094c4a)
- agent: ✨ control the agent via MQTT (5756092)
- agent: ✨ map mqtt settings to go-hass-agent package settings (a3dee24)
- cmd,agent: ✨ agent rework (8ab63e2)
- config: ✨ Export an AppURL config option (0076019)
- linux: ✨ add CPU Usage % sensor (6fdb91b)
- linux: ✨ add memory and swap usage % sensors (3a7ca08)
- ui,agent,config: ✨ UI overhaul (ded576b)
Bug Fixes
v6.3.1
v6.3.0
6.3.0 (2024-01-21)
Features
- linux: ✨ switch to using hwmon package to get hardware sensors (a8360c2)
- linux/hwmon: ✨ add a hwmon package to retrieve all hardware sensors from the kernel (cf50826)
- linux/hwmon: ✨ add an example usage (174840f)
- linux/hwmon: ✨ add units output to sensors (8663945)
- linux/hwmon: ✨ apply appropriate scale to sensor values (bdf3e82)
- linux/hwmon: ✨ expose sensor type (ad970be)
- vscode: ✨ add additional conventional commit scopes (b7d439c)