From 1417f716379300847c98c52dbf9e750cb36fcf01 Mon Sep 17 00:00:00 2001 From: Siyuan Miao Date: Mon, 24 Nov 2025 16:23:54 +0100 Subject: [PATCH] change backwards-compatible version to 0.5.0 --- ui/src/components/KvmCard.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/components/KvmCard.tsx b/ui/src/components/KvmCard.tsx index aee9ec13..fb97bdf2 100644 --- a/ui/src/components/KvmCard.tsx +++ b/ui/src/components/KvmCard.tsx @@ -56,14 +56,14 @@ export default function KvmCard({ /** * Constructs the URL for connecting to this KVM device's interface. * - * Version 0.4.91 is the last backwards-compatible UI that works with older devices. - * Devices on v0.4.91 or below are served that version, while newer devices get + * Version 0.5.0 is the last backwards-compatible UI that works with older devices. + * Devices on v0.5.0 or below are served that version, while newer devices get * their actual version. Unparseable versions fall back to 0.4.91 for safety. */ const kvmUrl = useMemo(() => { - const BACKWARDS_COMPATIBLE_VERSION = "0.4.91"; + const BACKWARDS_COMPATIBLE_VERSION = "0.5.0"; - // Use device version if valid and >= 0.4.91, otherwise fall back to backwards-compatible version + // Use device version if valid and >= 0.5.0, otherwise fall back to backwards-compatible version const shouldUseDeviceVersion = semver.valid(appVersion) && semver.gte(appVersion, BACKWARDS_COMPATIBLE_VERSION); const version = shouldUseDeviceVersion ? appVersion : BACKWARDS_COMPATIBLE_VERSION;