Skip to content

[changelog] Add Keep a Changelog automation (#28)#40

Closed
coisa wants to merge 19 commits into
mainfrom
codex/issue-28-keep-a-changelog
Closed

[changelog] Add Keep a Changelog automation (#28)#40
coisa wants to merge 19 commits into
mainfrom
codex/issue-28-keep-a-changelog

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 12, 2026

Summary

Added Keep a Changelog automation with the following capabilities:

  • Bootstrap: Bootstrapper class to create .keep-a-changelog.ini and CHANGELOG.md when missing
  • History Generation: HistoryGenerator to render markdown from git release history
  • Validation: UnreleasedEntryChecker to compare unreleased entries against git baseline
  • Classification: CommitClassifier to classify commits into keep-a-changelog sections

New Commands

  • changelog:init - Bootstraps changelog automation assets
  • changelog:check - Validates unreleased changelog entries

Changes

  • Added 15 classes in src/Changelog/ namespace
  • Added ChangelogInitCommand and ChangelogCheckCommand
  • Added reusable GitHub Actions workflows in resources/github-actions/
  • Added documentation in docs/usage/changelog-management.rst
  • Improved SyncCommand to synchronize changelog assets
  • Updated GitHub Actions to use PHP 8.3
  • Added comprehensive test coverage for all changelog classes

Testing

  • composer dev-tools tests - All 21 changelog tests pass
  • composer dev-tools code-style - ECS passes

Changelog

  • Added version 1.5.0 with all changelog automation features
  • Documented version 1.0.0 with initial plugin capabilities

Closes #28

@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 12, 2026
coisa added 18 commits April 11, 2026 21:16
… with PHP 8.3

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…ncCommand.php

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…d tests

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
….md management

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…rocess

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…and improve dependency initialization in commands

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…on change impact

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa
Copy link
Copy Markdown
Contributor Author

coisa commented Apr 18, 2026

@copilot resolve the merge conflicts in this pull request

Copy link
Copy Markdown
Contributor Author

coisa commented Apr 19, 2026

Thanks for the original groundwork here. We hit a blocker with the chosen phly/keep-a-changelog strategy because it does not generate the changelog in the exact official format expected by this project.

I updated issue #28 to reflect the new direction: local changelog parsing/rendering and commands, plus a release-preparation PR flow that works with branch protection instead of writing directly to main.

I am closing this PR in favor of a fresh implementation branch so we can salvage the useful ideas without carrying the abandoned dependency strategy or the stale merge state.

@coisa coisa closed this Apr 19, 2026
@coisa coisa deleted the codex/issue-28-keep-a-changelog branch April 19, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Add Keep a Changelog automation with local changelog management

1 participant