Skip to content

v0.4.4

Choose a tag to compare

@eXPerience83 eXPerience83 released this 12 Jan 05:47
c3b86fb

πŸ”” DKNCloud-HASS v0.4.4

βœ… Stable patch release for the 0.4.x line.
Focus: offline/online persistent notifications done right β€” no coordinator-listener crashes, safe i18n formatting, correct persistent_notification usage, race-free timer handling during connectivity flapping, and no credential leakage β€” backed by regression tests.


πŸš€ Highlights (since 0.4.3)

  • πŸ›‘οΈ No more crashes in the coordinator listener

    • Offline/online notification logic is now safe to run from the coordinator update listener without crashing Home Assistant.
  • 🌍 Safe notification formatting for translations

    • Missing placeholders in translated strings no longer crash notification formatting β€” strings are resilient by design.
  • πŸ”” Correct Home Assistant persistent_notification usage

    • Uses the persistent_notification API properly and declares it as a manifest dependency, ensuring consistent behavior.
  • πŸ” Race-free timer cancellation during connectivity flapping

    • Cancels stale scheduled dismissals for the online banner to prevent debounced timers from racing when connectivity changes rapidly.
  • πŸ” Safer logs

    • Avoids leaking credentials through event error chains/logging.
  • πŸ§ͺ Regression tests included

    • Adds targeted tests for formatting, debounce behavior, and timer cancellation so this doesn’t regress.

🧾 Detailed changes – 0.4.4 (2026-01-10)

Fixed

  • Fix offline/online persistent notifications (no crashes in coordinator listener).
  • Safe template formatting for translated notification strings (missing placeholders never crash).
  • Use Home Assistant persistent_notification API correctly.
  • Cancel stale scheduled online-banner dismissals to prevent race conditions during connectivity flapping.
  • Avoid leaking credentials in event error chains/logging.

Added

  • Declare persistent_notification as a manifest dependency.
  • Add regression tests for offline/online notification behavior (formatting, debounce, and timer cancellation).

Full Changelog: v0.4.1...v0.4.4