-
Release v5.3.1 Hotfix Stable
released this
2026-11-03 16:56:45 +01:00 | 12 commits to main since this release🚑 Release v5.3.1 — Hotfix: Server Update Check & JSON Safety
Questa micro-release risolve un disallineamento tra frontend e backend che causava un errore 404 silente e un conseguente blocco del parsing JSON nel browser (visibile in console come
SyntaxError: JSON.parse: unexpected character).🛠️ Fix Applicati
- API Route Alignment (Backend): Rinominato l'endpoint Python in
api_routes.pyda/api/server_update/statusa/api/server_update/checkper far coincidere esattamente la rotta con la chiamata fetch del client. - JSON Parse Safety (Frontend): Aggiunta una guardia di sicurezza (
if (!res.ok) return;) nella funzione di controllo aggiornamenti inapp.js. Ora, se il server o il reverse proxy restituiscono un errore HTML (404, 502, 504), il frontend interrompe l'elaborazione prima di tentare il parsing conres.json(), evitando crash catastrofici del Javascript.
Downloads
- API Route Alignment (Backend): Rinominato l'endpoint Python in