We publish detailed release notes describing changes that impact external users of CockroachDB. The Docs team uses this script to automatically generate release notes from "Release note" texts in cockroach
PRs. This page provides guidance on when and how Cockroach Labs engineers should write these texts.
...
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 in PR descriptions.
If they are only in PR descriptions, they may 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.
Put "Release note" texts at the end of commits.
Everything after the "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
".
...
Enterprise change
Rating | Text | Why |
---|---|---|
BadPoor | 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 |
---|---|---|
BadPoor | Release note (bug fix): 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 |
---|---|---|
BadPoor | 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. |
|
...