doc: make use of simpler symbol links for relnotes

This is a practical use of CL 577915, follow-up to CL 577835.

Change-Id: Ibe7e2fa11b444afa1898dc6f6aba1512fe98f1fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/578195
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Jes Cok 2024-04-11 22:25:27 +08:00 committed by Gopher Robot
parent 2f3ff1fcdf
commit 1962672620
21 changed files with 55 additions and 60 deletions

View File

@ -1,7 +1,7 @@
### Timer changes ### Timer changes
Go 1.23 makes two significant changes to the implementation of Go 1.23 makes two significant changes to the implementation of
[`time.Timer`](/pkg/time#Timer) and [`time.Ticker`](/pkg/time#Ticker). [time.Timer] and [time.Ticker].
First, `Timer`s and `Ticker`s that are no longer referred to by the program First, `Timer`s and `Ticker`s that are no longer referred to by the program
become eligible for garbage collection immediately, even if their become eligible for garbage collection immediately, even if their

View File

@ -1,3 +1,4 @@
If the argument to [`FileInfoHeader`](/archive/tar#FileInfoHeader) implements the new [`FileInfoNames`](/archive/tar#FileInfoNames) interface, If the argument to [FileInfoHeader] implements the new [FileInfoNames]
then the interface methods will be used to set the Uname/Gname of the file header. interface, then the interface methods will be used to set the Uname/Gname
This allows applications to override the system-dependent Uname/Gname lookup. of the file header. This allows applications to override the system-dependent
Uname/Gname lookup.

View File

@ -1,4 +1,3 @@
Errors returned by [`driver.Valuer`](/pkg/database/sql/driver#Driver) Errors returned by [driver.Valuer] implementations are now wrapped for
implementations are now wrapped for improved error handling during improved error handling during operations like [DB.Query], [DB.Exec],
operations like [`Query`](/pkg/database/sql#DB.Query), [`Exec`](/pkg/database/sql#DB.Exec), and [DB.QueryRow].
and [`QueryRow`](/pkg/database/sql#DB.QueryRow).

View File

@ -1,3 +1,3 @@
The new [`ProgType`](/pkg/debug/elf#ProgType) The `debug/elf` package now defines [PT_OPENBSD_NOBTCFI]. This [ProgType] is
[`PT_OPENBSD_NOBTCFI`](/pkg/debug/elf#PT_OPENBSD_NOBTCFI). used to disable Branch Tracking Control Flow Integrity (BTCFI) enforcement
disables Branch Tracking Control Flow Integrity (BTCFI) enforcement on OpenBSD binaries. on OpenBSD binaries.

View File

@ -1,4 +1,3 @@
The new type [`KeepAliveConfig`](/pkg/net#KeepAliveConfig) permits fine-tuning The new type [KeepAliveConfig] permits fine-tuning the keep-alive
the keep-alive options for TCP connections, via a new options for TCP connections, via a new [TCPConn.SetKeepAliveConfig]
[`TCPConn.SetKeepAliveConfig`](/pkg/net#TCPConn.SetKeepAliveConfig) method and method and new KeepAliveConfig fields for [Dialer] and [ListenConfig].
new KeepAliveConfig fields for [`Dialer`](/pkg/net#Dialer) and [`ListenConfig`](/pkg/net#ListenConfig).

View File

@ -1,2 +1,2 @@
The patterns used by [`net/http.ServeMux`](/pkg/net/http#ServeMux) allow The patterns used by [ServeMux] allow multiple spaces matching
multiple spaces matching regexp '[ \t]+'. regexp '[ \t]+'.

View File

@ -1,2 +1,2 @@
The new [`NewRequestWithContext`](/pkg/net/http/httptest#NewRequestWithContext) method creates an incoming request with The new [NewRequestWithContext] method creates an incoming request with
a [`context.Context`](/pkg/context#Context). a [context.Context].

View File

@ -1,3 +1,3 @@
The [`os.Stat`](/pkg/os#Stat) function now sets the [`os.ModeSocket`](/pkg/os#ModeSocket) The [Stat] function now sets the [ModeSocket] bit for
bit for files that are Unix sockets on Windows. These files are identified by files that are Unix sockets on Windows. These files are identified
having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`. by having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`.

View File

@ -1,7 +1,7 @@
On Windows, the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat) On Windows, the mode bits reported by [Lstat] and [Stat] for
for reparse points changed. Mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink) set, reparse points changed. Mount points no longer have [ModeSymlink] set,
and reparse points that are not symlinks, Unix sockets, or dedup files now and reparse points that are not symlinks, Unix sockets, or dedup files
always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. now always have [ModeIrregular] set.
This behavior is controlled by the `winsymlink` setting. This behavior is controlled by the `winsymlink` setting.
For Go 1.23, it defaults to `winsymlink=1`. For Go 1.23, it defaults to `winsymlink=1`.
Previous versions default to `winsymlink=0`. Previous versions default to `winsymlink=0`.

View File

@ -1,2 +1 @@
The [`CopyFS`](/pkg/os#CopyFS) function copies an [`io/fs.FS`](/pkg/io/fs#FS) The [CopyFS] function copies an [io/fs.FS] into the local filesystem.
into the local filesystem.

View File

@ -1,5 +1,5 @@
On Windows, [`os.Readlink`](/pkg/os#Readlink) no longer tries On Windows, [Readlink] no longer tries to normalize volumes
to normalize volumes to drive letters, which was not always even possible. to drive letters, which was not always even possible.
This behavior is controlled by the `winreadlinkvolume` setting. This behavior is controlled by the `winreadlinkvolume` setting.
For Go 1.23, it defaults to `winreadlinkvolume=1`. For Go 1.23, it defaults to `winreadlinkvolume=1`.
Previous versions default to `winreadlinkvolume=0`. Previous versions default to `winreadlinkvolume=0`.

View File

@ -1,2 +1,2 @@
The new [`Localize`](/pkg/path/filepath#Localize) function safely converts The new [Localize] function safely converts a slash-separated
a slash-separated path into an operating system path. path into an operating system path.

View File

@ -1,11 +1,11 @@
On Windows, [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates On Windows, [EvalSymlinks] no longer evaluates mount points,
mount points, which was a source of many inconsistencies and bugs. which was a source of many inconsistencies and bugs.
This behavior is controlled by the `winsymlink` setting. This behavior is controlled by the `winsymlink` setting.
For Go 1.23, it defaults to `winsymlink=1`. For Go 1.23, it defaults to `winsymlink=1`.
Previous versions default to `winsymlink=0`. Previous versions default to `winsymlink=0`.
On Windows, [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer tries On Windows, [EvalSymlinks] no longer tries to normalize
to normalize volumes to drive letters, which was not always even possible. volumes to drive letters, which was not always even possible.
This behavior is controlled by the `winreadlinkvolume` setting. This behavior is controlled by the `winreadlinkvolume` setting.
For Go 1.23, it defaults to `winreadlinkvolume=1`. For Go 1.23, it defaults to `winreadlinkvolume=1`.
Previous versions default to `winreadlinkvolume=0`. Previous versions default to `winreadlinkvolume=0`.

View File

@ -1,6 +1,6 @@
The new methods synonymous with the method of the same name in [`reflect.Value`](/pkg/reflect#Value) The new methods synonymous with the method of the same name
are added to [`reflect.Type`](/pkg/reflect#Type): in [Value] are added to [Type]:
1. [`OverflowComplex`](/pkg/reflect#Type.OverflowComplex) 1. [Type.OverflowComplex]
2. [`OverflowFloat`](/pkg/reflect#Type.OverflowFloat) 2. [Type.OverflowFloat]
3. [`OverflowInt`](/pkg/reflect#Type.OverflowInt) 3. [Type.OverflowInt]
4. [`OverflowUint`](/pkg/reflect#Type.OverflowUint) 4. [Type.OverflowUint]

View File

@ -1,3 +1,3 @@
The [`SliceAt(typ Type, p unsafe.Pointer, len int)`](/pkg/reflect#SliceAt) function The [SliceAt(typ Type, p unsafe.Pointer, len int)] function
returns a Value representing a slice whose underlying array starts at p and whose returns a Value representing a slice whose underlying array starts
length and capacity are len. at p and whose length and capacity are len.

View File

@ -1,8 +1,6 @@
The [`debug.SetCrashOutput`](/pkg/runtime#SetCrashOutput) function allows The [SetCrashOutput] function allows the user to specify an alternate
the user to specify an alternate file to which the runtime should file to which the runtime should write its fatal crash report.
write its fatal crash report
([#42888](https://github.com/golang/go/issues/42888)).
It may be used to construct an automated reporting mechanism for all It may be used to construct an automated reporting mechanism for all
unexpected crashes, not just those in goroutines that explicitly use unexpected crashes, not just those in goroutines that explicitly use
`recover`. `recover`.

View File

@ -1,2 +1,2 @@
The [`Repeat`](/pkg/slices#Repeat) function returns a new slice The [Repeat] function returns a new slice that repeats the
that repeats the provided slice the given number of times. provided slice the given number of times.

View File

@ -1 +1 @@
The syscall package now defines [`WSAENOPROTOOPT`](/pkg/syscall#WSAENOPROTOOPT) on Windows. The syscall package now defines [WSAENOPROTOOPT] on Windows.

View File

@ -1 +1 @@
The [`GetsockoptInt`](/pkg/syscall#GetsockoptInt) function is now supported on Windows. The [GetsockoptInt] function is now supported on Windows.

View File

@ -1,4 +1,3 @@
[`TestFS`](/pkg/testing/fstest#TestFS) now returns a structured [TestFS] now returns a structured error that can be unwrapped
error that can be unwrapped (via method `Unwrap() []error`). This allows (via method `Unwrap() []error`). This allows inspecting errors
inspecting errors using [`errors.Is`](/pkg/errors#Is) or using [errors.Is] or [errors.As].
[`errors.As`](/pkg/errors#As).

View File

@ -1,3 +1,3 @@
The [`unicode/utf16.RuneLen`](/pkg/unicode/utf16#RuneLen) function returns The [RuneLen] function returns the number of 16-bit words in
the number of 16-bit words in the UTF-16 encoding of the rune. It returns -1 the UTF-16 encoding of the rune. It returns -1 if the rune
if the rune is not a valid value to encode in UTF-16. is not a valid value to encode in UTF-16.