v6.2.13
Fixed
- Push notifications requiring re-enable — Push subscriptions can expire (browser push service decides when), causing notifications to silently stop working. The viewer now auto-resubscribes on page load when the browser permission is still granted but the subscription was lost. A
localStorageflag remembers the user's opt-in preference across subscription losses. - Push subscription renewal while tab closed — Added
pushsubscriptionchangehandler in the service worker so the browser can auto-renew the push subscription even when no tab is open, keeping notifications working indefinitely.
Changed
- Refactored push subscription sync — Extracted
syncSubscriptionToServer()helper to share logic between initial subscribe, auto-resubscribe, and subscription renewal flows.
📋 Full changelog: docs/CHANGELOG.md