[changelog]
header = """
# Changelog\n
All notable changes to this project will be documented in this file.
<!-- markdownlint-disable -->
"""
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 | striptags | trim | upper_first }}
{% for commit in commits -%}
- {% if commit.scope %}_({{ commit.scope }})_ {% endif -%}
{% if commit.breaking %}[**breaking**] {% endif -%}
{{ commit.message | upper_first }}
{% endfor %}
{% endfor -%}
{% if github.contributors -%}\
### Contributors
{% for contributor in github.contributors -%}\
{% if not contributor.username or contributor.username is ending_with("[bot]") %}{% continue %}{% endif -%}
- @{{ contributor.username }}
{% endfor %}
{% endif -%}
"""
footer = """
<!-- generated by git-cliff on {{ now() | date(format="%Y-%m-%d") }}-->
"""
trim = true
postprocessors = []
output = "CHANGELOG.md"
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = [
{ pattern = '\s*\(#([0-9]+)\)$', replace = "" },
{ pattern = '.*', replace_command = 'typos --write-changes -' },
]
commit_parsers = [
{ message = "^(chore|fix)\\(deps.*\\)", skip = true },
{ group = "<!-- 00 -->๐ Features", message = "^feat" },
{ group = "<!-- 01 -->๐ Bug Fixes", message = "^fix" },
{ group = "<!-- 50 -->๐ Refactor", message = "^refactor" },
{ group = "<!-- 51 -->โก Performance", message = "^perf" },
{ group = "<!-- 52 -->๐จ Styling", message = "^style" },
{ group = "<!-- 60 -->๐ Documentation", message = "^docs" },
{ group = "<!-- 80 -->๐งช Testing", message = "^test" },
{ group = "<!-- 98 -->โ๏ธ Revert", message = "^revert" },
{ group = "<!-- 99 -->โ๏ธ Miscellaneous Tasks", message = "^chore" },
{ group = "<!-- 99 -->๏ฟฝ Other", message = ".*" },
]
filter_commits = false
topo_order = false
sort_commits = "oldest"
[remote.github]
owner = "JP-Ellis"
repo = "amber-api"