[changelog]
header = """
# ๐ Release Notes
"""
body = """
{% if version %}## ๐ฆ Version {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }}{% endif %}
{% for group, commits in commits | group_by(attribute="group") %}
{% if commits | length > 0 %}
### {{ group }}
{% for commit in commits %}
- {{ commit.message | trim }} ({{ commit.id | truncate(length=7) }})
{%- if commit.body is defined and commit.body is string and commit.body | trim != "" %}
{%- for line in commit.body | trim | split(pat="\n") %}
{{ " " ~ line }}
{%- endfor %}
{%- endif %}
{% endfor %}
{%- endif %}
{% endfor %}
"""
footer = ""
[git]
conventional_commits = true
filter_unconventional = true
commit_parsers = [
{ message = "^feat", group = "โจ Features" },
{ message = "^fix", group = "๐ Fixes" },
{ message = "^docs", group = "๐ Documentation" },
{ message = "^style", group = "๐จ Style" },
{ message = "^refactor", group = "โป๏ธ Refactor" },
{ message = "^test", group = "๐งช Tests" },
{ message = "^chore", group = "๐ง Chore" },
{ message = "^ci", group = "๐ค CI" },
{ message = ".*", group = "Other" },
]
sort_commits = "oldest"