Skip to content

chore: add a title to CHANGELOG.md and list the Capacitor 9 changes in 9.0.0 - #110

Merged
alexgerardojacinto merged 2 commits into
mainfrom
chore/changelog-header-for-release-please
Dec 1, 2026
Merged

alexgerardojacinto merged 2 commits into
mainfrom
chore/changelog-header-for-release-please

Conversation

@alexgerardojacinto

@alexgerardojacinto alexgerardojacinto commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Two fixes to CHANGELOG.md, both coming from how the 9.0.0 release PR (#108) was generated.

1. Add a # Changelog title. Release-please inserts a new release entry before the first line matching \n###? v?[0-9[] (DEFAULT_VERSION_HEADER_REGEX in src/updaters/changelog.ts). That pattern needs a newline before the heading, so a file that starts directly with a ## [x.y.z] heading on line 1 gets the next entry inserted below the latest one. That is why 9.0.0 first landed below 8.2.7 (moved by #109). With the title, the next entry is inserted at line 2, at the top (checked by running the regex on this file: without the title it would be inserted at line 11).

2. List what 9.0.0 actually changed. next was squashed into one commit (b6db8e4), so release-please only saw that commit and the 9.0.0 section lists just support Capacitor 9. This adds the user-facing commits that came in with the squash and are not in 8.2.7:

Left out on purpose: feat: update repo to use release-please (#93) (internal tooling) and the chores from next (CI, example app, eslint, release commits). The commit links point at the next history, so keep next around.

Nothing else in the file changes.

Merge method: squash (the only method this repo allows), with a chore: title so it stays out of the next changelog.

@alexgerardojacinto alexgerardojacinto changed the title chore: add a title to CHANGELOG.md so release-please adds new entries at the top chore: add a title to CHANGELOG.md and list the Capacitor 9 changes in 9.0.0 Dec 1, 2026
@alexgerardojacinto
alexgerardojacinto merged commit 1d3cc7f into main Dec 1, 2026
4 checks passed
@alexgerardojacinto
alexgerardojacinto deleted the chore/changelog-header-for-release-please branch December 1, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants