Format a changelog
Rewrite CHANGELOG.md into Keep a Changelog form without dropping an entry.
Steps
- Read the changelog and parse each version section and its entries.
- Regroup the entries under Added, Changed, and Fixed. Keep an entry that fits none of the three under its original heading and report it, because a forced regroup rewrites the author's meaning.
- Order the sections newest first and rewrite the file.
- Report the sections you reordered and every entry you left ungrouped.