[changelog]
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
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 %}\n
"""
trim = true
postprocessors = [
{ pattern = '<REPO>', replace = "https://github.com/bornacvitanic/dev_environment_launcher" },
]
[git]
conventional_commits = false
filter_unconventional = false
split_commits = false
commit_preprocessors = [
{ pattern = '\((\w+\s)?
]
commit_parsers = [
{ message = "(?i)\\bdocs?|documentation|\\.md\\b", group = "Documentation" },
{ message = "(?i)\\bfix(ed|es|ing|s)?\\b", group = "Bug Fixes" },
{ message = "(?i)test(s?)\\b", group = "Testing" },
{ message = "(?i)^revert", group = "Revert" },
{ message = "(?i)\\badd(ed|s)?\\b|(?i)\\bimplement(ed|s)?\\b", group = "Features" },
{ message = "(?i)^remove", group = "Removals" },
{ message = "(?i)\\brefactor(ed|s)?\\b", group = "Refactors" },
{ message = "(?i)\\bmove(d|s)?\\b", group = "Moves" },
{ message = "(?i)\\brename(d|s)?\\b", group = "Renames" },
{ message = "(?i)^style|(?i)\\b(clean|clippy|fmt)\\b", group = "Styling" },
{ message = "(?i)^chore|(?i)^ci", group = "Miscellaneous Tasks" },
{ message = "(?i)^update|(?i)^improve", group = "Updates" },
]
protect_breaking_commits = false
filter_commits = true
tag_pattern = "v[0-9]*"
skip_tags = "beta|alpha"
ignore_tags = "rc|lib"
topo_order = false
sort_commits = "newest"