[changelog]
header = ""
body = """
{% for group, commits in commits | group_by(attribute="group") %}
{{ group | striptags | trim | upper_first -}}
{% for commit in commits
| filter(attribute="scope")
| sort(attribute="scope") %}
- **({{commit.scope}})**{% if commit.breaking %} [**breaking**]{% endif %} \
{{ commit.message }} ({{ commit.id | truncate(length=7, end="") }})
{%- endfor -%}
{% raw %}\n{% endraw %}\
{%- for commit in commits %}
{%- if commit.scope -%}
{% else -%}
- {% if commit.breaking %} [**breaking**] {% endif %}\
{{ commit.message }} ({{ commit.id | truncate(length=7, end="") }})
{% endif -%}
{% endfor -%}
{% endfor %}\n
"""
footer = ""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
commit_parsers = [
{ body = ".*security", group = "<!-- 0 -->Security" },
{ message = "^feat", group = "<!-- 1 -->Features" },
{ message = "^fix", group = "<!-- 2 -->Bug Fixes" },
{ message = "^perf", group = "<!-- 3 -->Performance" },
{ message = "^doc", group = "<!-- 4 -->Documentation" },
{ message = "^refactor", group = "<!-- 5 -->Refactor" },
{ message = "^build", group = "Build and Dependencies", skip = true },
{ message = "^test", group = "Testing", skip = true },
{ message = "^style", group = "Styling", skip = true },
{ message = "^ci", group = "CI/CD", skip = true },
{ message = "^chore\\(release\\): bump", skip = true },
{ message = "^chore", group = "Miscellaneous Tasks", skip = true},
]
filter_commits = false
tag_pattern = "v[0-9]*"
date_order = true
sort_commits = "oldest"