[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.\n
"""
body = """
{% if version %}\
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased]
{% endif %}
{% for group, commits in commits | group_by(attribute="group") %}\
### {{ group }}
{% for commit in commits %}\
- {% if commit.scope %}`{{ commit.scope }}` โ {% endif %}{{ commit.message | upper_first }}{% if commit.breaking %} โ ๏ธ **BREAKING**{% endif %}
{% endfor %}
{% endfor %}\
"""
footer = """
<!-- generated by git-cliff -->
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
filter_commits = false
tag_pattern = "v[0-9].*"
skip_tags = ""
ignore_tags = ".*-rc.*"
sort_commits = "newest"
commit_parsers = [
{ message = "^feat", group = "๐ Features" },
{ message = "^fix", group = "๐ Bug Fixes" },
{ message = "^perf", group = "โก Performance" },
{ message = "^refactor", group = "๐ง Refactor" },
{ message = "^style", group = "๐จ Style" },
{ message = "^test", group = "๐งช Tests" },
{ message = "^docs?", group = "๐ Documentation" },
{ message = "^build", group = "๐๏ธ Build" },
{ message = "^ci", group = "๐ท CI" },
{ message = "^chore\\(release\\)", skip = true },
{ message = "^chore", group = "๐งน Chores" },
{ message = ".*", group = "๐ก Other" },
]