Skip to content

v7.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Feb 00:10
7221385

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)