[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.
"""
body = """
{% if version %}\
{% if previous %}\
{% if previous.version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\
{% else %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\
{% else %}\
## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | upper_first }} - ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/sorinirimies/droidtui/commit/{{ commit.id }}))
{% endfor %}
{% endfor %}
"""
footer = """
<!-- generated by git-cliff -->
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_parsers = [
{ message = "^feat", group = "๐ Features" },
{ message = "^fix", group = "๐ Bug Fixes" },
{ message = "^doc", group = "๐ Documentation" },
{ message = "^perf", group = "โก Performance" },
{ message = "^refactor", group = "๐ Refactor" },
{ message = "^style", group = "๐จ Styling" },
{ message = "^test", group = "๐งช Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore|ci", group = "โ๏ธ Miscellaneous Tasks" },
]
protect_breaking_commits = false
filter_commits = false
sort_commits = "oldest"