Skip to content

v4.3.0

Choose a tag to compare

@superdingo101 superdingo101 released this 22 May 16:01
5539fef

✨ Daylight Calendar Card v4.3.0

Important

Post-rename note for existing users

If you installed this card before it was renamed to Daylight Calendar Card, check Settings → Dashboards → Resources in Home Assistant.

Keep:

/hacsfiles/daylight-calendar-card/skylight-calendar-card.js

Remove the old resource if present:

/hacsfiles/skylight-calendar-card/skylight-calendar-card.js

Existing custom:skylight-calendar-card dashboard YAML still works.

🆕 New Features

  • Rich Event Descriptions (event_description)
    Event modals now support:

    • Markdown rendering
    • Safe HTML rendering
    • Clickable links
      Includes styling improvements and sanitization for safer display.
  • Day Badges (day_badges)
    Add conditional badges/icons to days for highlighting important states, events, or custom logic.

  • Hidden Events for Styling Logic (event_styles)
    Events hidden via event_styles can now still contribute to:

    • day_badges
    • day_styles
    • Other matching/conditional engines

    Enables advanced filtering without losing automation or styling context.

  • Rolling Agenda Mode (rolling_days)
    Added configurable rolling-day support for agenda view to always show the next N upcoming days.


⚠️ Fixes / Behavior Changes

  • Calendar Time Visibility Improvements (hide_times_for_calendars)
    Hidden event times are now respected in week-compact and month views.

  • Month View Layout Improvements
    Improved compact month measurement and resize handling for more reliable rendering and view selector interactions.

  • Event Link Rendering Fixes
    Restored support for HTML links with quoted href attributes in rich descriptions.

  • Documentation Fixes

    • Fixed non-clickable donation badges in README header

What's Changed

  • Restore HTML links with literal quoted hrefs in rich descriptions by @superdingo101 in #305
  • Add rich event descriptions (Markdown & safe HTML) to event modal with styles and tests by @superdingo101 in #304
  • Measure month compact layout with RAF/ResizeObserver and add regression test for view selector clickability by @superdingo101 in #306
  • Respect hide_times_for_calendars in week-compact and month views and add tests by @superdingo101 in #309
  • Add day_badges feature: parsing, normalization, rendering, and tests by @superdingo101 in #310
  • Fix non-clickable donation badges in README header by @superdingo101 in #311
  • Allow event_styles to hide events but still use them for badges/styles by @superdingo101 in #317
  • Add configurable rolling-days mode for agenda view by @superdingo101 in #318

Full Changelog: v4.2.0...v4.3.0