-
Notifications
You must be signed in to change notification settings - Fork 18k
doc: improve release notes #64169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Now that the notes are in Markdown, we don't need the html files. For golang/go#64169. Change-Id: I25f0b636ed4101c38966a2b7d97ec5e5e3cb827e Reviewed-on: https://go-review.googlesource.com/c/website/+/541975 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Since 1.7, the "Minor changes to the library" second has used a definition list to describe the changes to each package. Use level 4 headings instead. This removes one feature that is not CommonMark-compliant. It paves the way for using a CommonMark-compliant Markdown parser and renderer for both display and generation of release notes. For golang/go#64169. Change-Id: I2327499971a2db4eee06ef35e3e41cd0d2f953b3 Reviewed-on: https://go-review.googlesource.com/c/website/+/541976 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Change https://go.dev/cl/541975 mentions this issue: |
Change https://go.dev/cl/541976 mentions this issue: |
Change https://go.dev/cl/542495 mentions this issue: |
Change https://go.dev/cl/542515 mentions this issue: |
Change https://go.dev/cl/542516 mentions this issue: |
Change https://go.dev/cl/542615 mentions this issue: |
For golang/go#64169. Change-Id: Iac58322c3bdd20a86e5492e5cdbb8e92182962a6 Reviewed-on: https://go-review.googlesource.com/c/website/+/542615 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This CL starts a package that will be used in at least two places as part of the current improvements to the release notes process. - This repo will use it to find incomplete note fragments and also to merge them into a final document. - The main repo will use it in tests that validate the fragments. It has few dependencies because it will be vendored into the main repo. Aside from the standard library, it depends only on rsc.io/markdown, which itself depends only on some packages in x/tools and x/text. For golang/go#64169. Change-Id: Ifa558834f491bc6a249cbb540574fdb9009e9f8d Reviewed-on: https://go-review.googlesource.com/c/build/+/542495 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Change https://go.dev/cl/556455 mentions this issue: |
Change https://go.dev/cl/556359 mentions this issue: |
The x/build repo is permitted to be outside of the Go support policy and has dropped support for Go 1.20 just now in CL 556355. We need to backport that from LUCI to the old infrastructure while the migration is underway and both dashboards are being supported. Updating this in the old infra is a bit more involved, but this code will be going away after the migration so I'm not trying to refactor. For golang/go#64169. Change-Id: Ic5079e38dd13b5bfb56d4d430efb5c3919918d47 Reviewed-on: https://go-review.googlesource.com/c/build/+/556455 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Use a newer supported version. For golang/go#64169. Change-Id: Ice8fea55951bf1615a04aca24a870556c281877a Reviewed-on: https://go-review.googlesource.com/c/build/+/556359 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org>
Change https://go.dev/cl/556163 mentions this issue: |
Change https://go.dev/cl/556162 mentions this issue: |
Change https://go.dev/cl/556161 mentions this issue: |
Change https://go.dev/cl/556160 mentions this issue: |
Change https://go.dev/cl/556159 mentions this issue: |
Change https://go.dev/cl/556164 mentions this issue: |
Add a function that merges a tree of markdown files into a single file. For golang/go#64169. Change-Id: Ie3200d6cbe0e65f9c878de92c2d812b0ffbccc83 Reviewed-on: https://go-review.googlesource.com/c/build/+/556159 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Change https://go.dev/cl/556655 mentions this issue: |
Remove sections that have no content from the merged document. For golang/go#64169. Change-Id: Ic78b1e2dc46d14dcf885cef8ce0e7dd4a257298a Reviewed-on: https://go-review.googlesource.com/c/build/+/556160 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Document that links to symbols in the standard library can be written as "[foo]", without the actual link. For #64169. Change-Id: I9d8a33e85df70037320a169d55a2bb4a8a981ebf Reviewed-on: https://go-review.googlesource.com/c/go/+/577915 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Change https://go.dev/cl/584396 mentions this issue: |
Change https://go.dev/cl/584301 mentions this issue: |
Change https://go.dev/cl/584302 mentions this issue: |
Change https://go.dev/cl/584398 mentions this issue: |
Add a TODO for every merged CL that mentions an accepted proposal. Also, move some functions from relnote.go to todo.go, where they are used. For golang/go#64169. Change-Id: I023dab2bb9627be35c1b4ab90fe5dd597b6fc9ca Reviewed-on: https://go-review.googlesource.com/c/build/+/584396 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
For golang/go#64169. Change-Id: I838a45104af33a973f2a3742eda2045386e9b66d Reviewed-on: https://go-review.googlesource.com/c/build/+/584301 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
It is a better way to represent that it is optional. For golang/go#64169. Change-Id: I7de85aa6615cfc27fc4a82fc0fa5d5892cd9ebea Reviewed-on: https://go-review.googlesource.com/c/build/+/584302 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Don't write a TODO for an issue that is mentioned in the release notes. For golang/go#64169. Change-Id: I9829957cb07c997a1d763fc00a996aeb2a53ba17 Reviewed-on: https://go-review.googlesource.com/c/build/+/584398 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Change https://go.dev/cl/584615 mentions this issue: |
Change https://go.dev/cl/584401 mentions this issue: |
Look for the date of CL that opened the tree to find the cutoff for TODOs. Add a flag for the date in case that doesn't work. For golang/go#64169. Change-Id: I756e5622339f5e1963c39b8e0bbd7eeb3fc23d85 Reviewed-on: https://go-review.googlesource.com/c/build/+/584401 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Russ Cox <rsc@golang.org>
Inform users that every accepted proposal should be mentioned in the release notes to avoid generating a TODO. Also, clarify instructions for the release team. For #64169. Change-Id: I03921739af31fc93f4b5808b2c7c98e28ad3da11 Reviewed-on: https://go-review.googlesource.com/c/go/+/584615 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Change https://go.dev/cl/587415 mentions this issue: |
Change https://go.dev/cl/587435 mentions this issue: |
Change https://go.dev/cl/587436 mentions this issue: |
Go release notes always start out as a draft with a clear notice. That notice is removed when the final release (go1.N.0) is made. For example, the last time was in CL 562255. Add this to the Go 1.23 draft and to the future fragment template. Also switch to the main pkg.go.dev instance and use a relative issue link in 3-tools.md while here. For #64169. For #65614. Change-Id: I16bc0fa8a3a43ee7a9edd7fa253999041f1892e2 Reviewed-on: https://go-review.googlesource.com/c/go/+/587415 Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Pull in latest changes to x/build/relnote. Its functionality will be used when rendering the tip.golang.org/doc/next page. For golang/go#64169. Change-Id: I534dfb2f9b19495488e6025e057a39fea1f0a8d4 Reviewed-on: https://go-review.googlesource.com/c/website/+/587435 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
The improved release note process is being used starting with Go 1.23. That means instead of a single doc/go1.23.html draft file in the main Go repository, doc/next contains a set of release note fragments. Having small, orthogonal files avoids merge conflicts, and a release note test requires that release notes are written and included in the same CL that's adding new APIs. As a result, the set of completed release notes even before we enter the release freeze is greater than ever before. While it's possible to view those fragments using tip.golang.org (e.g., by visiting https://tip.golang.org/doc/next), reading them that way isn't practical. The relnote generate tool exists to merge fragments into a complete Markdown document, and this tool will be used when eventually moving a complete draft of Go 1.23 release notes to x/website. To aid the remaining work of completing the release note draft, this change adds a dynamic /doc/next page to preview what the relnote generate tool will produce. Combined with existing functionality of the -tip flag, it makes https://tip.golang.org/doc/next display a live preview of the checked-in release notes draft. It can also be used to preview release note draft locally. For example, if $HOME/gotip is a Go checkout where one is editing doc/next content: go run golang.org/x/website/cmd/golangorg@latest -goroot=$HOME/gotip Will serve a live preview at http://localhost:6060/go.dev/doc/next. It can be slightly more convenient to refresh a browser without having to re-run 'relnote generate'. For golang/go#64169. For golang/go#65614. Change-Id: Ie1d3650076421a95a691dd84a554a113dd1187b1 Reviewed-on: https://go-review.googlesource.com/c/website/+/587436 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Change https://go.dev/cl/587922 mentions this issue: |
Smaller edits are usually fine to do without previewing, since Markdown can be intuitive. But for larger changes including re-ordering sections and such, it can be helpful to quickly see the end result. Write down a way to do that. Update the release steps to capture that the doc/next content will move to x/website before RC 1, when the complete release note draft is ready. For #64169. Change-Id: Ie554ed5294ce819fd0689e2249e6013826f0c71f Reviewed-on: https://go-review.googlesource.com/c/go/+/587922 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Change https://go.dev/cl/591317 mentions this issue: |
Make the output of 'relnote todo' more useful: - consider the existence of a *-stdlib/*-minor/.../nnn.md file to be equivalent to an explicit mention of an issue nnn; this way there's no need to enforce that a file like 12345.md must also have a comment like <!-- go.dev/issue/12345 --> - improve the TODO wording of legacy RELNOTE= Gerrit comments when the release note isn't specified (beyond just "y" or "yes") - track CLs that are mentioned (e.g., "CL nnn") and consider such mentions to mark legacy RELNOTE= Gerrit comments as handled - sort provenances to remove a remaining source of non-deterministic output With these changes, relnote todo | wc -l goes from 52 lines down to 8, removing many mentions of proposals that are mentioned in nnn.md files without an explicit comment, and a few legacy RELNOTE= Gerrit comments that were reviewed as well. For golang/go#64169. Change-Id: If285c431854d279dd7dba6c145ba696ec003b351 Reviewed-on: https://go-review.googlesource.com/c/build/+/591317 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Change https://go.dev/cl/633580 mentions this issue: |
No need to repeat the path when it's implicitly specified via file path in x/website/_content. Also move the title key to be higher up. This is to make the generator match what we've been doing in x/website the last two releases. For golang/go#64169. Change-Id: Ic154bee804939e9e2a22bbe42d8aa108eba7e7d3 Reviewed-on: https://go-review.googlesource.com/c/build/+/633580 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This issue covers a set of improvements to the Go release notes:
The text was updated successfully, but these errors were encountered: