Skip to content

feat(changelog): add --regenerate to rebuild CHANGELOG from tags - #31

Merged
ElectricCookie merged 2 commits into
mainfrom
feature/changelog-regenerate
Jun 24, 2026
Merged

ElectricCookie merged 2 commits into
mainfrom
feature/changelog-regenerate

Conversation

@ElectricCookie

@ElectricCookie ElectricCookie commented Jun 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add mtrust_api_guard changelog --regenerate to overwrite CHANGELOG.md by walking version tags in order
  • Compare each consecutive tag pair for API changes and include conventional commit summaries per release
  • Use tag dates for historical "Released on" lines and prepend an ## Unreleased section when pubspec is ahead of the latest tag
  • Support --tag-prefix and --package for monorepo/workspace tag formats

Test plan

  • dart test test/commands/changelog_command_test.dart
  • Run mtrust_api_guard changelog --regenerate --no-update on this repo to verify output (slow — many tags)

@github-actions

Copy link
Copy Markdown

Version Analysis

Next Version: 8.0.0

Changelog: 📄 View detailed changelog in job summary

Badge:
Version Badge

@github-actions

Copy link
Copy Markdown

Version Analysis

Next Version: 8.0.0

Changelog: 📄 View detailed changelog in job summary

Badge:
Version Badge

@ElectricCookie
ElectricCookie merged commit fa146fe into main Jun 24, 2026
4 checks passed
@ElectricCookie
ElectricCookie deleted the feature/changelog-regenerate branch June 24, 2026 16:46
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.

1 participant