diff --git a/docs/releases/v1.28.0.md b/docs/releases/v1.28.0.md new file mode 100644 index 0000000..7570343 --- /dev/null +++ b/docs/releases/v1.28.0.md @@ -0,0 +1,25 @@ +# CoreDrive RX v1.28.0 + +A red warning when the companion link drops, and Home times that keep counting while it is down. + +## What's new + +- **Red banner while the companion link is down.** When the Bluetooth link to the companion + drops, a red banner at the top of every screen says how long it has been down and to restart + the companion if it does not come back. It disappears as soon as the link is back. Before, + the only sign was a grey "Discover paused" line on Home, which was easy to miss: on a drive + of 2026-11-24 the link was down twice, for 10 and 4+ minutes, without being noticed. +- **Home times keep counting while the link is down.** "Last reception", "upload ... geleden" + and pkt/min stood still at the moment of the drop, so the last reception looked recent. They + now keep updating. + +## Tested + +- 506 automated tests, 3 of them new for the banner text. +- The banner layout in a headless Chrome render. +- Not tested on a phone: the banner during a real link drop. + +## Upgrade notes + +- **Service-worker cache bumped to `coredrive-rx-v69`.** +- No data, config or MQTT payload change. diff --git a/package-lock.json b/package-lock.json index bf8172c..b7a157d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coredrive-rx", - "version": "1.27.0", + "version": "1.28.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coredrive-rx", - "version": "1.27.0", + "version": "1.28.0", "license": "GPL-3.0-or-later", "dependencies": { "@capacitor-community/background-geolocation": "1.3.1", diff --git a/package.json b/package.json index 64cc58d..71cb6ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coredrive-rx", - "version": "1.27.0", + "version": "1.28.0", "private": false, "license": "GPL-3.0-or-later", "type": "module", diff --git a/public/sw.js b/public/sw.js index 2b30759..d6e7e88 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,7 +1,7 @@ // Minimal service worker: makes the app installable and lets the shell load // offline. Network-first (always fresh online), cache fallback (offline). // Only the static app assets go through fetch; MQTT runs over WSS (not cached). -const CACHE = 'coredrive-rx-v68'; +const CACHE = 'coredrive-rx-v69'; // config.json is deliberately NEVER cached, in either direction. It is // per-deployment runtime config, and a stale copy is worse than none: flags added