[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.
"""
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 }}
{% for commit in commits %}\
- [`{{ commit.id | truncate(length=7, end="") }}`](https://github.com/burka/veclayer/commit/{{ commit.id }}) \
{% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% if commit.links %} {% for link in commit.links %}{% if link.text != commit.scope %}([{{ link.text }}]({{ link.href }})){% endif %}{% endfor %}{% endif %}
{% endfor %}
{% endfor %}\n
"""
trim = true
postprocessors = [
{ pattern = " +\n", replace = "\n" },
]
[git]
conventional_commits = true
filter_unconventional = false
split_commits = false
commit_preprocessors = [
{ pattern = "—", replace = "-" },
{ pattern = "(?m)^(.+?)\\n[\\s\\S]*$", replace = "$1" },
]
commit_parsers = [
{ message = "^Merge", skip = true },
{ message = "^CI:", skip = true },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^docs?", group = "Documentation" },
{ message = "^test", group = "Testing" },
{ message = "^perf", group = "Performance" },
{ message = "^chore", group = "Maintenance" },
{ message = ".*", group = "Other" },
]
protect_breaking_commits = false
filter_commits = false
tag_pattern = "v[0-9].*"
topo_order = false
sort_commits = "oldest"
link_parsers = [
{ pattern = "#(\\d+)", href = "https://github.com/burka/veclayer/issues/$1", text = "#$1" },
]