We publish detailed release notes describing changes that impact external users of CockroachDB. Engineers provide "Release note" texts in their cockroach
repo commits. These are then /wiki/spaces/ED/pages/1134166401 by the Docs Team. This page provides guidance on when and how Cockroach Labs engineers should write these texts.
This information is also provided as a CockroachU course to all new hires, though all current roachers are welcome to review it. The course largely tracks with this wiki page. It does not contain the the detail on release note categories. For feedback on the course, contact Douglas Weatherbee . For other release notes questions, contact Michael Lewis.
Table of Contents | ||
---|---|---|
|
...
Every PR should have at least one “Release note” text.
If a PR is missing a "Release note" text, the script will put it in a "Changes without release note annotation" section, and the Docs team will have to investigate. This can be time-consuming.
Ensure “Release note” texts are in commit messages and optionally copied into PR descriptions.
If they are only in PR descriptions, they will not get picked up.
If a commit covers multiple user-visible changes in different areas (e.g., a bug fix and a performance improvement), write multiple, distinct release note texts within the same commit message.
Put "Release note" texts at the end of commits.
Everything after each "Release note" annotation gets picked up by the script.
Exclude changes to
reserved
interfaces from release notes. Refer to the table of interfaces in the API Support Policy. This is new guidance!
Format
To include a release note texts in our published release notes, use: "
Release note (<single category>): <description>
".For guidance on choosing the right category, see Release note categories.
For guidance on writing a good description, see Release note descriptions.
To exclude a release note text from our published release notes, use: "
Release note: None
".
...
Rating | Text | Why |
---|---|---|
Poor | Release note (ccl): Default interval for the closed timestamp cluster setting is different. |
|
Better | Release note (enterprise change): Shortened the default interval for the |
|
Best | Release note (enterprise change): Shortened the default interval for the |
|
Bug fix
Rating | Text | Why |
---|---|---|
Poor | Release note (bug): No more duplicate rows for |
|
Better | Release note (bug fix): Fixed a bug that caused duplicate rows in the results of or Multiple nodes attempting to populate the results of |
|
Best | Release note (bug fix): Fixed a bug introduced in v19.2.3 that caused duplicate rows in the results of or Multiple nodes attempting to populate the results of |
|
...
Info |
---|
If a backward-incompatible change is made to a stable CockroachDB interface, it must be categorized as such in the release notes. Refer to the list of backward-incompatible changes and the table of interfaces in the API Support Policy. |
Rating | Text | Why |
---|---|---|
Poor | Release note (sql): Match |
|
Better | Release note (sql): Casting intervals to integers and floats now values a year at 365.25 days in seconds instead of 365 days. |
|
Best | Release note (backward-incompatible change): Casting intervals to integers and floats now values a year at 365.25 days in seconds instead of 365 days, for Postgres compatibility. |
|
...