Git Commit Message and Changelog Builder
Compose type(scope): description messages that pass commitlint, and turn the commits since your last tag into release notes with a version bump.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Pick type and scope
Choose the commit type and type or pick a scope from your list.
- 2Write the description
Keep it imperative and short; watch the length bar.
- 3Add body and footers
Explain why in the body and add Refs, Closes or BREAKING CHANGE footers.
- 4Fix lint findings
Read the checks under the form until the message passes.
- 5Copy the message
Copy or download the message, or save it to history.
- 6Build the changelog
In the second tab paste git log, set the current version and style, and copy the release notes and next version.
Informazioni su questo strumento
A good commit history is easy to read, easy to search and can produce release notes automatically. The Conventional Commits format gives every message a type such as feat or fix, an optional scope, a short description, an optional body and footers like BREAKING CHANGE or Refs. This tool has two halves. The composer helps you write a message field by field and checks it against the rules that commitlint's conventional configuration enforces, plus the classic 50/72 habit. The changelog half reads a pasted git log, groups the commits into Features, Bug Fixes and other sections with links to each commit, lists breaking changes, and suggests the next version number using the same rules as semantic-release.
Who this is for
Developers who want tidy history, maintainers who publish releases, and teams adopting Conventional Commits or semantic-release for the first time.
Writing the message
Choose the type from the list, which explains each one, add a scope from your own scope list, and write the description in the imperative mood, lower case and without a final full stop: "add CSV export", not "Added CSV export." The header bar turns amber past 72 characters and red past 100. The body explains why the change was made. Footers carry references such as Refs: #142, Closes: #9 or Co-authored-by lines. Ticking Breaking change adds the ! marker and lets you describe what users must do in a BREAKING CHANGE footer.
Lint checks
Errors: header not in type(scope): description form, unknown type, empty description, trailing full stop, header over 100 characters. Warnings: sentence-case description, past tense such as "fixed", header over 72 characters, missing blank line after the header and very long body lines. A message with no findings is shown as passing.
From git log to changelog
Paste the output of git log --oneline for a range, for example from the last tag to HEAD, or the default multi-line git log output. Each line is parsed; tags shown by --decorate are recognised. Non-conventional commits go into Other changes when you include all types. The conventional-changelog style groups by Features, Bug Fixes, Performance Improvements and Reverts; the Keep a Changelog style uses Added, Fixed, Changed and Removed. With a repository URL, every hash becomes a link.
Choosing the next version
Semantic Versioning has MAJOR.MINOR.PATCH. A breaking change requires a major bump, a new feature a minor bump, and a fix or performance improvement a patch; commits that only touch docs, tests, style, CI or chores need no release. Before 1.0.0 many projects bump the minor number for breaking changes instead, which the pre-1.0 option does. A pre-release id such as beta produces 2.0.0-beta.0 and then counts up.
Worked example
The sample log since v1.4.0 has two features, a fix, a performance commit, a docs change, a dependency chore and one breaking change, feat(api)!: remove the v1 endpoints. The suggested bump is major, the next version is 2.0.0, and the changelog lists two features, one fix, one performance item and a breaking-changes section.
Limits
The tool does not read your repository; it works only with the text you paste. It does not check that scopes exist in your code, and its version suggestion is a recommendation: you decide what counts as breaking for your users.
Esempio svolto
6 commits since v1.4.0 including feat(api)!: suggested bump major, next version 2.0.0.
In breve
- Categoria: Sviluppo e dati
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: Conventional Commits 1.0.0 and Semantic Versioning 2.0.0; lint rules of @commitlint/config-conventional
Domande frequenti
What is a Conventional Commit?
A commit message with the header type(scope): description, an optional body and optional footers, defined by the Conventional Commits 1.0.0 specification.
Which types can I use?
feat, fix, docs, style, refactor, perf, test, build, ci, chore and revert, the set accepted by commitlint's conventional configuration.
How is a breaking change marked?
With ! before the colon, a BREAKING CHANGE: footer, or both. Either one triggers a major version bump.
Which git log format should I paste?
git log --oneline works best; the default git log layout and --decorate tags are also recognised.
Why does a docs commit not trigger a release?
semantic-release's default rules release only for feat, fix, perf and breaking changes; documentation does not change the published software.
Can I keep my messages?
Save to history keeps up to 30 messages in this browser, and the project file can be saved and opened later.
