You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: reinstate this post-merge checklist item when https://github.com/web-platform-dx/web-features/issues/1672 is resolved
25
+
# - [ ] (Optional) [Trigger a workflow run to remove tagged compat features](https://github.com/web-platform-dx/web-features/actions/workflows/remove_tagged_compat_features.yml).
24
26
body: |
25
27
Complete this checklist for every `@mdn/browser-compat-data` upgrade PR.
26
28
@@ -33,5 +35,4 @@ jobs:
33
35
After merging, do these steps:
34
36
35
37
- [ ] [Trigger a drafts update workflow run](https://github.com/web-platform-dx/web-features/actions/workflows/update_draft_features_weekly.yml).
36
-
- [ ] (Optional) [Trigger a workflow run to remove tagged compat features](https://github.com/web-platform-dx/web-features/actions/workflows/remove_tagged_compat_features.yml).
37
38
- [ ] Start a PR to [publish the next web-features release](https://github.com/web-platform-dx/web-features/blob/main/docs/publishing.md#regular-releases).
1. Determine if it should be a major, minor, or patch release.
26
44
27
45
A major version is required for releases when:
28
46
29
-
-Previously valid references are invalid (for example, a group ID is renamed or a feature ID is removed).
30
-
-Types have incompatibly narrowed, widened, or otherwise changed (for example, a string value now accepts an array of strings or an ID has become a URL). Changes to `data.schema.json` often indicates a major or minor version is required.
47
+
- The schema changes such that types have incompatibly narrowed, widened, or otherwise changed (for example, a string value now accepts an array of strings or an ID has become a URL). Changes to `data.schema.json` often indicates a major or minor version is required.
48
+
- A group or feature ID is removed, or any other previously valid references becomes undefined.
31
49
32
-
A minor version is required for releases that contain only additions, such as new feature or new properties on existing types.
50
+
A minor version is required for releases that contain only additions, such as new features or new properties on existing types.
33
51
34
52
Patch versions are required for releases that contain only routine data changes, such as updates to `compat_features` arrays or `support` objects.
35
53
36
-
The "[major version required][major-version]" and "[minor version required][minor-version]" labels should be used to support this decision.
54
+
Check"[major version required][major-version]" and "[minor version required][minor-version]" labels for pull requests or issues that require versioning.
37
55
38
56
1. Trigger the [Prepare web-features release workflow](https://github.com/web-platform-dx/web-features/actions/workflows/prepare_release.yml).
39
57
@@ -48,12 +66,18 @@ These are the steps to publish a regular release on npm and as a GitHub release:
48
66
1. Close and reopen the release PR, to allow the tests to run.
49
67
1. Review and approve the changes.
50
68
1. When you're ready to complete the remaining steps, merge the PR.
69
+
To avoid re-doing release prep (such as having to change the semver level), don't delay any of the remaining steps after merging.
51
70
52
71
1. Create the GitHub release.
53
72
54
73
1. Go to https://github.com/web-platform-dx/web-features/releases/new to start a new draft release.
55
-
1. Fill in the tag name `vX.Y.Z` manually as both the tag and release title.
74
+
1. Create a new tag in the pattern `vX.Y.Z`.
75
+
1. Fill in the release title `vX.Y.Z`.
56
76
1. For minor releases, add a `## What's New` section to the top of the release notes, before all other sections.
77
+
78
+
1. In this section, add a line `* X features`, where `X` is the number of features new in this release.
79
+
1. In this section, add a line `* Y% coverage of BCD`, where `Y` is the coverage percentage for this release.
80
+
57
81
1. For major releases, add a `## Breaking Changes` section to the top of the release notes, before all other sections.
58
82
1. Click **Generate release notes**.
59
83
1. In the release description, find unescaped `<` characters and make sure that HTML elements are enclosed with backticks.
@@ -64,7 +88,12 @@ These are the steps to publish a regular release on npm and as a GitHub release:
1. Append this message to the end of the release notes:
69
98
70
99
```markdown
@@ -79,6 +108,10 @@ These are the steps to publish a regular release on npm and as a GitHub release:
79
108
80
109
1. (_Optional_) If this release contained schema changes, notify highly-visible downstream consumers, such as Can I Use (@Fyrd), MDN (@LeoMcA), or webstatus.dev (@jcscottiii).
81
110
111
+
1. Post a message to the WebDX Matrix chat to announce the release.
0 commit comments