From 05d64024ef0ab44aa903caa1ce7ae24d8c167edd Mon Sep 17 00:00:00 2001 From: rouggy Date: Mon, 27 Jul 2026 10:03:57 +0200 Subject: [PATCH] fix: version string was 021.4, not 0.21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release prompt was answered with a missing dot and the script propagated it verbatim into both constants, so the shipped exe reported "021.4". That is not cosmetic: versionLess splits on dots, so "021.4" parses as [21,4] and compares GREATER than "0.21.5" — a client on that build would be told it is up to date forever and never offered another update. It also broke the What's new dialog on a fresh install, where the changelog entry ("0.21.4") is matched against appVersion by string equality. Same code as the release otherwise; only the version string changes. --- frontend/src/version.ts | 2 +- telemetry.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/version.ts b/frontend/src/version.ts index 45d2550..91181ed 100644 --- a/frontend/src/version.ts +++ b/frontend/src/version.ts @@ -1,6 +1,6 @@ // Single source of truth for the app version shown in the UI (header + About). // Bump this on a release (the release script updates it alongside telemetry.go). -export const APP_VERSION = '021.4'; +export const APP_VERSION = '0.21.4'; // Author / credits, shown in Help -> About. export const APP_AUTHOR = 'F4BPO'; diff --git a/telemetry.go b/telemetry.go index 324fb6f..fc091cb 100644 --- a/telemetry.go +++ b/telemetry.go @@ -21,7 +21,7 @@ import ( const ( // appVersion is stamped on every heartbeat (and could feed the About box). - appVersion = "021.4" + appVersion = "0.21.4" // posthogHost is the PostHog ingestion endpoint. EU cloud by default; change // to https://us.i.posthog.com for a US project.