chore: prepare release 4.5.2
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
matt 2026-04-01 21:01:15 -07:00
parent e8b8fab3f8
commit 6d1d5a1822
7 changed files with 34 additions and 7 deletions

21
docs/releases/v4.5.2.md Normal file
View file

@ -0,0 +1,21 @@
# MTG Python Deckbuilder v4.5.2
## Summary
Adds hover-intent prefetch for the Open Deck button on the Finished Decks page, reducing perceived load time when navigating into a deck view.
## Added
### Hover-intent prefetch (`WEB_PREFETCH=1`)
Hovering over an "Open" button on the Finished Decks page now prefetches the deck view in the background after a 100 ms delay. When you click, the page loads from the browser's prefetch cache rather than waiting on a network round-trip — making it feel near-instant.
- Off by default; enable with `WEB_PREFETCH=1`
- Respects `Save-Data` header and slow (2G) connections — no prefetch on metered/slow connections
- Limits concurrent prefetches to 2
- Speculation Rules API infrastructure included for future side-effect-free GET routes
- `Cache-Control: private, max-age=30` added to `/decks/view` when flag is enabled
## Configuration
| Variable | Default | Description |
|---|---|---|
| `WEB_PREFETCH` | `0` | Set to `1` to enable hover-intent prefetch on the Open Deck button |