@@ -27,9 +27,9 @@ body = """
27
27
\n\n
28
28
{%- for commit in commits %}
29
29
{%- if commit.scope -%}
30
- {% else - %}
30
+ {% else %}
31
31
\n
32
- - **general**: {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/swc-project/swc/commit/{{ commit.id }}))
32
+ - {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/swc-project/swc/commit/{{ commit.id }}))
33
33
{%- if commit.breaking %}
34
34
{% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}}
35
35
{%- endif -%}
@@ -48,24 +48,27 @@ footer = """
48
48
[git ]
49
49
# allow only conventional commits
50
50
# https://www.conventionalcommits.org
51
- conventional_commits = true
51
+ conventional_commits = true
52
52
filter_unconventional = false
53
+
54
+ commit_preprocessors = [
55
+ { pattern = " \\ (#([0-9]+)\\ )" , replace = " ([#${1}](https://github.com/swc-project/swc/issues/${1}))" },
56
+ ]
53
57
# regex for parsing and grouping commits
54
58
commit_parsers = [
55
- { message = " ^feat" , group = " Features" },
56
- { message = " ^fix" , group = " Bug Fixes" },
57
- { message = " ^doc" , group = " Documentation" },
58
- { message = " ^perf" , group = " Performance" },
59
- { message = " ^refactor" , group = " Refactor" },
60
- { message = " ^style" , group = " Styling" },
61
- { message = " ^test" , group = " Testing" },
62
- { message = " ^chore: Publish" , skip = true },
63
- { message = " ^chore" , group = " Miscellaneous Tasks" },
64
- { body = " .*security" , group = " Security" },
59
+ { message = " ^feat" , group = " Features" },
60
+ { message = " ^fix" , group = " Bug Fixes" },
61
+ { message = " ^doc" , group = " Documentation" },
62
+ { message = " ^perf" , group = " Performance" },
63
+ { message = " ^refactor" , group = " Refactor" },
64
+ { message = " ^style" , group = " Styling" },
65
+ { message = " ^test" , group = " Testing" },
66
+ { message = " ^chore: Publish" , skip = true },
67
+ { message = " ^chore" , group = " Miscellaneous Tasks" },
68
+ { body = " .*security" , group = " Security" },
65
69
]
66
70
# filter out the commits that are not matched by commit parsers
67
71
filter_commits = false
68
72
# glob pattern for matching git tags
69
- tag_pattern = " v[0-9]*"
70
- # regex for skipping tags
71
- skip_tags = " v0.1.0-beta.1"
73
+ limit_commits = 1000
74
+ tag_pattern = " v[0-9]*"
0 commit comments