[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%-d %B %Y") }}
{% 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 }}{% if commit.links %} ({{ commit.links | join(sep=", ") }}){% endif %}
{% endfor -%}
{% endfor -%}
---
"""
footer = """
<!-- generated by git-cliff -->
"""
trim = true
render_always = true
postprocessors = [
{ pattern = '\$REPO', replace = "https://github.com/ErenayDev/checkpoint-ts" },
{ pattern = '<!-- \d+ -->', replace = "" },
]
[git]
conventional_commits = true
filter_unconventional = true
require_conventional = false
split_commits = false
commit_preprocessors = [
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}]($REPO/issues/${2}))" },
{ pattern = '\$REPO', replace = "https://github.com/ErenayDev/checkpoint-ts" },
]
protect_breaking_commits = true
commit_parsers = [
{ message = "^feat", group = "๐ Features" },
{ message = "^fix", group = "๐ Bug Fixes" },
{ message = "^perf", group = "โก Performance" },
{ message = "^refactor", group = "๐ Refactor" },
{ message = "^doc", group = "๐ Documentation" },
{ message = "^style", group = "๐จ Styling" },
{ message = "^test", group = "๐งช Testing" },
{ message = "^build", group = "๐๏ธ Build System" },
{ message = "^ci", group = "๐ท CI/CD" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore", group = "โ๏ธ Miscellaneous Tasks" },
{ body = ".*security", group = "๐ก๏ฟฝ๏ฟฝ๏ฟฝ Security" },
{ message = "^revert", group = "โ๏ธ Revert" },
{ message = ".*", group = "๐ผ Other" },
]
filter_commits = false
link_parsers = [
{ pattern = "#(\\d+)", href = "$REPO/issues/${1}" },
{ pattern = "RFC(\\d+)", text = "ietf-rfc${1}", href = "https://datatracker.ietf.org/doc/html/rfc${1}" },
]
tag_pattern = "v[0-9].*"
skip_tags = "v0.1.0-beta.1"
ignore_tags = ""
date_order = false
sort_commits = "oldest"