[changelog]
header = """
# Changelog
All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and entries are generated from [Conventional Commits](https://www.conventionalcommits.org/).
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}
"""
footer = ""
trim = true
postprocessors = [
{ pattern = '(?m)^## \[', replace = "\n## [" },
]
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = [
{ pattern = '(?m)(\s*\(#[0-9]+\))+$', replace = "" },
]
commit_parsers = [
{ message = "^chore\\(release\\)", skip = true },
{ message = "^Merge ", skip = true },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^docs", group = "Documentation" },
{ message = "^test", group = "Testing" },
{ message = "^(ci|build)\\(deps\\)", group = "Dependencies" },
{ message = "^chore\\(deps\\)", group = "Dependencies" },
{ message = "^(ci|build)", group = "CI / Build" },
{ message = "^style", group = "Styling" },
{ message = "^chore", group = "Miscellaneous" },
{ message = ".*", group = "Other" },
]
protect_breaking_commits = true
filter_commits = false
tag_pattern = "v[0-9]*"
topo_order = false
sort_commits = "oldest"