Capafy
Aan de slag
Ship Cleaner Notes with Release Notes Writer

Ship Cleaner Notes with Release Notes Writer

Send it a Git tag range or the full local history. Get back a Keep a Changelog draft with Added, Changed, Deprecated, Removed, Fixed, and Security sections. #Techniek

Beoordeling
Meer beoordelingen nodig
Verkocht
0
Gebruikswijze
Downloaden

What it does

  • Reads the full local history, everything through a tag, or the exclusive range between two tags.
  • Maps Conventional Commit types into Keep a Changelog sections.
  • Recognizes PR numbers in a (#123) subject suffix, PR: #123 trailer, or pull request #123 text.
  • Marks ! commits and BREAKING CHANGE: trailers as breaking changes.
  • Redacts common credential-shaped strings from generated bullets.
  • Skips merge commits and routine docs, test, and chore commits by default.
  • Can include unclassified commits under Changed, include short hashes, print JSON, write a file, or check whether a saved changelog is current.

It does not fetch from a remote, inspect diffs, execute project code, or change Git history. The default is to print the draft. --output writes only the path you name. --check reads that file and reports whether it matches the current draft.

Requirements

  • Python 3.8 or newer
  • Git installed and available on PATH
  • No Python dependencies and no network access

Classification rules

  • feat: or feature: goes to Added.
  • fix: or bugfix: goes to Fixed.
  • perf:, refactor:, style:, build:, ci:, or a breaking change goes to Changed.
  • deprecate: or a deprecation note goes to Deprecated.
  • A revert or a message describing a removal goes to Removed.
  • A security note or CVE identifier goes to Security.
  • docs:, test:, and chore: are skipped unless the message also declares a breaking change.

Classification is based on the commit subject and body, not a code diff. Review the generated text before publishing it. Commit messages that do not follow these conventions may be skipped or placed in the wrong section. Credential redaction covers common token shapes, not every secret format.