[changelog]
header = """
# Changelog
All notable changes to `pubsat` will be documented in this file.
The format follows [Keep a Changelog](https://keepachangelog.com/).
Breaking changes between 0.1.x minor versions will be called out
here with migration notes; the project commits to strict semver
from 1.0 onward.
"""
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 | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first | trim }}\
{% if commit.breaking %} **(BREAKING)**{% endif %}\
{% endfor %}
{% endfor %}\n
"""
trim = true
footer = """
<!-- generated by git-cliff -->
"""
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_parsers = [
{ message = "^feat", group = "Added" },
{ message = "^fix", group = "Fixed" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Changed" },
{ message = "^style", group = "Changed" },
{ message = "^docs", group = "Documentation" },
{ message = "^test", group = "Tests" },
{ message = "^build", group = "Build" },
{ message = "^ci", group = "Build" },
{ message = "^chore", group = "Chores" },
]
commit_preprocessors = [
{ pattern = '\((CHANGELOG\.md)\)', replace = "" },
]
tag_pattern = "v[0-9].*"
sort_commits = "newest"