Skip to content

Commit 2607894

Browse files
authored
Update performance optimizations in CHANGELOG
## v1.3.25 **Performance** - `ha-card` now uses `contain: layout paint style` and the main SVG is promoted to its own compositor layer (`will-change: transform`) — flow and LED animations no longer repaint the whole card (incl. the 40px box-shadow) every frame - Flow resync no longer forces a synchronous reflow (`offsetWidth` hack removed); animations are restarted via the Web Animations API - Value tweens (solar/battery/grid/load/EV/extras) now share a single `requestAnimationFrame` loop instead of one loop per value - `hass` setter diffing uses a precomputed, deduplicated entity list built in `setConfig` - Solar day ring skips recomputation unless `sun.sun` attributes or the current minute change - Node hover uses `opacity` instead of `filter: brightness()` (avoids a filter layer on hover) No visual changes.
1 parent b68124e commit 2607894

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## v1.3.25
2+
3+
**Performance**
4+
5+
- `ha-card` now uses `contain: layout paint style` and the main SVG is promoted to its own compositor layer (`will-change: transform`) flow and LED animations no longer repaint the whole card (incl. the 40px box-shadow) every frame
6+
- Flow resync no longer forces a synchronous reflow (`offsetWidth` hack removed); animations are restarted via the Web Animations API
7+
- Value tweens (solar/battery/grid/load/EV/extras) now share a single `requestAnimationFrame` loop instead of one loop per value
8+
- `hass` setter diffing uses a precomputed, deduplicated entity list built in `setConfig`
9+
- Solar day ring skips recomputation unless `sun.sun` attributes or the current minute change
10+
- Node hover uses `opacity` instead of `filter: brightness()` (avoids a filter layer on hover)
11+
12+
No visual changes.
113
## v1.3.32
214
- **Performance: animations pause off-screen.** Flow, LED and battery
315
animations now pause (and state updates are skipped) while the card

0 commit comments

Comments
 (0)