Repository navigation
Move changelog entries to fragments in changelog.d - #46
Merged
Merged
Conversation
- changelog.d/ with config, README and a fragment for this change. CHANGELOG.md keeps its bare 4.0.0-SNAPSHOT heading. - pnpm changelog runs xh-changelog from hoist-dev-utils. A new Changelog workflow checks fragments on each PR. - Deploy Snapshot runs pnpm changelog snapshot before publish, so a snapshot's CHANGELOG.md lists its unreleased entries. - AGENTS.md, docs, the PR template and the triage skill point at changelog.d/. Requires hoist-dev-utils 17 for pnpm changelog and the snapshot step.
Pin all shared hoist-dev-utils actions to the 16.6.0 commit. The release action now leads each GitHub release with its CHANGELOG.md notes.
amcclain
marked this pull request as ready for review
November 24, 2026 20:02
Match hoist-react, which keeps facts about how xh-changelog works only in the hoist-dev-utils README. - Slim changelog.d/README.md to the pointer that xh-changelog init writes. - Cut the command list from changelog-format.md and the release behavior from build-and-publish.md. Link the dev-utils README instead. - Trim the AGENTS.md changelog and publishing summaries to the essentials. - Remove every mention of pnpm changelog new, which hoist-dev-utils 16.6 dropped. - Note that GitHub releases now lead with CHANGELOG.md notes, and that hotfix branches cut from v3.0.0 or earlier still edit CHANGELOG.md directly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Every PR edits the top of
CHANGELOG.md, so parallel PRs conflict, and a PR that merges after a release can land its entries under the version that just shipped. This PR moves new entries to per-branch fragment files inchangelog.d/, which a release assembles intoCHANGELOG.md. hoist-react uses the same setup.changelog.d/with its config, a short README and a fragment for this change.CHANGELOG.mdkeeps its empty4.0.0-SNAPSHOTheading.pnpm changelogscript, which runsxh-changelog. Raised@xh/hoist-dev-utilsto 16.6, the first release with that command.check-changelogaction on each PR.pnpm changelog snapshotbefore it publishes, so a snapshot'sCHANGELOG.mdlists its unreleased entries.CHANGELOG.mdlacks the version or fragments are left over.CHANGELOG.mdnotes.AGENTS.md,docs/changelog-format.md,docs/build-and-publish.md, the PR template and the triage skill for fragments. They link to the hoist-dev-utils README for howxh-changelogworks, as hoist-react does.changelog.d/in its README index check.changelog.d/is not infiles, so the package does not ship it.To verify, run
pnpm changelog checkandpnpm changelog preview.Hoist Chat Kit P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to show they were considered. If unclear if a step is relevant, leave it unchecked and
note it in comments.
developbranch as of last change.changelog.d/, or determined not required.breaking-changelabel + changelog fragment if so.If your change is still a WIP, use the "Create draft pull request" option in the split button
below to show it is not ready yet for a final review.