Changelog generation inserts entries for new release under the heading of the last release (so it reads: 1.3.0 -> 1.4.0)
Affected Packages
In this monorepo, only one releaseable package is present: https://github.com/CrowdStrike/ember-headless-table/blob/main/ember-headless-table/
Problem
When the changelog is updated, the "new entry" content is immediately under the heading of the previous release.
For example:
- Version Packages CrowdStrike/ember-headless-table#109 (automated PR opened by Changeset)
Proposed solution
prepend to the top of the file instead of appending under the most recent version.
I have (just now, as I write this), noticed that other projects have the project name as the first heading:
- https://github.com/statelyai/xstate/blob/main/packages/core/CHANGELOG.md
- https://github.com/pnpm/pnpm/blob/main/pnpm/CHANGELOG.md
So maybe the Changelog generation could detect if the package name is missing or not? or see if the top heading matches a version?
It seems that changelog insertion is always under the top-most heading (so I think I have a work-around for now (adding the package name to the top of the changelog))
