From 55599381a7d31b5364b6d400daf6c128b9513ef0 Mon Sep 17 00:00:00 2001 From: Developer Date: Mon, 13 Jul 2026 22:36:26 -0500 Subject: [PATCH 1/3] fix: read app version from package.json when APP_VERSION env not set --- backend/routes/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/admin.js b/backend/routes/admin.js index cb56c63..4c4fa72 100644 --- a/backend/routes/admin.js +++ b/backend/routes/admin.js @@ -216,7 +216,7 @@ module.exports = (db, io, { emitUpdate, recordAction }) => { if (req.user.isTemporary) return res.status(403).json({ error: 'Primary admin only' }); const https = require('https'); - const currentVersion = process.env.APP_VERSION || '1.1.8'; + const currentVersion = process.env.APP_VERSION || require('../../package.json').version; const options = { hostname: 'hub.docker.com', From 981c43f0bff358c10e7a0b197759df5403e8812b Mon Sep 17 00:00:00 2001 From: Developer Date: Mon, 13 Jul 2026 22:39:35 -0500 Subject: [PATCH 2/3] chore: bump version to 1.4.1 --- frontend/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index d426403..8d58920 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "1.4.0", + "version": "1.4.1", "type": "module", "scripts": { "dev": "vite --host", diff --git a/package.json b/package.json index 9f4cd5b..430a6d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mapsystem", - "version": "1.4.0", + "version": "1.4.1", "description": "", "main": "index.js", "scripts": { From 0f7463da58cd1285bdecff8268bbd01bbb7c95c9 Mon Sep 17 00:00:00 2001 From: Developer Date: Mon, 13 Jul 2026 22:39:57 -0500 Subject: [PATCH 3/3] docs: add 1.4.1 changelog entry --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6980a37..a6502b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,13 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). --- +## [1.4.1] - 2026-07-14 + +### Fixed +- **App version fallback** — backend `/api/check-update` now reads the running version from `package.json` when the `APP_VERSION` env var is not set (manual installs and dev environments no longer show a false "update available" prompt) + +--- + ## [1.4.0] - 2026-07-13 Cyberpunk RED character sheets: the full Phase 3-5 sheet system, making CP:R the first feature-complete game system.