From 9d8273817ce8f615aeff9a580b39b73e2d177af4 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Thu, 5 Dec 2024 21:25:20 +0000 Subject: [PATCH] doc/next: delete The release note fragments have been merged and added as _content/doc/go1.24.md in x/website in CL 634056. For #68545. Change-Id: I7b3840df01b8c3699681c0cd21a16af70f74d31d Reviewed-on: https://go-review.googlesource.com/c/go/+/634057 Auto-Submit: Michael Knyszek LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: Michael Knyszek --- doc/next/1-intro.md | 14 --- doc/next/2-language.md | 8 -- doc/next/3-tools.md | 99 ------------------- doc/next/4-runtime.md | 17 ---- doc/next/5-toolchain.md | 25 ----- doc/next/6-stdlib/0-heading.md | 2 - doc/next/6-stdlib/1-os-root.md | 16 --- doc/next/6-stdlib/2-pbkdf2.md | 2 - doc/next/6-stdlib/3-hkdf.md | 2 - doc/next/6-stdlib/4-mlkem.md | 3 - doc/next/6-stdlib/5-sha3.md | 7 -- doc/next/6-stdlib/6-testing-bloop.md | 5 - doc/next/6-stdlib/6-weak.md | 12 --- doc/next/6-stdlib/99-minor/0-heading.md | 3 - doc/next/6-stdlib/99-minor/README | 1 - doc/next/6-stdlib/99-minor/archive/66831.md | 2 - doc/next/6-stdlib/99-minor/bytes/61901.md | 12 --- .../6-stdlib/99-minor/crypto/cipher/69445.md | 5 - .../6-stdlib/99-minor/crypto/cipher/69981.md | 3 - .../6-stdlib/99-minor/crypto/fips140/70123.md | 1 - .../6-stdlib/99-minor/crypto/hkdf/61477.md | 1 - .../6-stdlib/99-minor/crypto/md5/62384.md | 1 - .../6-stdlib/99-minor/crypto/mlkem/70122.md | 1 - .../6-stdlib/99-minor/crypto/pbkdf2/69488.md | 1 - .../6-stdlib/99-minor/crypto/rand/66821.md | 7 -- .../6-stdlib/99-minor/crypto/rand/67057.md | 1 - .../6-stdlib/99-minor/crypto/rsa/68762.md | 7 -- .../6-stdlib/99-minor/crypto/sha1/62384.md | 1 - .../6-stdlib/99-minor/crypto/sha256/62384.md | 1 - .../6-stdlib/99-minor/crypto/sha3/69982.md | 1 - .../6-stdlib/99-minor/crypto/sha512/62384.md | 1 - .../6-stdlib/99-minor/crypto/subtle/66450.md | 6 -- .../6-stdlib/99-minor/crypto/tls/32936.md | 1 - .../6-stdlib/99-minor/crypto/tls/68500.md | 2 - .../6-stdlib/99-minor/crypto/tls/69985.md | 2 - .../6-stdlib/99-minor/crypto/x509/41682.md | 2 - .../6-stdlib/99-minor/crypto/x509/62384.md | 2 - .../6-stdlib/99-minor/crypto/x509/67620.md | 6 -- .../6-stdlib/99-minor/crypto/x509/67675.md | 3 - .../6-stdlib/99-minor/crypto/x509/68484.md | 5 - .../6-stdlib/99-minor/crypto/x509/69799.md | 7 -- doc/next/6-stdlib/99-minor/debug/elf/63952.md | 20 ---- doc/next/6-stdlib/99-minor/encoding/62384.md | 5 - .../6-stdlib/99-minor/encoding/json/45669.md | 7 -- .../6-stdlib/99-minor/encoding/json/68941.md | 1 - doc/next/6-stdlib/99-minor/go/types/66626.md | 32 ------ .../6-stdlib/99-minor/hash/adler32/62384.md | 1 - .../6-stdlib/99-minor/hash/crc32/62384.md | 1 - .../6-stdlib/99-minor/hash/crc64/62384.md | 1 - doc/next/6-stdlib/99-minor/hash/fnv/62384.md | 1 - .../6-stdlib/99-minor/hash/maphash/54670.md | 2 - doc/next/6-stdlib/99-minor/log/slog/62005.md | 1 - doc/next/6-stdlib/99-minor/log/slog/62384.md | 1 - doc/next/6-stdlib/99-minor/math/big/62384.md | 1 - doc/next/6-stdlib/99-minor/math/rand/67273.md | 3 - .../6-stdlib/99-minor/math/rand/v2/62384.md | 1 - doc/next/6-stdlib/99-minor/net/56539.md | 2 - doc/next/6-stdlib/99-minor/net/62384.md | 1 - doc/next/6-stdlib/99-minor/net/http/65035.md | 11 --- doc/next/6-stdlib/99-minor/net/http/67813.md | 2 - doc/next/6-stdlib/99-minor/net/http/67814.md | 2 - doc/next/6-stdlib/99-minor/net/http/67816.md | 15 --- doc/next/6-stdlib/99-minor/net/netip/62384.md | 2 - doc/next/6-stdlib/99-minor/net/url/62384.md | 1 - doc/next/6-stdlib/99-minor/os/67002.md | 1 - doc/next/6-stdlib/99-minor/os/user/21867.md | 3 - doc/next/6-stdlib/99-minor/os/user/49509.md | 5 - doc/next/6-stdlib/99-minor/os/user/68312.md | 6 -- doc/next/6-stdlib/99-minor/os/user/68647.md | 3 - doc/next/6-stdlib/99-minor/regexp/62384.md | 1 - doc/next/6-stdlib/99-minor/runtime/51473.md | 3 - doc/next/6-stdlib/99-minor/runtime/67535.md | 6 -- doc/next/6-stdlib/99-minor/strings/61901.md | 12 --- doc/next/6-stdlib/99-minor/sync/70683.md | 5 - doc/next/6-stdlib/99-minor/testing/36532.md | 2 - doc/next/6-stdlib/99-minor/testing/61515.md | 1 - doc/next/6-stdlib/99-minor/testing/62516.md | 2 - .../6-stdlib/99-minor/text/template/66107.md | 1 - doc/next/6-stdlib/99-minor/time/62384.md | 1 - doc/next/6-stdlib/99-minor/weak/67552.md | 1 - doc/next/7-ports.md | 34 ------- doc/next/9-todo.md | 59 ----------- 82 files changed, 558 deletions(-) delete mode 100644 doc/next/1-intro.md delete mode 100644 doc/next/2-language.md delete mode 100644 doc/next/3-tools.md delete mode 100644 doc/next/4-runtime.md delete mode 100644 doc/next/5-toolchain.md delete mode 100644 doc/next/6-stdlib/0-heading.md delete mode 100644 doc/next/6-stdlib/1-os-root.md delete mode 100644 doc/next/6-stdlib/2-pbkdf2.md delete mode 100644 doc/next/6-stdlib/3-hkdf.md delete mode 100644 doc/next/6-stdlib/4-mlkem.md delete mode 100644 doc/next/6-stdlib/5-sha3.md delete mode 100644 doc/next/6-stdlib/6-testing-bloop.md delete mode 100644 doc/next/6-stdlib/6-weak.md delete mode 100644 doc/next/6-stdlib/99-minor/0-heading.md delete mode 100644 doc/next/6-stdlib/99-minor/README delete mode 100644 doc/next/6-stdlib/99-minor/archive/66831.md delete mode 100644 doc/next/6-stdlib/99-minor/bytes/61901.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/cipher/69445.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/cipher/69981.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/fips140/70123.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/hkdf/61477.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/md5/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/mlkem/70122.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/pbkdf2/69488.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/rand/66821.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/rand/67057.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/rsa/68762.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/sha1/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/sha256/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/sha3/69982.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/sha512/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/subtle/66450.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/tls/32936.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/tls/68500.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/tls/69985.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/x509/41682.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/x509/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/x509/67620.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/x509/67675.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/x509/68484.md delete mode 100644 doc/next/6-stdlib/99-minor/crypto/x509/69799.md delete mode 100644 doc/next/6-stdlib/99-minor/debug/elf/63952.md delete mode 100644 doc/next/6-stdlib/99-minor/encoding/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/encoding/json/45669.md delete mode 100644 doc/next/6-stdlib/99-minor/encoding/json/68941.md delete mode 100644 doc/next/6-stdlib/99-minor/go/types/66626.md delete mode 100644 doc/next/6-stdlib/99-minor/hash/adler32/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/hash/crc32/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/hash/crc64/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/hash/fnv/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/hash/maphash/54670.md delete mode 100644 doc/next/6-stdlib/99-minor/log/slog/62005.md delete mode 100644 doc/next/6-stdlib/99-minor/log/slog/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/math/big/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/math/rand/67273.md delete mode 100644 doc/next/6-stdlib/99-minor/math/rand/v2/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/net/56539.md delete mode 100644 doc/next/6-stdlib/99-minor/net/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/net/http/65035.md delete mode 100644 doc/next/6-stdlib/99-minor/net/http/67813.md delete mode 100644 doc/next/6-stdlib/99-minor/net/http/67814.md delete mode 100644 doc/next/6-stdlib/99-minor/net/http/67816.md delete mode 100644 doc/next/6-stdlib/99-minor/net/netip/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/net/url/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/os/67002.md delete mode 100644 doc/next/6-stdlib/99-minor/os/user/21867.md delete mode 100644 doc/next/6-stdlib/99-minor/os/user/49509.md delete mode 100644 doc/next/6-stdlib/99-minor/os/user/68312.md delete mode 100644 doc/next/6-stdlib/99-minor/os/user/68647.md delete mode 100644 doc/next/6-stdlib/99-minor/regexp/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/runtime/51473.md delete mode 100644 doc/next/6-stdlib/99-minor/runtime/67535.md delete mode 100644 doc/next/6-stdlib/99-minor/strings/61901.md delete mode 100644 doc/next/6-stdlib/99-minor/sync/70683.md delete mode 100644 doc/next/6-stdlib/99-minor/testing/36532.md delete mode 100644 doc/next/6-stdlib/99-minor/testing/61515.md delete mode 100644 doc/next/6-stdlib/99-minor/testing/62516.md delete mode 100644 doc/next/6-stdlib/99-minor/text/template/66107.md delete mode 100644 doc/next/6-stdlib/99-minor/time/62384.md delete mode 100644 doc/next/6-stdlib/99-minor/weak/67552.md delete mode 100644 doc/next/7-ports.md delete mode 100644 doc/next/9-todo.md diff --git a/doc/next/1-intro.md b/doc/next/1-intro.md deleted file mode 100644 index 3f6dc9f5d8..0000000000 --- a/doc/next/1-intro.md +++ /dev/null @@ -1,14 +0,0 @@ - - - - -## DRAFT RELEASE NOTES — Introduction to Go 1.24 {#introduction} - -**Go 1.24 is not yet released. These are work-in-progress release notes. -Go 1.24 is expected to be released in February 2025.** diff --git a/doc/next/2-language.md b/doc/next/2-language.md deleted file mode 100644 index d05433650c..0000000000 --- a/doc/next/2-language.md +++ /dev/null @@ -1,8 +0,0 @@ -## Changes to the language {#language} - - -Go 1.24 now fully supports [generic type aliases](/issue/46477): a type alias -may be parameterized like a defined type. -See the [language spec](/ref/spec#Alias_declarations) for details. -For now, the feature can be disabled by setting `GOEXPERIMENT=noaliastypeparams`; -but the `aliastypeparams` setting will be removed for Go 1.25. diff --git a/doc/next/3-tools.md b/doc/next/3-tools.md deleted file mode 100644 index fb71ada5d9..0000000000 --- a/doc/next/3-tools.md +++ /dev/null @@ -1,99 +0,0 @@ -## Tools {#tools} - -### Go command {#go-command} - - - -Go modules can now track executable dependencies using `tool` directives in -go.mod. This removes the need for the previous workaround of adding tools as -blank imports to a file conventionally named "tools.go". The `go tool` -command can now run these tools in addition to tools shipped with the Go -distribution. For more information see [the -documentation](/doc/modules/managing-dependencies#tools). - -The new `-tool` flag for `go get` causes a tool directive to be added to the -current module for named packages in addition to adding require directives. - -The new [`tool` meta-pattern](/cmd/go#hdr-Package_lists_and_patterns) refers to -all tools in the current module. This can be used to upgrade them all with `go -get -u tool` or to install them into your GOBIN directory with `go install -tool`. - - - -Executables created by `go run` and the new behavior for `go tool` are now -cached in the Go build cache. This makes repeated executions faster at the -expense of making the cache larger. See [#69290](/issue/69290). - - - -The `go build` and `go install` commands now accept a `-json` flag that reports -build output and failures as structured JSON output on standard output. -For details of the reporting format, see `go help buildjson`. - -Furthermore, `go test -json` now reports build output and failures in JSON, -interleaved with test result JSON. -These are distinguished by new `Action` types, but if they cause problems in -a test integration system, you can revert to the text build output by setting -`GODEBUG=gotestjsonbuildtext=1`. - -### Cgo {#cgo} - - -Cgo supports new annotations for C functions to improve run time -performance. -`#cgo noescape cFunctionName` tells the compiler that memory passed to -the C function `cFunctionname` does not escape. -`#cgo nocallback cFunctionName` tells the compiler that the C function -`cFunctionName` does not call back to any Go functions. -For more information, see [the cgo documentation](/pkg/cmd/cgo#hdr-Optimizing_calls_of_C_code). - - -Cgo currently refuses to compile calls to a C function which has multiple -incompatible declarations. For instance, if `f` is declared as both `void f(int)` -and `void f(double)`, cgo will report an error instead of possibly generating an -incorrect call sequence for `f(0)`. New in this release is a better detector for -this error condition when the incompatible declarations appear in different -files. See [#67699](/issue/67699). - -### Vet - - -The new `tests` analyzer reports common mistakes in declarations of -tests, fuzzers, benchmarks, and examples in test packages, such as -malformed names, incorrect signatures, or examples that document -non-existent identifiers. Some of these mistakes may cause tests not -to run. -This analyzer is among the subset of analyzers that are run by `go test`. - - -The existing `printf` analyzer now reports a diagnostic for calls of -the form `fmt.Printf(s)`, where `s` is a non-constant format string, -with no other arguments. Such calls are nearly always a mistake -as the value of `s` may contain the `%` symbol; use `fmt.Print` instead. -See [#60529](/issue/60529). - - -The existing `buildtag` analyzer now reports a diagnostic when -there is an invalid Go [major version build constraint](/pkg/cmd/go#hdr-Build_constraints) -within a `//go:build` directive. For example, `//go:build go1.23.1` refers to -a point release; use `//go:build go1.23` instead. -See [#64127](/issue/64127). - - -The existing `copylock` analyzer now reports a diagnostic when a -variable declared in a 3-clause "for" loop such as -`for i := iter(); done(i); i = next(i) { ... }` contains a `sync.Locker`, -such as a `sync.Mutex`. [Go 1.22](/doc/go1.22#language) changed the behavior -of these loops to create a new variable for each iteration, copying the -value from the previous iteration; this copy operation is not safe for locks. -See [#66387](/issue/66387). - -### GOCACHEPROG - - -The `cmd/go` internal binary and test caching mechanism can now be implemented -by child processes implementing a JSON protocol between the `cmd/go` tool -and the child process named by the `GOCACHEPROG` environment variable. -This was previously behind a GOEXPERIMENT. -For protocol details, see [#59719](/issue/59719). diff --git a/doc/next/4-runtime.md b/doc/next/4-runtime.md deleted file mode 100644 index 7079a0107f..0000000000 --- a/doc/next/4-runtime.md +++ /dev/null @@ -1,17 +0,0 @@ -## Runtime {#runtime} - - - - - -Several performance improvements to the runtime have decreased CPU overheads by -2—3% on average across a suite of representative benchmarks. -Results may vary by application. -These improvements include a new builtin `map` implementation based on -[Swiss Tables](https://abseil.io/about/design/swisstables), more efficient -memory allocation of small objects, and a new runtime-internal mutex -implementation. - -The new builtin `map` implementation and new runtime-internal mutex may be -disabled by setting `GOEXPERIMENT=noswissmap` and `GOEXPERIMENT=nospinbitmutex` -at build time respectively. diff --git a/doc/next/5-toolchain.md b/doc/next/5-toolchain.md deleted file mode 100644 index ba45b02567..0000000000 --- a/doc/next/5-toolchain.md +++ /dev/null @@ -1,25 +0,0 @@ -## Compiler {#compiler} - - -The compiler already disallowed defining new methods with receiver types that were -cgo-generated, but it was possible to circumvent that restriction via an alias type. -Go 1.24 now always reports an error if a receiver denotes a cgo-generated type, -whether directly or indirectly (through an alias type). - -## Assembler {#assembler} - -## Linker {#linker} - - -The linker now generates a GNU build ID (the ELF `NT_GNU_BUILD_ID` note) on ELF platforms -and a UUID (the Mach-O `LC_UUID` load command) on macOS by default. -The build ID or UUID is derived from the Go build ID. -It can be disabled by the `-B none` linker flag, or overridden by the `-B 0xNNNN` linker -flag with a user-specified hexadecimal value. - -## Bootstrap {#bootstrap} - - -As mentioned in the [Go 1.22 release notes](/doc/go1.22#bootstrap), Go 1.24 now requires -Go 1.22.6 or later for bootstrap. -We expect that Go 1.26 will require a point release of Go 1.24 or later for bootstrap. diff --git a/doc/next/6-stdlib/0-heading.md b/doc/next/6-stdlib/0-heading.md deleted file mode 100644 index a992170d43..0000000000 --- a/doc/next/6-stdlib/0-heading.md +++ /dev/null @@ -1,2 +0,0 @@ -## Standard library {#library} - diff --git a/doc/next/6-stdlib/1-os-root.md b/doc/next/6-stdlib/1-os-root.md deleted file mode 100644 index a5b6dace8c..0000000000 --- a/doc/next/6-stdlib/1-os-root.md +++ /dev/null @@ -1,16 +0,0 @@ -### Directory-limited filesystem access - - -The new [os.Root] type provides the ability to perform filesystem -operations within a specific directory. - -The [os.OpenRoot] function opens a directory and returns an [os.Root]. -Methods on [os.Root] operate within the directory and do not permit -paths that refer to locations outside the directory, including -ones that follow symbolic links out of the directory. - -- [os.Root.Open] opens a file for reading. -- [os.Root.Create] creates a file. -- [os.Root.OpenFile] is the generalized open call. -- [os.Root.Mkdir] creates a directory. - diff --git a/doc/next/6-stdlib/2-pbkdf2.md b/doc/next/6-stdlib/2-pbkdf2.md deleted file mode 100644 index 95a1a2c851..0000000000 --- a/doc/next/6-stdlib/2-pbkdf2.md +++ /dev/null @@ -1,2 +0,0 @@ -A new pbkdf2 [Key] derivation function was added, based on the pre-existing -`golang.org/x/crypto/pbkdf2` package. diff --git a/doc/next/6-stdlib/3-hkdf.md b/doc/next/6-stdlib/3-hkdf.md deleted file mode 100644 index 1914fa1aaf..0000000000 --- a/doc/next/6-stdlib/3-hkdf.md +++ /dev/null @@ -1,2 +0,0 @@ -A new `crypto/hkdf` package was added based on the pre-existing -`golang.org/x/crypto/hkdf` package. diff --git a/doc/next/6-stdlib/4-mlkem.md b/doc/next/6-stdlib/4-mlkem.md deleted file mode 100644 index fed114d70f..0000000000 --- a/doc/next/6-stdlib/4-mlkem.md +++ /dev/null @@ -1,3 +0,0 @@ -A new `crypto/mlkem` package was added, implementing ML-KEM (formerly known as -Kyber), as specified in [NIST FIPS 203](https://doi.org/10.6028/NIST.FIPS.203). - diff --git a/doc/next/6-stdlib/5-sha3.md b/doc/next/6-stdlib/5-sha3.md deleted file mode 100644 index ecaa74a715..0000000000 --- a/doc/next/6-stdlib/5-sha3.md +++ /dev/null @@ -1,7 +0,0 @@ -### New sha3 package - - -The new [crypto/sha3] package implements the SHA-3 hash function, and SHAKE and -cSHAKE extendable-output functions. - -It was imported from `golang.org/x/crypto/sha3`. diff --git a/doc/next/6-stdlib/6-testing-bloop.md b/doc/next/6-stdlib/6-testing-bloop.md deleted file mode 100644 index 37fb29303b..0000000000 --- a/doc/next/6-stdlib/6-testing-bloop.md +++ /dev/null @@ -1,5 +0,0 @@ -### New benchmark function - -Benchmarks may now use the faster and less error-prone [testing.B.Loop] method to perform benchmark iterations like `for b.Loop() { ... }` in place of the typical loop structures involving `b.N` like `for i := n; i < b.N; i++ { ... }` or `for range b.N`. This offers two significant advantages: - - The benchmark function will execute exactly once per -count, so expensive setup and cleanup steps execute only once. - - Function call parameters and results are kept alive, preventing the compiler from fully optimizing away the loop body. diff --git a/doc/next/6-stdlib/6-weak.md b/doc/next/6-stdlib/6-weak.md deleted file mode 100644 index 1965c1f9b9..0000000000 --- a/doc/next/6-stdlib/6-weak.md +++ /dev/null @@ -1,12 +0,0 @@ -### New weak package - -The new [weak](/pkg/weak) package provides weak pointers. - -Weak pointers are a low-level primitive provided to enable the -creation of memory-efficient structures, such as weak maps for -associating values, canonicalization maps for anything not -covered by package [unique](/pkg/unique), and various kinds -of caches. -For supporting these use-cases, this release also provides -[runtime.AddCleanup](/pkg/runtime#AddCleanup) and -[maphash.Comparable](/pkg/maphash#Comparable). diff --git a/doc/next/6-stdlib/99-minor/0-heading.md b/doc/next/6-stdlib/99-minor/0-heading.md deleted file mode 100644 index a98105e8cc..0000000000 --- a/doc/next/6-stdlib/99-minor/0-heading.md +++ /dev/null @@ -1,3 +0,0 @@ -### Minor changes to the library {#minor_library_changes} - - diff --git a/doc/next/6-stdlib/99-minor/README b/doc/next/6-stdlib/99-minor/README deleted file mode 100644 index fac778de05..0000000000 --- a/doc/next/6-stdlib/99-minor/README +++ /dev/null @@ -1 +0,0 @@ -API changes and other small changes to the standard library go here. diff --git a/doc/next/6-stdlib/99-minor/archive/66831.md b/doc/next/6-stdlib/99-minor/archive/66831.md deleted file mode 100644 index cc72014dc9..0000000000 --- a/doc/next/6-stdlib/99-minor/archive/66831.md +++ /dev/null @@ -1,2 +0,0 @@ -The `(*Writer).AddFS` implementations in both `archive/zip` and `archive/tar` -now write a directory header for an empty directory. diff --git a/doc/next/6-stdlib/99-minor/bytes/61901.md b/doc/next/6-stdlib/99-minor/bytes/61901.md deleted file mode 100644 index 30256f714a..0000000000 --- a/doc/next/6-stdlib/99-minor/bytes/61901.md +++ /dev/null @@ -1,12 +0,0 @@ -The [bytes] package adds several functions that work with iterators: -- [Lines] returns an iterator over the - newline-terminated lines in the byte slice s. -- [SplitSeq] returns an iterator over - all substrings of s separated by sep. -- [SplitAfterSeq] returns an iterator - over substrings of s split after each instance of sep. -- [FieldsSeq] returns an iterator over - substrings of s split around runs of whitespace characters, - as defined by unicode.IsSpace. -- [FieldsFuncSeq] returns an iterator - over substrings of s split around runs of Unicode code points satisfying f(c). diff --git a/doc/next/6-stdlib/99-minor/crypto/cipher/69445.md b/doc/next/6-stdlib/99-minor/crypto/cipher/69445.md deleted file mode 100644 index b3ef9dcc2a..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/cipher/69445.md +++ /dev/null @@ -1,5 +0,0 @@ -[NewOFB], [NewCFBEncrypter], and [NewCFBDecrypter] are now deprecated. OFB and -CFB mode are not authenticated, which generally enables active attacks to -manipulate and recover the plaintext. It is recommended that applications use -[AEAD] modes instead. If an unauthenticated [Stream] mode is required, use -[NewCTR] instead. diff --git a/doc/next/6-stdlib/99-minor/crypto/cipher/69981.md b/doc/next/6-stdlib/99-minor/crypto/cipher/69981.md deleted file mode 100644 index 7ef619c4d5..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/cipher/69981.md +++ /dev/null @@ -1,3 +0,0 @@ -The new [NewGCMWithRandomNonce] function returns an [AEAD] that implements -AES-GCM by generating a random nonce during Seal and prepending it to the -ciphertext. diff --git a/doc/next/6-stdlib/99-minor/crypto/fips140/70123.md b/doc/next/6-stdlib/99-minor/crypto/fips140/70123.md deleted file mode 100644 index c4204c1bfa..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/fips140/70123.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/6-stdlib/99-minor/crypto/hkdf/61477.md b/doc/next/6-stdlib/99-minor/crypto/hkdf/61477.md deleted file mode 100644 index 5b1c75e63e..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/hkdf/61477.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/6-stdlib/99-minor/crypto/md5/62384.md b/doc/next/6-stdlib/99-minor/crypto/md5/62384.md deleted file mode 100644 index 5ff3b58bb8..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/md5/62384.md +++ /dev/null @@ -1 +0,0 @@ -The value returned by [md5.New] now also implements the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/crypto/mlkem/70122.md b/doc/next/6-stdlib/99-minor/crypto/mlkem/70122.md deleted file mode 100644 index e14bce8f81..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/mlkem/70122.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/6-stdlib/99-minor/crypto/pbkdf2/69488.md b/doc/next/6-stdlib/99-minor/crypto/pbkdf2/69488.md deleted file mode 100644 index 6c36415b3c..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/pbkdf2/69488.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/6-stdlib/99-minor/crypto/rand/66821.md b/doc/next/6-stdlib/99-minor/crypto/rand/66821.md deleted file mode 100644 index 766e81e13a..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/rand/66821.md +++ /dev/null @@ -1,7 +0,0 @@ -The [Read] function, and the `Read` method of [Reader], are now -defined to never fail. -They will always return `nil` as the `error` result. -If something somehow goes wrong while reading random numbers, -the program will irrecoverably crash. -This change was made because all supported systems now provide -sources of random bytes that never fail. diff --git a/doc/next/6-stdlib/99-minor/crypto/rand/67057.md b/doc/next/6-stdlib/99-minor/crypto/rand/67057.md deleted file mode 100644 index 1ec1dc3c45..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/rand/67057.md +++ /dev/null @@ -1 +0,0 @@ -The new [Text] function can be used to generate cryptographically secure random text strings. diff --git a/doc/next/6-stdlib/99-minor/crypto/rsa/68762.md b/doc/next/6-stdlib/99-minor/crypto/rsa/68762.md deleted file mode 100644 index f4b5e066f3..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/rsa/68762.md +++ /dev/null @@ -1,7 +0,0 @@ -[GenerateKey] now returns an error if a key of less than 1024 bits is requested. -All Sign, Verify, Encrypt, and Decrypt methods now return an error if used with -a key smaller than 1024 bits. Such keys are insecure and should not be used. -Setting `GODEBUG=rsa1024min=0` or including `//go:debug rsa1024min=0` in a -source file restores the old behavior, but we recommend doing so only in tests, -if necessary. A new [GenerateKey] example provides an easy-to-use standard -2048-bit test key. diff --git a/doc/next/6-stdlib/99-minor/crypto/sha1/62384.md b/doc/next/6-stdlib/99-minor/crypto/sha1/62384.md deleted file mode 100644 index 1b4a36aaad..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/sha1/62384.md +++ /dev/null @@ -1 +0,0 @@ -The value returned by [sha1.New] now also implements the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md b/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md deleted file mode 100644 index d5efbc9152..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md +++ /dev/null @@ -1 +0,0 @@ -The values returned by [sha256.New] and [sha256.New224] now also implement the [encoding.BinaryAppender] interface diff --git a/doc/next/6-stdlib/99-minor/crypto/sha3/69982.md b/doc/next/6-stdlib/99-minor/crypto/sha3/69982.md deleted file mode 100644 index a6975cb34e..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/sha3/69982.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md b/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md deleted file mode 100644 index 5f4a44c144..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md +++ /dev/null @@ -1 +0,0 @@ -The values returned by [sha512.New], [sha512.New384], [sha512.New512_224] and [sha512.New512_256] now also implement the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/crypto/subtle/66450.md b/doc/next/6-stdlib/99-minor/crypto/subtle/66450.md deleted file mode 100644 index 353594ba0f..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/subtle/66450.md +++ /dev/null @@ -1,6 +0,0 @@ -The [WithDataIndependentTiming] function allows the user to run a function with -architecture specific features enabled which guarantee specific instructions are -data value timing invariant. This can be used to make sure that code designed to -run in constant time is not optimized by CPU-level features such that it -operates in variable time. Currently, [WithDataIndependentTiming] uses the -PSTATE.DIT bit on arm64, and is a no-op on all other architectures. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/tls/32936.md b/doc/next/6-stdlib/99-minor/crypto/tls/32936.md deleted file mode 100644 index 60c06024ca..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/tls/32936.md +++ /dev/null @@ -1 +0,0 @@ -The [ClientHelloInfo] struct passed to [Config.GetCertificate] now includes an `Extensions` field, which can be useful for fingerprinting TLS clients. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/tls/68500.md b/doc/next/6-stdlib/99-minor/crypto/tls/68500.md deleted file mode 100644 index f1618ca73c..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/tls/68500.md +++ /dev/null @@ -1,2 +0,0 @@ -The TLS server now supports Encrypted Client Hello (ECH). This feature can be -enabled by populating the [Config.EncryptedClientHelloKeys] field. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/tls/69985.md b/doc/next/6-stdlib/99-minor/crypto/tls/69985.md deleted file mode 100644 index 79e2018a14..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/tls/69985.md +++ /dev/null @@ -1,2 +0,0 @@ -`crypto/tls` now supports the post-quantum [X25519MLKEM768] key exchange. Support -for the experimental X25519Kyber768Draft00 key exchange has been removed. diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/41682.md b/doc/next/6-stdlib/99-minor/crypto/x509/41682.md deleted file mode 100644 index 5125886f82..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/x509/41682.md +++ /dev/null @@ -1,2 +0,0 @@ -The `x509sha1` GODEBUG setting has been removed. [`Certificate.Verify`] will no -longer consider SHA-1 based signatures valid when this GODEBUG setting is set. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/62384.md b/doc/next/6-stdlib/99-minor/crypto/x509/62384.md deleted file mode 100644 index a8c6a29d9a..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/x509/62384.md +++ /dev/null @@ -1,2 +0,0 @@ -[OID] now implements the [encoding.BinaryAppender] and [encoding.TextAppender] -interfaces. diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/67620.md b/doc/next/6-stdlib/99-minor/crypto/x509/67620.md deleted file mode 100644 index f9db5d47cc..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/x509/67620.md +++ /dev/null @@ -1,6 +0,0 @@ -The default certificate policies field has changed from -[Certificate.PolicyIdentifiers] to [Certificate.Policies]. When parsing -certificates, both fields will be populated, but when creating certificates -policies will now be taken from the [Certificate.Policies] field instead of the -[Certificate.PolicyIdentifiers field]. This change can be reverted by setting -`GODEBUG=x509usepolicies=0`. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/67675.md b/doc/next/6-stdlib/99-minor/crypto/x509/67675.md deleted file mode 100644 index 4824f9718e..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/x509/67675.md +++ /dev/null @@ -1,3 +0,0 @@ -[`CreateCertificate`] will now generate a serial number using a RFC 5280 -compliant method when passed a template with a nil [`Certificate.SerialNumber`] -field, instead of failing. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/68484.md b/doc/next/6-stdlib/99-minor/crypto/x509/68484.md deleted file mode 100644 index ee819546c5..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/x509/68484.md +++ /dev/null @@ -1,5 +0,0 @@ -[Certificate.Verify] now supports policy validation, as defined by RFC 5280 and -RFC 9618. In order to enable policy validation, -[VerifyOptions.CertificatePolicies] must be set to an acceptable set of policy -[OIDs]. When enabled, only certificate chains with valid policy graphs will be -returned from [Certificate.Verify]. \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/69799.md b/doc/next/6-stdlib/99-minor/crypto/x509/69799.md deleted file mode 100644 index 2197168365..0000000000 --- a/doc/next/6-stdlib/99-minor/crypto/x509/69799.md +++ /dev/null @@ -1,7 +0,0 @@ -[MarshalPKCS8PrivateKey] now returns an error instead of marshaling an invalid -RSA key. ([MarshalPKCS1PrivateKey] doesn't have an error return, and its behavior -when provided invalid keys continues to be undefined.) - -[ParsePKCS1PrivateKey] and [ParsePKCS8PrivateKey] now use and validate the -encoded CRT values, so might reject invalid keys that were previously accepted. -Use `GODEBUG=x509rsacrt=0` to revert to recomputing them. diff --git a/doc/next/6-stdlib/99-minor/debug/elf/63952.md b/doc/next/6-stdlib/99-minor/debug/elf/63952.md deleted file mode 100644 index 946673f2a1..0000000000 --- a/doc/next/6-stdlib/99-minor/debug/elf/63952.md +++ /dev/null @@ -1,20 +0,0 @@ -The [debug/elf] package adds several new constants, types, and methods to add support for handling dynamic versions and version flags in ELF (Executable and Linkable Format) files: - -Several new types have been introduced: -- [DynamicVersion] struct represents a dynamic version entry in the ELF file. -- [DynamicVersionDep] struct represents a dependency of a dynamic version. -- [DynamicVersionNeed] struct represents a required dynamic version in the ELF file. -- [DynamicVersionFlag] is a new type defined as uint16, representing flags for dynamic versions. - - [VER_FLG_BASE] version definition of the file. - - [VER_FLG_WEAK] weak version identifier. - - [VER_FLG_INFO] reference exists for informational purposes. -- [SymbolVersionFlag] is a new type defined as uint8, representing version flags for ELF symbols. - - [VerFlagNone] no flags. - - [VerFlagLocal] symbol has local scope. - - [VerFlagGlobal] symbol has global scope. - - [VerFlagHidden] symbol is hidden. - -The following methods have been added: -- [File.DynamicVersionNeeds] method returns a list of dynamic version needs in the ELF file, representing dependencies required by the executable. -- [File.DynamicVersions] retrieves a list of dynamic versions defined in the ELF file. - \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/encoding/62384.md b/doc/next/6-stdlib/99-minor/encoding/62384.md deleted file mode 100644 index 5b41d4ba6a..0000000000 --- a/doc/next/6-stdlib/99-minor/encoding/62384.md +++ /dev/null @@ -1,5 +0,0 @@ -Two new interfaces, [TextAppender] and [BinaryAppender], have been -introduced to append the textual or binary representation of an object -to a byte slice. These interfaces provide the same functionality as -[TextMarshaler] and [BinaryMarshaler], but instead of allocating a new slice -each time, they append the data directly to an existing slice. diff --git a/doc/next/6-stdlib/99-minor/encoding/json/45669.md b/doc/next/6-stdlib/99-minor/encoding/json/45669.md deleted file mode 100644 index 1d62ddc968..0000000000 --- a/doc/next/6-stdlib/99-minor/encoding/json/45669.md +++ /dev/null @@ -1,7 +0,0 @@ -When marshaling, a struct field with the new `omitzero` option in the struct field -tag will be omitted if its value is zero. If the field type has an `IsZero() bool` -method, that will be used to determine whether the value is zero. Otherwise, the -value is zero if it is [the zero value for its type](/ref/spec#The_zero_value). - -If both `omitempty` and `omitzero` are specified, the field will be omitted if the -value is either empty or zero (or both). diff --git a/doc/next/6-stdlib/99-minor/encoding/json/68941.md b/doc/next/6-stdlib/99-minor/encoding/json/68941.md deleted file mode 100644 index c7abec8b7f..0000000000 --- a/doc/next/6-stdlib/99-minor/encoding/json/68941.md +++ /dev/null @@ -1 +0,0 @@ -[UnmarshalTypeError.Field] now includes embedded structs to provide more detailed error messages. diff --git a/doc/next/6-stdlib/99-minor/go/types/66626.md b/doc/next/6-stdlib/99-minor/go/types/66626.md deleted file mode 100644 index 731819a64b..0000000000 --- a/doc/next/6-stdlib/99-minor/go/types/66626.md +++ /dev/null @@ -1,32 +0,0 @@ - -All `go/types` data structures that expose sequences using a pair of -methods such as `Len() int` and `At(int) T` now also have methods that -return iterators, allowing you to simplify code such as this: - -```go -params := fn.Type.(*types.Signature).Params() -for i := 0; i < params.Len(); i++ { - use(params.At(i)) -} -``` - -to this: - -```go -for param := range fn.Signature().Params().Variables() { - use(param) -} -``` - -The methods are: -[`Interface.EmbeddedTypes`](/pkg/go/types#Interface.EmbeddedTypes), -[`Interface.ExplicitMethods`](/pkg/go/types#Interface.ExplicitMethods), -[`Interface.Methods`](/pkg/go/types#Interface.Methods), -[`MethodSet.Methods`](/pkg/go/types#MethodSet.Methods), -[`Named.Methods`](/pkg/go/types#Named.Methods), -[`Scope.Children`](/pkg/go/types#Scope.Children), -[`Struct.Fields`](/pkg/go/types#Struct.Fields), -[`Tuple.Variables`](/pkg/go/types#Tuple.Variables), -[`TypeList.Types`](/pkg/go/types#TypeList.Types), -[`TypeParamList.TypeParams`](/pkg/go/types#TypeParamList.TypeParams), -[`Union.Terms`](/pkg/go/types#Union.Terms). \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/hash/adler32/62384.md b/doc/next/6-stdlib/99-minor/hash/adler32/62384.md deleted file mode 100644 index a584db8cad..0000000000 --- a/doc/next/6-stdlib/99-minor/hash/adler32/62384.md +++ /dev/null @@ -1 +0,0 @@ -The value returned by [New] now also implements the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/hash/crc32/62384.md b/doc/next/6-stdlib/99-minor/hash/crc32/62384.md deleted file mode 100644 index 0e835c2ccd..0000000000 --- a/doc/next/6-stdlib/99-minor/hash/crc32/62384.md +++ /dev/null @@ -1 +0,0 @@ -The values returned by [New] and [NewIEEE] now also implement the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/hash/crc64/62384.md b/doc/next/6-stdlib/99-minor/hash/crc64/62384.md deleted file mode 100644 index a584db8cad..0000000000 --- a/doc/next/6-stdlib/99-minor/hash/crc64/62384.md +++ /dev/null @@ -1 +0,0 @@ -The value returned by [New] now also implements the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/hash/fnv/62384.md b/doc/next/6-stdlib/99-minor/hash/fnv/62384.md deleted file mode 100644 index 68ec6f360e..0000000000 --- a/doc/next/6-stdlib/99-minor/hash/fnv/62384.md +++ /dev/null @@ -1 +0,0 @@ -The values returned by [New32], [New32a], [New64], [New64a], [New128] and [New128a] now also implement the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/hash/maphash/54670.md b/doc/next/6-stdlib/99-minor/hash/maphash/54670.md deleted file mode 100644 index ed67a4cb1f..0000000000 --- a/doc/next/6-stdlib/99-minor/hash/maphash/54670.md +++ /dev/null @@ -1,2 +0,0 @@ -New function [Comparable] returns the hash of comparable value v. -New function [WriteComparable] adds x to the data hashed by [Hash]. diff --git a/doc/next/6-stdlib/99-minor/log/slog/62005.md b/doc/next/6-stdlib/99-minor/log/slog/62005.md deleted file mode 100644 index de8802439b..0000000000 --- a/doc/next/6-stdlib/99-minor/log/slog/62005.md +++ /dev/null @@ -1 +0,0 @@ -The new [DiscardHandler] is a handler that is never enabled and always discards its output. diff --git a/doc/next/6-stdlib/99-minor/log/slog/62384.md b/doc/next/6-stdlib/99-minor/log/slog/62384.md deleted file mode 100644 index 5f8cbaa9d4..0000000000 --- a/doc/next/6-stdlib/99-minor/log/slog/62384.md +++ /dev/null @@ -1 +0,0 @@ -[Level] and [LevelVar] now implement the [encoding.TextAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/math/big/62384.md b/doc/next/6-stdlib/99-minor/math/big/62384.md deleted file mode 100644 index 4a9418818d..0000000000 --- a/doc/next/6-stdlib/99-minor/math/big/62384.md +++ /dev/null @@ -1 +0,0 @@ -[Float], [Int] and [Rat] now implement the [encoding.TextAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/math/rand/67273.md b/doc/next/6-stdlib/99-minor/math/rand/67273.md deleted file mode 100644 index 9882a3a332..0000000000 --- a/doc/next/6-stdlib/99-minor/math/rand/67273.md +++ /dev/null @@ -1,3 +0,0 @@ -Calls to the deprecated top-level [Seed] function no longer have any effect. To -restore the old behavior set `GODEBUG=randseednop=0`. For more background see -the proposal [#67273](/issue/67273). diff --git a/doc/next/6-stdlib/99-minor/math/rand/v2/62384.md b/doc/next/6-stdlib/99-minor/math/rand/v2/62384.md deleted file mode 100644 index 04dcb8b88a..0000000000 --- a/doc/next/6-stdlib/99-minor/math/rand/v2/62384.md +++ /dev/null @@ -1 +0,0 @@ -[ChaCha8] and [PCG] now implement the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/net/56539.md b/doc/next/6-stdlib/99-minor/net/56539.md deleted file mode 100644 index 6761539d3e..0000000000 --- a/doc/next/6-stdlib/99-minor/net/56539.md +++ /dev/null @@ -1,2 +0,0 @@ -[ListenConfig] now uses MPTCP by default on systems where it is supported -(currently on Linux only). diff --git a/doc/next/6-stdlib/99-minor/net/62384.md b/doc/next/6-stdlib/99-minor/net/62384.md deleted file mode 100644 index b967047749..0000000000 --- a/doc/next/6-stdlib/99-minor/net/62384.md +++ /dev/null @@ -1 +0,0 @@ -[IP] now implements the [encoding.TextAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/net/http/65035.md b/doc/next/6-stdlib/99-minor/net/http/65035.md deleted file mode 100644 index 5368aad117..0000000000 --- a/doc/next/6-stdlib/99-minor/net/http/65035.md +++ /dev/null @@ -1,11 +0,0 @@ -[Transport]'s limit on 1xx informational responses received -in response to a request has changed. -It previously aborted a request and returned an error after -receiving more than 5 1xx responses. -It now returns an error if the total size of all 1xx responses -exceeds the [Transport.MaxResponseHeaderBytes] configuration setting. - -In addition, when a request has a -[net/http/httptrace.ClientTrace.Got1xxResponse] -trace hook, there is now no limit on the total number of 1xx responses. -The `Got1xxResponse` hook may return an error to abort a request. diff --git a/doc/next/6-stdlib/99-minor/net/http/67813.md b/doc/next/6-stdlib/99-minor/net/http/67813.md deleted file mode 100644 index d7e9811674..0000000000 --- a/doc/next/6-stdlib/99-minor/net/http/67813.md +++ /dev/null @@ -1,2 +0,0 @@ -[Transport] and [Server] now have an HTTP2 field which permits -configuring HTTP/2 protocol settings. diff --git a/doc/next/6-stdlib/99-minor/net/http/67814.md b/doc/next/6-stdlib/99-minor/net/http/67814.md deleted file mode 100644 index 902664d94c..0000000000 --- a/doc/next/6-stdlib/99-minor/net/http/67814.md +++ /dev/null @@ -1,2 +0,0 @@ -The new [Server.Protocols] and [Transport.Protocols] fields provide -a simple way to configure what HTTP protocols a server or client use. diff --git a/doc/next/6-stdlib/99-minor/net/http/67816.md b/doc/next/6-stdlib/99-minor/net/http/67816.md deleted file mode 100644 index c96d85258c..0000000000 --- a/doc/next/6-stdlib/99-minor/net/http/67816.md +++ /dev/null @@ -1,15 +0,0 @@ -The server and client may be configured to support unencrypted HTTP/2 -connections. - -When [Server.Protocols] contains UnencryptedHTTP2, the server will accept -HTTP/2 connections on unencrypted ports. The server can accept both -HTTP/1 and unencrypted HTTP/2 on the same port. - -When [Transport.Protocols] contains UnencryptedHTTP2 and does not contain -HTTP1, the transport will use unencrypted HTTP/2 for http:// URLs. -If the transport is configured to use both HTTP/1 and unencrypted HTTP/2, -it will use HTTP/1. - -Unencrypted HTTP/2 support uses "HTTP/2 with Prior Knowledge" -(RFC 9113, section 3.3). The deprecated "Upgrade: h2c" header -is not supported. diff --git a/doc/next/6-stdlib/99-minor/net/netip/62384.md b/doc/next/6-stdlib/99-minor/net/netip/62384.md deleted file mode 100644 index ceb5b30213..0000000000 --- a/doc/next/6-stdlib/99-minor/net/netip/62384.md +++ /dev/null @@ -1,2 +0,0 @@ -[Addr], [AddrPort] and [Prefix] now implement the [encoding.BinaryAppender] and -[encoding.TextAppender] interfaces. diff --git a/doc/next/6-stdlib/99-minor/net/url/62384.md b/doc/next/6-stdlib/99-minor/net/url/62384.md deleted file mode 100644 index 1d759434e1..0000000000 --- a/doc/next/6-stdlib/99-minor/net/url/62384.md +++ /dev/null @@ -1 +0,0 @@ -[URL] now also implements the [encoding.BinaryAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/os/67002.md b/doc/next/6-stdlib/99-minor/os/67002.md deleted file mode 100644 index f0fa13b7cb..0000000000 --- a/doc/next/6-stdlib/99-minor/os/67002.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/6-stdlib/99-minor/os/user/21867.md b/doc/next/6-stdlib/99-minor/os/user/21867.md deleted file mode 100644 index 2fc3d2d60c..0000000000 --- a/doc/next/6-stdlib/99-minor/os/user/21867.md +++ /dev/null @@ -1,3 +0,0 @@ -On Windows, [Current] can now be used in Windows Nano Server. -The implementation has been updated to avoid using functions -from the `NetApi32` library, which is not available in Nano Server. diff --git a/doc/next/6-stdlib/99-minor/os/user/49509.md b/doc/next/6-stdlib/99-minor/os/user/49509.md deleted file mode 100644 index d853d9055a..0000000000 --- a/doc/next/6-stdlib/99-minor/os/user/49509.md +++ /dev/null @@ -1,5 +0,0 @@ -On Windows, [Current], [Lookup] and [LookupId] now supports the -following built-in service user accounts: -- `NT AUTHORITY\SYSTEM` -- `NT AUTHORITY\LOCAL SERVICE` -- `NT AUTHORITY\NETWORK SERVICE` diff --git a/doc/next/6-stdlib/99-minor/os/user/68312.md b/doc/next/6-stdlib/99-minor/os/user/68312.md deleted file mode 100644 index b5d44c7bf6..0000000000 --- a/doc/next/6-stdlib/99-minor/os/user/68312.md +++ /dev/null @@ -1,6 +0,0 @@ -On Windows, [Current] has been made considerably faster when -the current user is joined to a slow domain, which is the -usual case for many corporate users. The new implementation -performance is now in the order of milliseconds, compared to -the previous implementation which could take several seconds, -or even minutes, to complete. diff --git a/doc/next/6-stdlib/99-minor/os/user/68647.md b/doc/next/6-stdlib/99-minor/os/user/68647.md deleted file mode 100644 index f31047c1ac..0000000000 --- a/doc/next/6-stdlib/99-minor/os/user/68647.md +++ /dev/null @@ -1,3 +0,0 @@ -On Windows, [Current] now returns the process owner user when -the current thread is impersonating another user. Previously, -it returned an error. diff --git a/doc/next/6-stdlib/99-minor/regexp/62384.md b/doc/next/6-stdlib/99-minor/regexp/62384.md deleted file mode 100644 index 9dcdbad1e8..0000000000 --- a/doc/next/6-stdlib/99-minor/regexp/62384.md +++ /dev/null @@ -1 +0,0 @@ -[Regexp] now implements the [encoding.TextAppender] interface. diff --git a/doc/next/6-stdlib/99-minor/runtime/51473.md b/doc/next/6-stdlib/99-minor/runtime/51473.md deleted file mode 100644 index 9083766a4d..0000000000 --- a/doc/next/6-stdlib/99-minor/runtime/51473.md +++ /dev/null @@ -1,3 +0,0 @@ -The [GOROOT] function is now deprecated. -In new code prefer to use the system path to locate the “go” binary, -and use `go env GOROOT` to find its GOROOT. diff --git a/doc/next/6-stdlib/99-minor/runtime/67535.md b/doc/next/6-stdlib/99-minor/runtime/67535.md deleted file mode 100644 index e5729f3838..0000000000 --- a/doc/next/6-stdlib/99-minor/runtime/67535.md +++ /dev/null @@ -1,6 +0,0 @@ -The [AddCleanup] function attaches a function to a pointer. Once the object that -the pointer points to is no longer reachable, the runtime will call the function. -[AddCleanup] is a finalization mechanism similar to [SetFinalizer]. Unlike -[SetFinalizer], it does not resurrect objects while running the cleanup. Multiple -cleanups can be attached to a single object. [AddCleanup] is an improvement over -[SetFinalizer]. diff --git a/doc/next/6-stdlib/99-minor/strings/61901.md b/doc/next/6-stdlib/99-minor/strings/61901.md deleted file mode 100644 index c3236dc853..0000000000 --- a/doc/next/6-stdlib/99-minor/strings/61901.md +++ /dev/null @@ -1,12 +0,0 @@ -The [strings] package adds several functions that work with iterators: -- [Lines] returns an iterator over - the newline-terminated lines in the string s. -- [SplitSeq] returns an iterator over - all substrings of s separated by sep. -- [SplitAfterSeq] returns an iterator - over substrings of s split after each instance of sep. -- [FieldsSeq] returns an iterator over - substrings of s split around runs of whitespace characters, - as defined by unicode.IsSpace. -- [FieldsFuncSeq] returns an iterator - over substrings of s split around runs of Unicode code points satisfying f(c). diff --git a/doc/next/6-stdlib/99-minor/sync/70683.md b/doc/next/6-stdlib/99-minor/sync/70683.md deleted file mode 100644 index f88f3889e2..0000000000 --- a/doc/next/6-stdlib/99-minor/sync/70683.md +++ /dev/null @@ -1,5 +0,0 @@ -The implementation of [sync.Map] has been changed, improving overall performance -and resolving some long-standing issues. -If you encounter any problems, set `GOEXPERIMENT=nosynchashtriemap` at build -time to switch back to the old implementation and please [file an -issue](/issue/new). diff --git a/doc/next/6-stdlib/99-minor/testing/36532.md b/doc/next/6-stdlib/99-minor/testing/36532.md deleted file mode 100644 index 1c3ad893ba..0000000000 --- a/doc/next/6-stdlib/99-minor/testing/36532.md +++ /dev/null @@ -1,2 +0,0 @@ -The new [T.Context] and [B.Context] methods return a context that's canceled -after the test completes and before test cleanup functions run. diff --git a/doc/next/6-stdlib/99-minor/testing/61515.md b/doc/next/6-stdlib/99-minor/testing/61515.md deleted file mode 100644 index 696633a330..0000000000 --- a/doc/next/6-stdlib/99-minor/testing/61515.md +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/doc/next/6-stdlib/99-minor/testing/62516.md b/doc/next/6-stdlib/99-minor/testing/62516.md deleted file mode 100644 index a7a90cdbcd..0000000000 --- a/doc/next/6-stdlib/99-minor/testing/62516.md +++ /dev/null @@ -1,2 +0,0 @@ -The new [T.Chdir] and [B.Chdir] methods can be used to change the working -directory for the duration of a test or benchmark. diff --git a/doc/next/6-stdlib/99-minor/text/template/66107.md b/doc/next/6-stdlib/99-minor/text/template/66107.md deleted file mode 100644 index 03e1a1f21c..0000000000 --- a/doc/next/6-stdlib/99-minor/text/template/66107.md +++ /dev/null @@ -1 +0,0 @@ -Templates now support range-over-func and range-over-int. diff --git a/doc/next/6-stdlib/99-minor/time/62384.md b/doc/next/6-stdlib/99-minor/time/62384.md deleted file mode 100644 index 99c7a39a59..0000000000 --- a/doc/next/6-stdlib/99-minor/time/62384.md +++ /dev/null @@ -1 +0,0 @@ -[Time] now implements the [encoding.BinaryAppender] and [encoding.TextAppender] interfaces. diff --git a/doc/next/6-stdlib/99-minor/weak/67552.md b/doc/next/6-stdlib/99-minor/weak/67552.md deleted file mode 100644 index e7210389d4..0000000000 --- a/doc/next/6-stdlib/99-minor/weak/67552.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/next/7-ports.md b/doc/next/7-ports.md deleted file mode 100644 index 68f5241c6e..0000000000 --- a/doc/next/7-ports.md +++ /dev/null @@ -1,34 +0,0 @@ -## Ports {#ports} - -### Linux {#linux} - - -As [announced](go1.23#linux) in the Go 1.23 release notes, Go 1.24 requires Linux -kernel version 3.2 or later. - -### Darwin {#darwin} - - -Go 1.24 is the last release that will run on macOS 11 Big Sur. -Go 1.25 will require macOS 12 Monterey or later. - -### WebAssembly {#wasm} - - -The `go:wasmexport` directive is added for Go programs to export functions to the WebAssembly host. - -On WebAssembly System Interface Preview 1 (`GOOS=wasip1, GOARCH=wasm`), Go 1.24 supports -building a Go program as a -[reactor/library](https://github.com/WebAssembly/WASI/blob/63a46f61052a21bfab75a76558485cf097c0dbba/legacy/application-abi.md#current-unstable-abi), -by specifying the `-buildmode=c-shared` build flag. - - -More types are now permitted as argument or result types for `go:wasmimport` functions. -Specifically, `bool`, `string`, `uintptr`, and pointers to certain types are allowed -(see the [proposal](/issue/66984) for detail), -along with 32-bit and 64-bit integer and float types, and `unsafe.Pointer`, which -are already allowed. -These types are also permitted as argument or result types for `go:wasmexport` functions. - - -The support files for WebAssembly have been moved to `lib/wasm` from `misc/wasm`. diff --git a/doc/next/9-todo.md b/doc/next/9-todo.md deleted file mode 100644 index 28f23a0448..0000000000 --- a/doc/next/9-todo.md +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -- 2.48.1