From 1077a9ff6a5eb17f9b4485ba1ab75ea111b0ca17 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Thu, 15 Oct 2026 07:41:08 +0000 Subject: [PATCH] capver: regenerate for Tailscale v1.104 --- hscontrol/capver/capver_generated.go | 4 +++- hscontrol/capver/capver_test_data.go | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hscontrol/capver/capver_generated.go b/hscontrol/capver/capver_generated.go index 6965747f..0876430e 100644 --- a/hscontrol/capver/capver_generated.go +++ b/hscontrol/capver/capver_generated.go @@ -44,6 +44,7 @@ var tailscaleToCapVer = map[string]tailcfg.CapabilityVersion{ "v1.96": 133, "v1.98": 138, "v1.102": 142, + "v1.104": 148, } var capVerToTailscaleVer = map[tailcfg.CapabilityVersion]string{ @@ -81,6 +82,7 @@ var capVerToTailscaleVer = map[tailcfg.CapabilityVersion]string{ 133: "v1.96", 138: "v1.98", 142: "v1.102", + 148: "v1.104", } // SupportedMajorMinorVersions is the number of major.minor Tailscale versions supported. @@ -88,4 +90,4 @@ const SupportedMajorMinorVersions = 10 // MinSupportedCapabilityVersion represents the minimum capability version // supported by this Headscale instance (latest 10 minor versions) -const MinSupportedCapabilityVersion tailcfg.CapabilityVersion = 115 +const MinSupportedCapabilityVersion tailcfg.CapabilityVersion = 116 diff --git a/hscontrol/capver/capver_test_data.go b/hscontrol/capver/capver_test_data.go index b7e32304..fc439873 100644 --- a/hscontrol/capver/capver_test_data.go +++ b/hscontrol/capver/capver_test_data.go @@ -9,10 +9,9 @@ var tailscaleLatestMajorMinorTests = []struct { stripV bool expected []string }{ - {3, false, []string{"v1.96", "v1.98", "v1.102"}}, - {2, true, []string{"1.98", "1.102"}}, + {3, false, []string{"v1.98", "v1.102", "v1.104"}}, + {2, true, []string{"1.102", "1.104"}}, {10, true, []string{ - "1.82", "1.84", "1.86", "1.88", @@ -22,6 +21,7 @@ var tailscaleLatestMajorMinorTests = []struct { "1.96", "1.98", "1.102", + "1.104", }}, {0, false, nil}, } @@ -30,7 +30,7 @@ var capVerMinimumTailscaleVersionTests = []struct { input tailcfg.CapabilityVersion expected string }{ - {115, "v1.82"}, + {116, "v1.84"}, {32, "v1.24"}, {41, "v1.30"}, {46, "v1.32"},