From 9ae5864c55a53703bc5bac025c62ada14ae7b95e Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 21 Aug 2026 03:32:41 -0500 Subject: [PATCH] main: Use latest Go 1.26 features if possible. The existing code in the main module will all work properly with all changes in Go 1.26, so this updates the default GODEBUG directive to ensure the new features and security updates implemented in Go 1.26 are enabled when building with Go 1.26 or newer. The specific GODEBUG flags removed are: * `cryptocustomrand=1` * `tlssecpmlkem=0` * `urlstrictcolons=0` None of these will affect existing deployments. --- debug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug.go b/debug.go index 6b514e8f4f..000028a041 100644 --- a/debug.go +++ b/debug.go @@ -18,8 +18,8 @@ // changes in the newer versions of Go that are disabled by default due to not // being strictly backwards compatible will break the existing code. -//go:build go1.25 +//go:build go1.26 -//go:debug default=go1.25 +//go:debug default=go1.26 package main