[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 }} ([{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }}) - {{ commit.author.name }})\
{% endfor %}
{% endfor %}\n
{% if version %}\
{% if previous.version %}\
**Full Changelog**: [{{ previous.version }}...{{ version }}]($REPO/compare/{{ previous.version }}...{{ version }})
{% endif %}
{% else -%}
{% raw %}\n{% endraw %}
{% endif %}
"""
footer = """
"""
trim = true
postprocessors = [
{ pattern = '\$REPO', replace = "https://github.com/tschinz/md-pdf" },
]
[git]
conventional_commits = true
filter_unconventional = false
split_commits = false
commit_preprocessors = [
]
commit_parsers = [
{ message = "^feat(ure)?s?", group = "<!-- 0 -->๐ Features" },
{ message = "^fix(es)?", group = "<!-- 1 -->๐ Bug Fixes" },
{ message = "^docs?", group = "<!-- 3 -->๐ Documentation" },
{ message = "^perf(ormance)?s?", group = "<!-- 4 -->โก Performance" },
{ message = "^refactors?", group = "<!-- 2 -->๐ Refactoring" },
{ message = "^styles?", group = "<!-- 5 -->๐จ Styling" },
{ message = "^tests?", group = "<!-- 6 -->๐งช Testing" },
{ message = "^chores?", group = "<!-- 7 -->โ๏ธ Miscellaneous Tasks" },
{ message = "^security", group = "<!-- 8 -->๐ก๏ธ Security" },
{ body = ".*security", group = "<!-- 8 -->๐ก๏ธ Security" },
{ message = "^reverts?", group = "<!-- 9 -->โ๏ธ Revert" },
{ message = "^chores?\\(releases?\\):", skip = true },
{ message = "^chores?\\(deps?.*\\)", skip = true },
{ message = "^chores?\\(pr\\)", skip = true },
{ message = "^chores?\\(pull\\)", skip = true },
{ message = "^chores?\\(version\\):", skip = true },
{ message = "(?i)^ADD", group = "<!-- 0 -->๐ Features" },
{ message = "(?i)^CHG", group = "<!-- 0 -->๐ Features" },
{ message = "(?i)^REM", group = "<!-- 2 -->๐ Refactoring" },
{ message = "(?i)^MOV", group = "<!-- 2 -->๐ Refactoring" },
{ message = "(?i)^FIX", group = "<!-- 1 -->๐ Bug Fixes" },
{ message = "(?i)^NOTE", group = "<!-- 10 -->๐ผ Other" },
{ message = "(?i)^WARN", group = "<!-- 8 -->๐ก๏ธ Security" },
{ message = ".*", group = "<!-- 10 -->๐ผ Other" },
]
filter_commits = false
topo_order = false
sort_commits = "oldest"