feat: bump headscale minimum to 0.27

This commit is contained in:
Aarnav Tale
2026-05-30 17:32:00 -04:00
parent 7901f37002
commit d7f1d665a4
11 changed files with 101 additions and 112 deletions
+1 -11
View File
@@ -82,7 +82,6 @@ describe("capabilitiesFor", () => {
preAuthKeysHaveStableIds: true,
nodeTagsAreFlat: true,
nodeOwnerIsImmutable: true,
policyErrorsUseModernFormat: true,
});
});
@@ -92,19 +91,10 @@ describe("capabilitiesFor", () => {
);
});
test("0.27.1 only has the policy-error format flag", () => {
test("0.27.1 lacks every 0.28-gated capability", () => {
const caps = capabilitiesFor(parseServerVersion("0.27.1"));
expect(caps.preAuthKeysHaveStableIds).toBe(false);
expect(caps.nodeTagsAreFlat).toBe(false);
expect(caps.nodeOwnerIsImmutable).toBe(false);
expect(caps.policyErrorsUseModernFormat).toBe(true);
});
test("0.26.1 has none of the modern capabilities", () => {
const caps = capabilitiesFor(parseServerVersion("0.26.1"));
expect(caps.preAuthKeysHaveStableIds).toBe(false);
expect(caps.nodeTagsAreFlat).toBe(false);
expect(caps.nodeOwnerIsImmutable).toBe(false);
expect(caps.policyErrorsUseModernFormat).toBe(false);
});
});