Skip to content

Releases: joshuar/go-hass-agent

v7.1.0

26 Feb 23:40
30b9ade
Compare
Choose a tag to compare

7.1.0 (2024-02-26)

Features

  • agent: ✨ add agent reset command (853ee60)
  • agent: arbitrary dbus commands via MQTT (thanks @jaynis!) (7204181)

v7.0.1

20 Feb 23:12
00f6122
Compare
Choose a tag to compare

7.0.1 (2024-02-20)

Bug Fixes

  • agent: 🐛 load preferences from file to get MQTT preferences (6f92a75)

v7.0.0

17 Feb 00:10
7221385
Compare
Choose a tag to compare

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 to resty 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

06 Feb 23:49
2ae6a6a
Compare
Choose a tag to compare

6.5.0 (2024-02-06)

Features

  • ✨ major config rewrite (680bee1)
  • cmd: 🎨 move long command descriptions to embedded text files (58c2305)

Bug Fixes

  • 🐛 registration flow for new install (f71d7c6)
  • agent: 🐛 check for mqtt enabled (8c2e5f0)
  • config: 🐛 handle mqtt config migration quirk (c4824f3)

v6.4.0

29 Jan 10:42
f5c49f9
Compare
Choose a tag to compare

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

  • agent: 🎨 device context abstraction (878438b)
  • agent: 🐛 correct registration logic (569091d)
  • agent: 🐛 fix race condition where agent exits before workers start (1976238)
  • linux/dbusx: 🐛 check nil struct not attribute (ed4d3be)

v6.3.1

22 Jan 03:02
09928a0
Compare
Choose a tag to compare

6.3.1 (2024-01-22)

Bug Fixes

  • linux: ✨ ensure sensors have appropriate icon, device class and state class (1756f2c)
  • linux: ✨ support new sensor types exposed via hwmon (eadacba)
  • linux/hwmon: ✨ expose alarm and intrusion as separate sensors (5e19a48)

v6.3.0

21 Jan 04:24
03eedeb
Compare
Choose a tag to compare

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)

Bug Fixes

  • linux/hwmon: 🐛 remove race condition when fetching sensors (1262c3f)
  • linux/hwmon: ⚡ improve hwmon code (dee17e4)
  • linux/hwmon: ⚡ reduce struct memory usage (3f452f6)

v6.2.0

14 Jan 05:04
aaf1398
Compare
Choose a tag to compare

6.2.0 (2024-01-14)

Features

  • agent: 🔥 remove unused and unnecessary info command (dcc0a31)
  • agent: ✨ add error types for use by config code (961f98f)
  • agent: ✨ Allow embedding config interface in context (058950d)
  • agent: ⚡ simplify config upgrade and validation process (7fcf14b)

Bug Fixes

  • agent: 🏗️ wrap workers, scripts and notifications in goroutine with waitgroup (e593dff)
  • container: ensure agent runs as a non-privleged user inside a container (1a3168f)

v6.1.2

05 Jan 08:02
63a58c1
Compare
Choose a tag to compare

6.1.2 (2024-01-04)

Bug Fixes

  • agent: improve warning messages about windowing/UI environment (222c3ab)
  • linux: protect against potential map read/write race condition (26be3af)

v6.1.1

27 Dec 00:44
95ebcf2
Compare
Choose a tag to compare

6.1.1 (2023-12-27)

Bug Fixes

  • linux: capture more possible screen lock events (775a9ab)