mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
doc: pre-announce removal of gotypesalias and asynctimerchan GODEBUG flags
This announcement follows the policy outlined in #76163. For #76472. Change-Id: I4299e7f474e314810883dc4f50be6afba8c3e3e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/726020 Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
1a64db3a4b
commit
7cab1b1b26
3 changed files with 11 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ Go 1.23 changed the channels created by package time to be unbuffered
|
|||
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 @@ 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.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
|
||||
|
|
|
|||
4
doc/next/6-stdlib/99-minor/go/types/76472.md
Normal file
4
doc/next/6-stdlib/99-minor/go/types/76472.md
Normal file
|
|
@ -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.
|
||||
5
doc/next/6-stdlib/99-minor/time/76472.md
Normal file
5
doc/next/6-stdlib/99-minor/time/76472.md
Normal file
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue