When an entry is required
Any PR that changes source code: bug fixes, features, behavior changes, deprecations, security fixes.
Not required for test-only, documentation-only, and CI/tooling changes (the gate passes them automatically; leave the marker out), or for a bug introduced but not yet released. To deliberately skip the entry on a change under handsontable/src/** or wrappers/**, write [skip changelog] in the PR description outside HTML comments.
Workflow: PR first, then the changelog
The file is named after the GitHub PR number, so the PR must exist first (a guessed number can go stale when another PR opens).
- Commit the source change on the feature branch.
- Push and run
gh pr create(see thepr-creationskill). - Read the PR number from the printed URL (
.../pull/12395is12395). - Create
<repo-root>/.changelogs/<PR-number>.jsonwith"issueOrPR"set to the same number. The path is the repo root, never a package subdirectory such ashandsontable/.changelogs/. - Commit with a message like
DEV-xxx: Add changelog entry for PR #<number>and push.
Fields
{
"issuesOrigin": "private",
"title": "User-facing description of what changed.",
"type": "fixed",
"issueOrPR": 12345,
"breaking": false,
"framework": "none"
}
issuesOrigin answers one question: is issueOrPR a public GitHub issue number? It picks the link path in the generated CHANGELOG.md, and bin/changelog derives the filename from issueOrPR, so the two move together:
| issuesOrigin | issueOrPR | Filename | Rendered link |
|---|---|---|---|
| "private" (default, every DEV-xxx task) | PR number | <PR-number>.json | .../pull/<n> |
| "public" (rare, cites a real public GitHub issue) | issue number | <issue-number>.json | .../issues/<n> |
type:
| Type | When |
|---|---|
| added | Wholly new feature or capability |
| changed | Enhancement or modification of existing behavior |
| fixed | Bug fix |
| deprecated | Feature scheduled for removal in the next major |
| removed | Feature already removed in this release |
| security | Vulnerability or XSS fix |
framework: "none" (default, core handsontable), "react" (@handsontable/react-wrapper), "angular" (@handsontable/angular-wrapper), "vue" (@handsontable/vue3). Set breaking to true only when existing behavior breaks.
Title
- Write from the user's perspective, in the past tense, specific, ending with a period: "Fixed cell editor closing unexpectedly on scroll."
- Describe user-visible behavior; leave internal names ("Refactored DataMap", "Updated metaSchema.js") out.
- Never put an
@/api/...link in a title; use an absolutehttps://handsontable.com/docs/...URL. The@/api/...syntax resolves only on the docs site, andbin/changelogrenders the title verbatim intoCHANGELOG.mdand the GitHub release body, where it 404s. Reference links for new options, hooks, methods, and plugins are added later on the docs changelog page (see