blob: 827af1d3b193ff80b5f0c67fde91c5fa7f912948 [file] [log] [blame] [view]
Jonathan Amsterdamb3cfb242023-11-15 08:23:23 -05001# Release Notes
2
3The `initial` and `next` subdirectories of this directory are for release notes.
4
5At the start of a release development cycle, the contents of `next` should be deleted
6and replaced with those of `initial`.
7Release notes should be added to `next` by editing existing files or creating new files.
8
9To prepare the release notes for a release, run `golang.org/x/build/cmd/relnote generate`.
10That will merge the `.md` files in `next` into a single file.
11
12The files are merged by being concatenated in sorted order by pathname. Files in
13the directory matching the glob "*stdlib/*minor" are treated specially. They should
14be in subdirectories corresponding to standard library package paths, and headings
15for those package paths will be generated automatically.
16
17Files in this repo's `api/next` directory must have corresponding files in `*stdlib/*minor`.
18The files should be in the subdirectory for the package with the new API, and should
19be named after the issue number of the API proposal. For example, for an api/next
20file with the line
21
22 pkg net/http, function F #12345
23
24there should be a file named net/http/12345.md.
25At a minimum, that file should contain either a full sentence or a TODO,
26ideally referring to a person with the responsibility to complete the note.