RFC: add feature tags to changelog #4263
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request:
We have been discussing how to improve our changelog for our next release. I had a discussion with @diegocurbelo yesterday that solidified this idea for me: what if our automated changelog script could tag and group entries so it's easier to identify what changes did/do? That should hugely simplify the process of collating and organising our release notes and changelogs in future.
The implementation is pretty straightforward:
.changelog.features.json
[tag]
to the changelog entry for that specific featureThen, when we're collating release notes or prepping the changelog for release, we can easily group features and remove any noisy/unnecessary items.
Open questions
.changelog.features.json
over time? Should we keep all features in there indefinitely? Or clean it up from time to time?Test
option for the basic changelog types?@woocommerce/quark, please share feedback on the approach as much as the code!
Testing instructions
npm run changelog
Is this change for a feature?
promptn
orN
to indicate it is not related to a featurenpm run changelog
Is this change for a feature?
prompty
orY
to indicate the change is related to a feature[Tag]
from the selected list and appears at the end of the list, e.g.To clean up after you're done, run
git restore changelog.txt readme.txt
Screenshot
Changelog entry
Changelog Entry Comment
Comment
Post merge