Skip to content

Commit 8d86b39

Browse files
committed
Merge branch 'release/v1.25.0'
2 parents 5eb77cb + 3891434 commit 8d86b39

40 files changed

+1083
-1164
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

.chglog/RELEASE.tpl.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.chglog/config.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/cliff.toml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## https://git-cliff.org/
2+
[changelog]
3+
body = """
4+
{% if version %}\
5+
\n## [{{ version }}]
6+
{% else %}\
7+
\n## Unreleased
8+
{% endif %}\
9+
{% for group, commits in commits | group_by(attribute="group") %}
10+
### {{ group | striptags | trim | upper_first }}\
11+
{% for commit in commits %}
12+
- {{ commit.message | upper_first }}\
13+
{% endfor %}
14+
{% endfor %}\n
15+
"""
16+
footer = ""
17+
header = "# Changelog\n\nNotable changes to Mailpit will be documented in this file."
18+
postprocessors = [
19+
{pattern = "reponse", replace = "response"},
20+
{pattern = "messsage", replace = "message"},
21+
{pattern = '(?i) go modules', replace = " Go dependencies"},
22+
{pattern = '(?i) node modules', replace = " node dependencies"},
23+
{pattern = '#([0-9]+)', replace = "[#$1](https://github.com/axllent/mailpit/issues/$1)"},
24+
]
25+
trim = true
26+
27+
[git]
28+
# HTML comments added for grouping order, stripped on generation
29+
commit_parsers = [
30+
{body = ".*security", group = "<!-- 1 -->Security"},
31+
{message = "(?i)^feat", group = "<!-- 2 -->Feature"},
32+
{message = "(?i)^chore", group = "<!-- 3 -->Chore"},
33+
{message = "(?i)^libs", group = "<!-- 3 -->Chore"},
34+
{message = "(?i)^ui", group = "<!-- 3 -->Chore"},
35+
{message = "(?i)^api", group = "<!-- 4 -->API"},
36+
{message = "(?i)^fix", group = "<!-- 5 -->Fix"},
37+
{message = "(?i)^doc", group = "<!-- 6 -->Documentation", default_scope = "unscoped"},
38+
{message = "(?i)^swagger", group = "<!-- 6 -->Documentation", default_scope = "unscoped"},
39+
{message = "(?i)^test", group = "<!-- 7 -->Test"},
40+
]
41+
42+
# Exclude commits that are not matched by any commit parser.
43+
# filter_commits = true
44+
# Order releases topologically instead of chronologically.
45+
# topo_order = true
46+
# Order of commits in each group/release within the changelog.
47+
# Allowed values: newest, oldest
48+
sort_commits = "oldest"

0 commit comments

Comments
 (0)