Skip to content

Commit 6eefe2b

Browse files
authored
Merge branch 'golang:master' into master
2 parents 97f64cc + af5943f commit 6eefe2b

File tree

599 files changed

+99144
-11630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

599 files changed

+99144
-11630
lines changed

api/README

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ warning output from the go api tool. Each file should be named
2121
nnnnn.txt, after the issue number for the accepted proposal.
2222
(The #nnnnn suffix must also appear at the end of each line in the file;
2323
that will be preserved when next/*.txt is concatenated into go1.XX.txt.)
24+
25+
When you add a file to the api/next directory, you must add at least one file
26+
under doc/next. See doc/README.md for details.

api/go1.22.txt

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
pkg archive/tar, method (*Writer) AddFS(fs.FS) error #58000
2-
pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
3-
pkg archive/tar, type FileInfoNames interface, Gname(int) (string, error) #50102
4-
pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
5-
pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
6-
pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
7-
pkg archive/tar, type FileInfoNames interface, Name() string #50102
8-
pkg archive/tar, type FileInfoNames interface, Size() int64 #50102
9-
pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
10-
pkg archive/tar, type FileInfoNames interface, Uname(int) (string, error) #50102
112
pkg archive/zip, method (*Writer) AddFS(fs.FS) error #54898
123
pkg cmp, func Or[$0 comparable](...$0) $0 #60204
134
pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665

api/next/42888.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pkg runtime/debug, func SetCrashOutput(*os.File) error #42888

api/next/61696.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pkg sync, method (*Map) Clear() #61696

doc/README.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Release Notes
2+
3+
The `initial` and `next` subdirectories of this directory are for release notes.
4+
5+
## For developers
6+
7+
Release notes should be added to `next` by editing existing files or creating new files.
8+
9+
At the end of the development cycle, the files will be merged by being
10+
concatenated in sorted order by pathname. Files in the directory matching the
11+
glob "*stdlib/*minor" are treated specially. They should be in subdirectories
12+
corresponding to standard library package paths, and headings for those package
13+
paths will be generated automatically.
14+
15+
Files in this repo's `api/next` directory must have corresponding files in
16+
`doc/next/*stdlib/*minor`.
17+
The files should be in the subdirectory for the package with the new
18+
API, and should be named after the issue number of the API proposal.
19+
For example, if the directory `6-stdlib/99-minor` is present,
20+
then an `api/next` file with the line
21+
22+
pkg net/http, function F #12345
23+
24+
should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.
25+
At a minimum, that file should contain either a full sentence or a TODO,
26+
ideally referring to a person with the responsibility to complete the note.
27+
28+
Use the following forms in your markdown:
29+
30+
[`http.Request`](/pkg/net/http#Request) # symbol documentation
31+
[#12345](/issue/12345) # GitHub issues
32+
[CL 6789](/cl/6789) # Gerrit changelists
33+
34+
## For the release team
35+
36+
At the start of a release development cycle, the contents of `next` should be deleted
37+
and replaced with those of `initial`. From the repo root:
38+
39+
> cd doc
40+
> rm -r next/*
41+
> cp -r initial/* next
42+
43+
Then edit `next/1-intro.md` to refer to the next version.
44+
45+
To prepare the release notes for a release, run `golang.org/x/build/cmd/relnote generate`.
46+
That will merge the `.md` files in `next` into a single file.

0 commit comments

Comments
 (0)