[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.
"""
body = """
{%- if version %}
### [{{ version | trim_start_matches(pat="v") }}]\
(https://github.com/tirithen/clipper2/compare/{{ previous.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 -%}
* {{ commit.message }} \
([{{ commit.id | truncate(length=7, end="") }}]\
(https://github.com/tirithen/clipper2/commit/{{ commit.id }}))
{% endfor %}
{%- endfor %}
"""
footer = ""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
filter_commits = false
tag_pattern = "v[0-9].*"
sort_commits = "oldest"
commit_parsers = [
{ footer = "(?i)^breaking[ -]change", group = "BREAKING CHANGES" },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^perf", group = "Performance Improvements" },
{ message = "^revert", group = "Reverts" },
{ message = "^doc", skip = true },
{ message = "^style", skip = true },
{ message = "^refactor", skip = true },
{ message = "^test", skip = true },
{ message = "^chore", skip = true },
{ message = "^ci", skip = true },
{ message = "^build", skip = true },
]
[remote.github]
owner = "tirithen"
repo = "clipper2"
[bump]
breaking_always_bump_major = false
features_always_bump_minor = false