fix(version): cache-bust refresh + clear stale state on manual check, bump to v0.4.5

The refresh/retry button called fetchVersion() without clearing
versionInfo first, so the old value stayed displayed with no feedback.
On manual refresh it now immediately sets versionInfo to null (shows
spinner) then fetches with ?_t=Date.now() to bypass any browser cache
of the API response.

Bump version to 0.4.5 to include all fixes since 0.4.4 (day/night
toggle, uptime/kill allowlist, auto-retry on version error).
This commit is contained in:
NixReaper
2026-04-11 14:27:19 -05:00
parent ddb51a8b4d
commit 5af2762634
4 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ export async function buildApp() {
fastify.get('/api/health', async () => ({
status: 'ok',
version: '0.4.4',
version: '0.4.5',
timestamp: new Date().toISOString(),
}))