1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-11 15:05:30 +03:00
A highly customizable Changelog Generator that follows Conventional Commit specifications ⛰️
Go to file
Jan Ferdinand Sauer 50c240c25b
feat(changelog): support parsing commits by footer (#569)
* feat: Enable footer-based commit parsing

Enable defining parsers for a commit's footer, similar to the already-
present commit parsers for a commit's message or body.

For example:

```toml
commit_parsers = [
  { footer = "changelog: ignore", skip = true },
]
```

Due to an inconsistency between the conventional commits specification
and its reference parser, footers are currently interpreted as
`key:value` instead of the (correct) `key: value`. See
https://github.com/conventional-commits/parser/issues/47 for details.
As a future-proof workaround, you can use `key: ?value` in the regex.

* chore: fix typo

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-16 19:32:39 +03:00
.github feat(changelog): support parsing commits by footer (#569) 2024-06-16 19:32:39 +03:00
config fix(config): fix commit parser regex in the default config 2024-02-28 20:22:57 +03:00
examples chore(example): allow using github template without github variables (#672) 2024-06-03 11:22:41 +03:00
git-cliff refactor(bump): add documentation and simplify implementation 2024-06-15 21:22:31 +03:00
git-cliff-core feat(changelog): support parsing commits by footer (#569) 2024-06-16 19:32:39 +03:00
npm chore(npm): update yarn.lock 2024-06-05 19:48:35 +03:00
pypi chore(pypi): update maturin version (#539) 2024-03-07 10:38:38 +01:00
website feat(changelog): support parsing commits by footer (#569) 2024-06-16 19:32:39 +03:00
.cliffignore feat(changelog): improve skipping via .cliffignore and --skip-commit (#413) 2023-12-31 15:34:01 +01:00
.dockerignore docs(website): add git-cliff animation to the website (#404) 2023-12-22 22:25:38 +01:00
.editorconfig chore(editorconfig): fix editorconfig syntax 2023-04-26 16:47:48 +03:00
.gitignore chore(project): remove unnecessary Cargo.lock entry from .gitignore 2021-10-22 16:49:59 +03:00
.lycheeignore chore(links): ignore patreon links 2024-05-23 11:52:38 +03:00
Cargo.lock chore(deps): bump clap from 4.5.6 to 4.5.7 (#690) 2024-06-11 23:53:54 +03:00
Cargo.toml chore(deps): bump regex from 1.10.4 to 1.10.5 (#689) 2024-06-11 23:53:22 +03:00
CHANGELOG.md chore(release): prepare for v2.3.0 2024-06-03 14:14:35 +03:00
cliff.toml chore(npm): update yarn.lock 2024-06-05 19:48:35 +03:00
CNAME Create CNAME 2022-12-26 17:24:46 +01:00
CODE_OF_CONDUCT.md chore(project): rename 2021-05-30 01:45:03 +03:00
codecov.yml fix(project): use the correct branch for codecov (#65) 2022-03-13 13:17:59 +03:00
CONTRIBUTING.md feat(changelog): allow adding custom context (#613) 2024-04-21 22:02:41 +03:00
Dockerfile feat(bitbucket): add Bitbucket support (#663) 2024-06-02 20:49:37 +03:00
LICENSE-APACHE docs(license): re-license under the MIT + Apache 2.0 license (#303) 2023-09-30 15:48:24 +02:00
LICENSE-MIT chore(project): update copyright years 2024-01-06 16:29:52 +03:00
README.md docs(readme): add social media badges 2024-04-13 23:14:11 +03:00
RELEASE.md docs(release): add note about GitHub variables 2024-02-19 15:40:00 +03:00
release.sh chore(release): prepare for v2.2.1 2024-04-11 01:22:47 +03:00
rust-toolchain.toml chore(ci): return to nightly builds (#73) 2022-03-29 14:44:45 +03:00
rustfmt.toml chore(fmt): remove normalize_comments from rustfmt.toml 2021-06-04 03:11:15 +03:00
SECURITY.md docs(security): update security policy 2024-02-19 13:59:18 +03:00
typos.toml feat(ci): add 'typos' check (#317) 2023-10-19 15:34:17 +02:00




Documentation | Website

git-cliff can generate changelog files from the Git history by utilizing conventional commits as well as regex-powered custom parsers. The changelog template can be customized with a configuration file to match the desired format.

animation

Documentation

Learn how to use git-cliff from the documentation.

In The Media

Editor Support

  • git-cliff.el - Generate, update and release changelog in Emacs

Similar/Related Projects

  • git-journal - The Git Commit Message and Changelog Generation Framework
  • clog-cli - Generate beautiful changelogs from your Git commit history
  • relnotes - A tool to automatically generate release notes for your project.
  • cocogitto - A set of CLI tools for the conventional commit and semver specifications.
  • cliff-jumper - A NodeJS CLI tool that combines git-cliff and conventional-recommended-bump to semantically bump a NodeJS package and generate a git-cliff powered changelog.
  • release-plz - Release Rust packages from CI.
  • git-changelog-command-line - Generate changelog and determine next version with conventional commits.

Contributors

Thanks goes to these wonderful people

Made with contrib.rocks.

Socials


License

Licensed under either of Apache License Version 2.0 or The MIT License at your option.

Copyright © 2021-2024, git-cliff contributors