doc/README.md MARKDOWN 76 lines View on github.com → Search inside
1# Release Notes23The `initial` and `next` subdirectories of this directory are for release notes.45## For developers67Release notes should be added to `next` by editing existing files or creating8new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to9the CL (or ask the author to do so).1011At the end of the development cycle, the files will be merged by being12concatenated in sorted order by pathname. Files in the directory matching the13glob "*stdlib/*minor" are treated specially. They should be in subdirectories14corresponding to standard library package paths, and headings for those package15paths will be generated automatically.1617Files in this repo's `api/next` directory must have corresponding files in18`doc/next/*stdlib/*minor`.19The files should be in the subdirectory for the package with the new20API, and should be named after the issue number of the API proposal.21For example, if the directory `6-stdlib/99-minor` is present,22then an `api/next` file with the line2324    pkg net/http, function F #123452526should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.27At a minimum, that file should contain either a full sentence or a TODO,28ideally referring to a person with the responsibility to complete the note.2930If your CL addresses an accepted proposal, mention the proposal issue number in31your release note in the form `/issue/NUMBER`. A link to the issue in the text32will have this form (see below). If you don't want to mention the issue in the33text, add it as a comment:34```35<!-- go.dev/issue/12345 -->36```37If an accepted proposal is mentioned in a CL but not in the release notes, it will be38flagged as a TODO by the automated tooling. That is true even for proposals that add API.3940Use the following forms in your markdown:4142	[http.Request]                     # symbol documentation; auto-linked as in Go doc strings43	[Request]                          # short form, for symbols in the package being documented44	[net/http]                         # package link45	[#12345](/issue/12345)             # GitHub issues46	[CL 6789](/cl/6789)                # Gerrit changelists4748To preview `next` content in merged form using a local instance of the website, run:4950```51go run golang.org/x/website/cmd/golangorg@latest -goroot=..52```5354Then open http://localhost:6060/doc/next. Refresh the page to see your latest edits.5556## For the release team5758The `relnote` tool, at `golang.org/x/build/cmd/relnote`, operates on the files59in `doc/next`.6061As a release cycle nears completion, run `relnote todo` to get a list of62unfinished release note work.6364To prepare the release notes for a release, run `relnote generate`.65That will merge the `.md` files in `next` into a single file.66Atomically (as close to it as possible) add that file to `_content/doc` directory67of the website repository and remove the `doc/next` directory in this repository.6869To begin the next release development cycle, populate the contents of `next`70with those of `initial`. From the repo root:7172    > cd doc73    > cp -R initial/ next7475Then edit `next/1-intro.md` to refer to the next version.

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.