From 484487a0436b709623c22164c81c8d25a34600be Mon Sep 17 00:00:00 2001 From: efiten Date: Sat, 14 Nov 2026 14:52:15 +0100 Subject: [PATCH] release v1.27.0 --- docs/releases/v1.27.0.md | 34 ++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- public/sw.js | 2 +- 4 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 docs/releases/v1.27.0.md diff --git a/docs/releases/v1.27.0.md b/docs/releases/v1.27.0.md new file mode 100644 index 0000000..7a1658b --- /dev/null +++ b/docs/releases/v1.27.0.md @@ -0,0 +1,34 @@ +# CoreDrive RX v1.27.0 + +A Stop & close button in the Android app, the update note on every screen, and a debug log that covers a whole drive. + +## What's new + +- **Stop & close (Android app).** The phone's Back and Home buttons leave capture running in + the background, and Disconnect sat on Settings, so there was no easy way to end the app. A + red **Stop & close** button at the bottom of Home now stops everything and closes the app. + While connected it asks first. Receptions not uploaded yet are kept and go out the next time + you connect. The capture notification points to the button. +- **Update note above the tabs (Android app).** The note that a newer version is on Google + Play now sits above the bottom tabs on every screen. It used to show only on Home, while the + app opens on Settings until a deployment is chosen. +- **Debug log keeps 2000 lines instead of 200.** At the rate of a drive with full RF logging + (about 19 lines a minute) that is about 105 minutes; 200 lines covered about 10. A full + export is about 140 kB. +- **Debug log: a line when Disconnect is pressed**, so a log that stops shows whether the user + ended the capture. +- **Debug log: the reconnect line no longer says the timers were frozen.** It now reads + "reopening the CoreScope link from a reception". + +## Tested + +- 503 automated tests. +- The 2000-line log on a OnePlus phone (a test build reported 213 lines kept). +- Not tested on a phone: the Stop & close button, the update note above the tabs, and the two + new log lines. + +## Upgrade notes + +- **Service-worker cache bumped to `coredrive-rx-v68`.** +- The Android app has one more Capacitor plugin, `@capacitor/app`, for closing the app. +- No data, config or MQTT payload change. diff --git a/package-lock.json b/package-lock.json index e77a5a6..bf8172c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coredrive-rx", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coredrive-rx", - "version": "1.26.0", + "version": "1.27.0", "license": "GPL-3.0-or-later", "dependencies": { "@capacitor-community/background-geolocation": "1.3.1", diff --git a/package.json b/package.json index ff091ea..64cc58d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coredrive-rx", - "version": "1.26.0", + "version": "1.27.0", "private": false, "license": "GPL-3.0-or-later", "type": "module", diff --git a/public/sw.js b/public/sw.js index 31467b7..2b30759 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-v67'; +const CACHE = 'coredrive-rx-v68'; // 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