From b3704da311a21e37550cb8985867c90136f5c29f Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 6 Aug 2025 08:39:59 +0200 Subject: [PATCH] capver: regen Signed-off-by: Kristoffer Dalby --- hscontrol/capver/capver_generated.go | 8 +++++--- hscontrol/capver/capver_test.go | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/hscontrol/capver/capver_generated.go b/hscontrol/capver/capver_generated.go index 79590000..9456b161 100644 --- a/hscontrol/capver/capver_generated.go +++ b/hscontrol/capver/capver_generated.go @@ -5,8 +5,6 @@ package capver import "tailscale.com/tailcfg" var tailscaleToCapVer = map[string]tailcfg.CapabilityVersion{ - "v1.64.0": 90, - "v1.64.1": 90, "v1.64.2": 90, "v1.66.0": 95, "v1.66.1": 95, @@ -35,11 +33,13 @@ var tailscaleToCapVer = map[string]tailcfg.CapabilityVersion{ "v1.84.0": 116, "v1.84.1": 116, "v1.84.2": 116, + "v1.86.0": 122, + "v1.86.2": 123, } var capVerToTailscaleVer = map[tailcfg.CapabilityVersion]string{ - 90: "v1.64.0", + 90: "v1.64.2", 95: "v1.66.0", 97: "v1.68.0", 102: "v1.70.0", @@ -49,4 +49,6 @@ var capVerToTailscaleVer = map[tailcfg.CapabilityVersion]string{ 113: "v1.80.0", 115: "v1.82.0", 116: "v1.84.0", + 122: "v1.86.0", + 123: "v1.86.2", } diff --git a/hscontrol/capver/capver_test.go b/hscontrol/capver/capver_test.go index 42f1df71..e0d8ed91 100644 --- a/hscontrol/capver/capver_test.go +++ b/hscontrol/capver/capver_test.go @@ -13,11 +13,10 @@ func TestTailscaleLatestMajorMinor(t *testing.T) { stripV bool expected []string }{ - {3, false, []string{"v1.80", "v1.82", "v1.84"}}, - {2, true, []string{"1.82", "1.84"}}, + {3, false, []string{"v1.82", "v1.84", "v1.86"}}, + {2, true, []string{"1.84", "1.86"}}, // Lazy way to see all supported versions {10, true, []string{ - "1.66", "1.68", "1.70", "1.72", @@ -27,6 +26,7 @@ func TestTailscaleLatestMajorMinor(t *testing.T) { "1.80", "1.82", "1.84", + "1.86", }}, {0, false, nil}, } @@ -46,7 +46,7 @@ func TestCapVerMinimumTailscaleVersion(t *testing.T) { input tailcfg.CapabilityVersion expected string }{ - {90, "v1.64.0"}, + {90, "v1.64.2"}, {95, "v1.66.0"}, {106, "v1.74.0"}, {109, "v1.78.0"},