Skip to content

v10.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Sep 06:18
06b64d6

10.2.0 (2024-09-12)

This release contains a number of performance and stability fixes along with two new major features:

  • You can now configure MQTT settings on the command-line 🎉 The README has been updated with details, but TL;DR, you can run:

    go-hass-agent config --mqtt-server=tcp://localhost:1883 --mqtt-user=some-user --mqtt-password=superseret
  • The container has been rebased on top of Alpine Linux. This makes it much smaller, and it can now be built for armv6 🎉 The invocation has changed slightly, so please read the documentation if you are a container user and take note of the changes before upgrading.

Thank you to all the users who have submitted feature requests and bug reports! Please keep them coming!

Features

  • hass: ✨ add validation of sensor requests (3e2c560)
  • preferences: ✨ add support for setting MQTT preferences via the command-line (b49d0db)

Bug Fixes

  • agent: 🐛 correct check on MQTT enabled for resetting agent (8d57930)
  • agent: 🐛 re-add profiling webui support (83e7c59)
  • cli: 🐛 retain --terminal cli flag for "headless" mode (e1f6f84)
  • cli: 🙈 ensure text files are included (be5c04f)
  • container: 🐛 Alpine container fixes (8317b8b)
  • dbusx: 🐛 introspect a method before calling to santize arguments (9bbf0d9)
  • device: 🐛 more robust fetching of device values (0be5b5f)
  • hass: 🐛 actually retrieve and return response errors from HA (f15d77e)
  • hass: 🐛 not all sensors with a device type have units (8d208b4)
  • hass: 🔇 normal websocket closure should not warn (gws pkg update change) (f1ce02d)
  • linux: 🐛 display at least some name if no display name was set for sensor (96bd6a2)
  • linux: 🐛 don't return nil slice, return slice with len 0 (1704d33)
  • linux: 🐛 ensure rate sensors have an initial value (of zero) for validation (a3096d0)
  • linux: 🐛 filter some uninteresting mountpoints from being disk usage sensors (6ea66d7)
  • linux: 🐛 handle missing stats (295a893)
  • linux: 🐛 only add values to context that are present/available (27d49fc)
  • linux: ⚡ don't run problems worker if ABRT problems are not available in D-Bus (fecb599)
  • linux/hwmon: 🐛 fix naming of alarm sensors (ee78240)
  • logging: ⚡ improve logging setup (a3e05bb)
  • upgrade: 🐛 don't report an error if there is no need to upgrade (ca3ba6e)
  • upgrade: 🐛 handle encountering nil when loading preferences (52c2d64)

Performance Improvements

  • agent: ⚡ handle signals with a context (a719b92)
  • agent: ⚡ improve protections against nil pointer exceptions (303dc58)
  • commands: ⚡ improve protections against nil pointer exceptions (be98b17)
  • linux: 🔥 remove unnecessary custom logger from mem worker (2588436)
  • linux: ♻️ store and fetch more values to/from context (772fd56)
  • linux: ⚡ improve disk IO sensors (6ef8dfb)
  • linux: ⚡ improve protections against nil pointer exceptions (2793806)
  • linux: ⚡ try to avoid dynamic sensor ID generation (1013711)
  • linux/hwmon: ⚡ rework hwmon sensors (0164429)
  • linux/hwmon: ⚡ simplify sensor collection (d145cab)
  • scripts: ⚡ improve protections against nil pointer exceptions (191b7c0)