From bbdad50c0909134ab474bdb4b0c3741f85b28ecd Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 14 May 2024 15:27:33 -0400 Subject: [PATCH] doc/godebug: correct gotypealias=1 deprecation Per the note earlier in the page, GODEBUGs are maintained for a minimum of two years (four Go releases). Not said but certainly implied is that they are maintained for four Go releases from the point where people started needing to use them. Since people would start needing gotypesalias=0 in Go 1.23, it can be removed in Go 1.27. Change-Id: Ifad63a1fff63c3f96f2ee192ca74bd1ce8bdb61f Reviewed-on: https://go-review.googlesource.com/c/go/+/585457 Auto-Submit: Russ Cox LUCI-TryBot-Result: Go LUCI Reviewed-by: Cuong Manh Le Reviewed-by: Eli Bendersky --- doc/godebug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/godebug.md b/doc/godebug.md index 704ebe3a2f..7dbdfa9a78 100644 --- a/doc/godebug.md +++ b/doc/godebug.md @@ -175,7 +175,7 @@ Whether the type checker produces `Alias` types or not is controlled by the [`gotypesalias` setting](/pkg/go/types#Alias). For Go 1.22 it defaults to `gotypesalias=0`. For Go 1.23, `gotypesalias=1` will become the default. -This setting will be removed in a future release, Go 1.24 at the earliest. +This setting will be removed in a future release, Go 1.27 at the earliest. Go 1.22 changed the default minimum TLS version supported by both servers and clients to TLS 1.2. The default can be reverted to TLS 1.0 using the -- 2.48.1