Skip to content

v0.4.5

Choose a tag to compare

@eXPerience83 eXPerience83 released this 17 Jan 06:29
d7084b9

🧹 DKNCloud-HASS v0.4.5

Hotfix patch release for the 0.4.x line.
Focus: thorough notification state cleanup (including unload + empty device lists), safer timer/handle lifecycle, and robust fallback behavior when localized templates are malformed — without spamming logs.


🚀 Highlights (since 0.4.4)

  • 🧼 No more stale offline/online banners

    • Notifications are dismissed on successful unloads and cleaned up when devices disappear or the device list becomes empty.
  • 🔁 Race-safe handle & timer management

    • Online-banner cancel handles are cleared defensively during transitions and unload to avoid orphaned timers.
  • 🌍 Safer localization templates

    • Malformed localized templates fall back to defaults instead of breaking notifications.
    • A single warning per notification kind is emitted when fallback is used (noise-controlled), and warning suppression resets after the last unload so reloads can surface issues again.

🧾 Detailed changes – 0.4.5 (2026-01-17)

Fixed

  • Dismiss offline/online notifications on successful unloads to prevent stale UI.
  • Clear online-banner cancel handles defensively during state transitions and unload.
  • Clean up notify state for removed devices to prevent stale notifications and timers.
  • Ensure notification state cleanup runs on successful empty updates to prevent stale offline/online banners and orphaned timers when the device list becomes empty.
  • Fall back to default notification templates if a localized template is malformed.
  • Warn once per notification kind when malformed templates trigger a fallback.
  • Clear fallback-warning suppression after the last unload so reloads can surface warnings.

Full Changelog: v0.4.4...v0.4.5