-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add guidelines to template release note
- Loading branch information
Showing
2 changed files
with
52 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,60 @@ | ||
--- | ||
#instructions: > | ||
# The style guide below provides explanations, instructions, and templates to write your own release note. | ||
# Once finished, all irrelevant sections (including this instruction section) should be removed, | ||
# and the release note should be committed with the rest of the changes. | ||
# | ||
# The main goal of a release note is to provide a brief overview of a change and provide actionable steps to the user. | ||
# The release note should clearly communicate what the change is, why the change was made, and how a user can migrate their code. | ||
# | ||
# The release note should also clearly distinguish between announcements and user instructions. Use: | ||
# * Past tense for previous/existing behavior (ex: ``resulted, caused, failed``) | ||
# * Third person present tense for the change itself (ex: ``adds, fixes, upgrades``) | ||
# * Active present infinitive for user instructions (ex: ``set, use, add``) | ||
# | ||
# Release notes should: | ||
# * Use plain language | ||
# * Be concise | ||
# * Include actionable steps with the necessary code changes | ||
# * Include relevant links (bug issues, upstream issues or release notes, documentation pages) | ||
# * Use full sentences with sentence-casing and punctuation. | ||
# * Before using Datadog specific acronyms/terminology, a release note must first introduce them with a definition. | ||
# | ||
# Release notes should not: | ||
# * Be vague. Example: ``fixes an issue in tracing``. | ||
# * Use overly technical language | ||
# * Use dynamic links (``stable/latest/1.x`` URLs). Instead, use static links (specific version, commit hash) whenever possible so that they don't break in the future. | ||
prelude: > | ||
Usually in tandem with a new feature or major change, meant to provide context or background for a major change. | ||
No specific format other than a required scope is provided and the author is requested to use their best judgment. | ||
<scope>: <add_prelude_and_context_here>. | ||
Format: <scope>: <add_prelude_and_context_here>. | ||
features: | ||
- | | ||
For new features such as a new integration or component. Use present tense with the following format: | ||
<scope>: This introduces <new_feature_or_component>. Use present tense here. | ||
Format: <scope>: This introduces <new_feature_or_component>. | ||
upgrade: | ||
- | | ||
For enhanced functionality or if package dependencies are upgraded. If applicable, include instructions | ||
for how a user can migrate their code. | ||
Use present tense with the following formats, respectively for enhancements or removals: | ||
<scope>: This upgrades <present_tense_explanation>. With this upgrade, you can <actionable_step_for_user>. | ||
Format: <scope>: This upgrades <present_tense_explanation>. With this upgrade, you can <actionable_step_for_user>. | ||
- | | ||
<scope>: <affected_code> has been removed. As an alternative to <affected_code>, you can use <alternative> instead. | ||
Format: <scope>: <affected_code> is now removed. As an alternative to <affected_code>, you can use <alternative> instead. | ||
deprecations: | ||
- | | ||
Warning of a component or member of the public API being removed in the future. | ||
Use present tense for when deprecation actually happens and future tense for when removal is planned to happen. | ||
Include deprecation/removal timeline, as well as workarounds and alternatives in the following format: | ||
<scope>: <affected_code> is deprecated and will be removed in <version_to_be_removed>. | ||
As an alternative to <affected_code>, you can use <alternative> instead. | ||
Format: <scope>: <affected_code> is deprecated and will be removed in <version_to_be_removed>. | ||
As an alternative to <affected_code>, you can use <alternative> instead. | ||
fixes: | ||
- | | ||
For reporting bug fixes. | ||
Use past tense for the problem and present tense for the fix and solution in the following format: | ||
<scope>: This fix resolves an issue where <ABC_bug> caused <XYZ_situation>. | ||
Format: <scope>: This fix resolves an issue where <ABC_bug> caused <XYZ_situation>. | ||
other: | ||
- | | ||
For any change which does not fall into any of the above categories. Since changes falling into this category are | ||
likely rare and not very similar to each other, no specific format other than a required scope is provided. | ||
The author is requested to use their best judgment to ensure a quality release note. | ||
<scope>: <add_release_note_here>. | ||
Format: <scope>: <add_release_note_here>. |