Skip to content

Integrate Jetpack Changelogger CLI for changelog management - #41

Open
datengraben wants to merge 3 commits into
masterfrom
claude/changelogger-cli-integration-gct7ji
Open

Integrate Jetpack Changelogger CLI for changelog management#41
datengraben wants to merge 3 commits into
masterfrom
claude/changelogger-cli-integration-gct7ji

Conversation

@datengraben

Copy link
Copy Markdown
Owner

Add automattic/jetpack-changelogger as a dev dependency so each
contribution records its changelog entry as a separate file in the
changelog/ directory, avoiding merge conflicts on a shared changelog.

  • Configure extra.changelogger with the project's change types
    (added, enhanced, fixed, updated) and semver versioning
  • Add composer changelog:add / changelog:validate / changelog:write
    helper scripts
  • Exclude the changelog/ working directory from the built plugin zip
  • Document the workflow in the Contribute section of the Readme

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu

claude added 3 commits August 2, 2026 06:53
Add automattic/jetpack-changelogger as a dev dependency so each
contribution records its changelog entry as a separate file in the
changelog/ directory, avoiding merge conflicts on a shared changelog.

- Configure extra.changelogger with the project's change types
  (added, enhanced, fixed, updated) and semver versioning
- Add composer changelog:add / changelog:validate / changelog:write
  helper scripts
- Exclude the changelog/ working directory from the built plugin zip
- Document the workflow in the Contribute section of the Readme

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu
Point the changelogger at the plugin's readme.txt and add a custom
Jetpack Changelogger formatter so 'composer changelog:write' compiles
pending entries straight into the '## Changelog' section, using the
project's existing 'TYPE: text' format (e.g. FIXED:, ENHANCED:).

The formatter preserves every existing entry verbatim and only renders
and prepends the new release, so historical changelog text (including
hand-written quirks) is never rewritten. Verified round-trip fidelity
against the current readme.txt and repeated releases.

- tools/changelogger/class-readme-changelog-formatter.php: the formatter
- Exclude tools/ from phpcs (dev-only tooling) and from the plugin zip

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu
Explain how contributors without a local checkout can add a changelog
entry by hand-creating a file in changelog/ via GitHub's web editor,
matching what composer changelog:add would generate.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu
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