v10.3.0
10.3.0 (2024-10-01)
Important
Container users: please use the image tagged v10.3.0-7-g3b22ee4 as the v10.3.0. stable version. There was a problem during the automatic image generation for the release that led to the images not being generated. This tag only contains additional changes to the build system on top of the changes in the v10.3.0 release and so is functionally equivalent.
This release contains a few new sensors:
- A connection latency sensor for checking the network latency between Go Hass Agent and Home Assistant.
- Sensors reporting the firmware security status (from fwupd) and any CPU vulnerabilities (from the kernel).
- Per network device rates/counts in addition to the existing total rate/count.
- Per device link status and IP addresses.
- A sensor detecting the IO operations in progress per disk.
The following sensors have changed:
- CPU context switches and processes created are now rate values (ctx switches per sec and processes created per sec), which are hopefully more useful values.
There has been a fair bit of refactoring of the code under the hood to make it more manageable and easier to read.
Enjoy 🎉 And please keep those bug reports and feature requests coming!
Features
- agent: ✨ add connection latency sensor (d55b1ed)
- dbusx: ✨ Add a Data type for fetching data via a D-Bus method (edf80e1)
- linux: ✨ add a sensor to track if the kernel has reported any CPU vulnerabilities (8d5ebf2)
- linux: ✨ add link sensors (cece6ed)
- linux: ✨ add per device network counts/rates sensors as well as the total counts/rates (895125f)
- linux: ✨ add sensor for displaying firmware security details (dae37b4)
- linux: ✨ add sensors for IO ops in progress per disk (and total of all disks) (ea33a54)
- linux: ✨ switch total cpu context switches and processes created sensors from totals to rates (ed015e7)
Bug Fixes
- 🚨 add more nil pointer protections (f1f4293)
- agent: 🐛 fix error handling and change endpoint for connection latency sensor (6dedbc1)
- agent: 🐛 pass preferences to notifications worker (30178cd)
- agent: 🐛 try to protect against empty response in connection latency sensor (b40ccc7)
- agent: 🐛 uncomment commented block for testing (9f4b656)
- hass: 🐛 don't exclude nil value sensors when retrieving sensor list (886b7eb)
- hass: 🐛 simplify validation of sensor requests (6db1638)
- linux: 🎨 better netlink shutdown handling in link sensor worker (a265fec)
- linux: 🐛 actually track running app and total running apps in worker (66e4a19)
- linux: 🐛 add missing disk IO sensor attribute so that disk read/write rates are calculated correctly (8d7e6af)
- linux: 🐛 add missing disk IO sensor attribute so that disk read/write sensors are calculated correctly (9b024ee)
- linux: 🐛 avoid pointer ref/deref (86a5b5c)
- linux: 🐛 correct screen lock state with new device class (f6811bb)
- linux: 🐛 don't add
last_reset
attribute for cpu usage sensors withtotal_increasing
state class (89b903f) - linux: 🐛 event based workers should expose a send-only channel on Events method (40e1751)
- linux: 🐛 filter all of
/run
from usage stats (a0d57bf) - linux: 🐛 filter more mount points from generating usage sensors (b238687)
- linux: 🐛 fix changed network rates sensor types stringer (64e9df9)
- linux: 🐛 get the current screen lock state and send as a sensor on start (40cbb57)
- linux: 🐛 protect against potential nil pointer exception (ab99be0)
- linux: 🐛 use distinct device classes for intrusion and alarm hardware sensors (53b552b)
- linux: 🐛 use distinct device classes for laptop sensors (c0f5fac)
- linux: 🔊 add repercussions of some settings being unavailable to warning messages (af6fc62)
Performance Improvements
- agent: 🔥 remove unnecessary context creation (80890aa)
- dbusx: ⚡ more graceful dbus watch closure (5724468)
- hass: 🏗️ remove sensor interfaces, use exported struct instead (80c5780)
- hass: 🔥 remove unnecessary context creation (6dfd48a)
Reverts
- github: ⏪ switch back to audit to check required access (03b7e2a)