From 088ad29c35db4e11ec307c63fbe5d31c75ec9710 Mon Sep 17 00:00:00 2001 From: efiten Date: Wed, 11 Nov 2026 21:31:14 +0100 Subject: [PATCH] release: v1.25.0 --- docs/releases/v1.25.0.md | 32 ++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- public/sw.js | 2 +- 4 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 docs/releases/v1.25.0.md diff --git a/docs/releases/v1.25.0.md b/docs/releases/v1.25.0.md new file mode 100644 index 0000000..06952a6 --- /dev/null +++ b/docs/releases/v1.25.0.md @@ -0,0 +1,32 @@ +# CoreDrive RX v1.25.0 + +The web app no longer records receptions at an old position while it is in the background, and says afterwards what it missed. + +## What's new + +- **No old positions from a background page** (web app in Chrome or Bluefy). A browser + stops GPS updates for a page that is in the background, while Bluetooth packets can still + arrive. Those receptions used to get the last position from before the page went to the + background, which can be far from where you were. A page in the background now only uses + a position up to 30 seconds old; receptions, RF samples and pings without one are not + saved. The debug log says "GPS fix too old while in the background, not queued". +- **Note after the background.** After a minute or more in the background while connected, + Home shows how long it was and how many receptions were saved or not saved. Tap it to + dismiss. +- **Clear cause for "no send-ack".** A companion on firmware up to v1.16 with a full contact + list refuses to ask a repeater that is not one of its contacts. The debug log used to say + "no send-ack"; it now says "companion refused the ask … contact list full", and the log + header counts these refusals. Companion firmware v1.17 or newer does not have this limit. + +## Tested + +- 490 automated tests. The built page loads in desktop Chrome without errors. +- Not tested on a phone: the web app with the screen off, the Home note after it, and the + new refusal line with a v1.16 companion. + +## Upgrade notes + +- **Service-worker cache bumped to `coredrive-rx-v66`.** +- The Android app keeps its page on screen with the screen off, so the background limit + does not apply there. +- No data, config or MQTT payload change. diff --git a/package-lock.json b/package-lock.json index 2604afb..fe93cd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coredrive-rx", - "version": "1.24.5", + "version": "1.25.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coredrive-rx", - "version": "1.24.5", + "version": "1.25.0", "license": "GPL-3.0-or-later", "dependencies": { "@capacitor-community/background-geolocation": "1.3.1", diff --git a/package.json b/package.json index 6536602..041ca14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coredrive-rx", - "version": "1.24.5", + "version": "1.25.0", "private": false, "license": "GPL-3.0-or-later", "type": "module", diff --git a/public/sw.js b/public/sw.js index f8820b0..6f2abcc 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-v65'; +const CACHE = 'coredrive-rx-v66'; // 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