v0.4.4
π 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, correctpersistent_notificationusage, 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_notificationAPI properly and declares it as a manifest dependency, ensuring consistent behavior.
- Uses the
-
π 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