[go] doc: pre-announce removal of gotypesalias and asynctimerchan GODEBUG flags

2 views
Skip to first unread message

Robert Griesemer (Gerrit)

unread,
Dec 2, 2025, 3:00:17 PM (13 hours ago) Dec 2
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Robert Griesemer has uploaded the change for review

Commit message

doc: pre-announce removal of gotypesalias and asynctimerchan GODEBUG flags

For #76472.
Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7

Change diff

diff --git a/doc/godebug.md b/doc/godebug.md
index d6bb186..28a2dc5 100644
--- a/doc/godebug.md
+++ b/doc/godebug.md
@@ -306,7 +306,7 @@
and [`Timer.Reset`](/pkg/time/#Timer.Reset) method results much easier.
The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
There are no runtime metrics for this change,
-This setting may be removed in a future release, Go 1.27 at the earliest.
+This setting will be removed in Go 1.27.

Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
for reparse points, which can be controlled with the `winsymlink` setting.
@@ -385,7 +385,7 @@
[`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.27 at the earliest.
+This setting will be removed in Go 1.27.

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
diff --git a/doc/next/6-stdlib/99-minor/go/types/76472.md b/doc/next/6-stdlib/99-minor/go/types/76472.md
new file mode 100644
index 0000000..f9c884b
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/go/types/76472.md
@@ -0,0 +1,4 @@
+The `asynctimerchan` GODEBUG setting introduced in [Go 1.23](/doc/godebug#go-123)
+will be removed in the next major Go release.
+Starting in Go 1.27, the [time](/pkg/time) package will always use unbuffered
+(synchronous) channels for timers regardless of GODEBUG setting or go.mod language version.
diff --git a/doc/next/6-stdlib/99-minor/time/76472.md b/doc/next/6-stdlib/99-minor/time/76472.md
new file mode 100644
index 0000000..bddca82
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/time/76472.md
@@ -0,0 +1,5 @@
+The `gotypesalias` GODEBUG setting introduced in [Go 1.22](/doc/godebug#go-122)
+will be removed in the next major Go release.
+Starting in Go 1.27, the [go/types](/pkg/go/types) package will always produce an
+[Alias type](/pkg/go/types#Alias) for the representation of [type aliases](/ref/spec#Type_declarations)
+regardless of GODEBUG setting or go.mod language version.

Change information

Files:
  • M doc/godebug.md
  • A doc/next/6-stdlib/99-minor/go/types/76472.md
  • A doc/next/6-stdlib/99-minor/time/76472.md
Change size: S
Delta: 3 files changed, 11 insertions(+), 2 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Gerrit-Change-Number: 726020
Gerrit-PatchSet: 1
Gerrit-Owner: Robert Griesemer <g...@google.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Robert Griesemer (Gerrit)

unread,
Dec 2, 2025, 3:09:21 PM (13 hours ago) Dec 2
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Robert Griesemer uploaded new patchset

Robert Griesemer uploaded patch set #2 to this change.
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Gerrit-Change-Number: 726020
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Griesemer <g...@google.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Robert Griesemer (Gerrit)

unread,
Dec 2, 2025, 3:15:59 PM (12 hours ago) Dec 2
to goph...@pubsubhelper.golang.org, Alan Donovan, Russ Cox, golang-co...@googlegroups.com
Attention needed from Alan Donovan and Russ Cox

Robert Griesemer voted

Auto-Submit+1
Code-Review+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Alan Donovan
  • Russ Cox
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Gerrit-Change-Number: 726020
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Russ Cox <r...@golang.org>
Gerrit-Attention: Alan Donovan <adon...@google.com>
Gerrit-Comment-Date: Tue, 02 Dec 2025 20:15:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Alan Donovan (Gerrit)

unread,
Dec 2, 2025, 3:25:57 PM (12 hours ago) Dec 2
to Robert Griesemer, goph...@pubsubhelper.golang.org, Go LUCI, Russ Cox, golang-co...@googlegroups.com
Attention needed from Robert Griesemer and Russ Cox

Alan Donovan voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Robert Griesemer
  • Russ Cox
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Gerrit-Change-Number: 726020
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Robert Griesemer <g...@google.com>
Gerrit-Attention: Russ Cox <r...@golang.org>
Gerrit-Comment-Date: Tue, 02 Dec 2025 20:25:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Robert Griesemer (Gerrit)

unread,
Dec 2, 2025, 6:58:30 PM (9 hours ago) Dec 2
to goph...@pubsubhelper.golang.org, Go LUCI, Alan Donovan, Russ Cox, golang-co...@googlegroups.com
Attention needed from Russ Cox

Robert Griesemer voted and added 1 comment

Votes added by Robert Griesemer

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Robert Griesemer . resolved

The failure seems unrelated.

Open in Gerrit

Related details

Attention is currently required from:
  • Russ Cox
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Gerrit-Change-Number: 726020
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Russ Cox <r...@golang.org>
Gerrit-Attention: Russ Cox <r...@golang.org>
Gerrit-Comment-Date: Tue, 02 Dec 2025 23:58:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Gopher Robot (Gerrit)

unread,
Dec 2, 2025, 7:18:15 PM (8 hours ago) Dec 2
to Robert Griesemer, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Alan Donovan, Russ Cox, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
doc: pre-announce removal of gotypesalias and asynctimerchan GODEBUG flags

This announcement follows the policy outlined in #76163.

For #76472.
Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Auto-Submit: Robert Griesemer <g...@google.com>
Reviewed-by: Alan Donovan <adon...@google.com>
Reviewed-by: Robert Griesemer <g...@google.com>
Files:
  • M doc/godebug.md
  • A doc/next/6-stdlib/99-minor/go/types/76472.md
  • A doc/next/6-stdlib/99-minor/time/76472.md
Change size: S
Delta: 3 files changed, 11 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Alan Donovan, +1 by Robert Griesemer
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7
Gerrit-Change-Number: 726020
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Griesemer <g...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages