Skip to content

v4.7.0

Choose a tag to compare

@github-actions github-actions released this 27 Jun 17:58
7f8d50d

✨ Daylight Calendar Card v4.7.0

Important

Were you using this card before the rename from Skylight Calendar Card?

Please check Settings → Dashboards → Resources and remove any old Skylight resource:

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

Keep only the current Daylight resource:

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

The filename is still skylight-calendar-card.js; the folder should be daylight-calendar-card.

Stale resources can make new features appear missing or broken even when HACS shows the latest version. See the troubleshooting guide:
https://docs.daylightcalendar.com/troubleshooting#updated-to-the-latest-version-but-still-seeing-old-behavior

🆕 New Features

  • Calendar Time Zone Override (time_zone)
    Display the calendar using a specific time zone instead of Home Assistant's default. Useful for travel, remote teams, or calendars in different regions.

  • Week Day Badge Layout (day_badge_layout)
    Added a new layout option for displaying day badges in week views, providing greater flexibility for dense schedules.

  • Stale Resource Warning
    Added a dismissible banner that helps detect old pre-rename Skylight resources and points users to the fix.


⚠️ Fixes / Behavior Changes

  • Improved Time Zone Handling

    • Fixed timezone calculations for synthetic display dates.
    • Corrected handling of all-day events when using custom time zones.
  • Compact Header Stability

    • Fixed a resize oscillation issue that could occur with compact headers.
  • Event Modal Rendering

    • Prevent unnecessary resize-triggered rerenders while the event modal is open, improving stability during editing.

🔧 Internal Improvements

  • Migrated the project to a modular src/ architecture with a Rollup build system.
  • Extracted rendering, weather, editor, event handling, styling, configuration, and utility logic into dedicated modules.
  • Expanded automated testing and developer documentation.

These changes are internal only and do not introduce any breaking configuration changes.


📚 Documentation Improvements

  • Added troubleshooting guidance for common display issues.
  • Clarified documentation for:
    • compact_height
    • Font display options
    • time_zone
    • Stale HACS frontend resources

🔗 Full Changelog

v4.6.0...v4.7.0