@@ -10,92 +10,61 @@ All notable changes to Waypoint will be documented in this file.
1010
1111"""
1212# Template for the changelog body
13- # Valid placeholders: {version}, {date}
14- # Additionally, placeholders can use values from the repo: {package.name}
1513body = """
16- ## [{version}] - {date}
14+ {% if version %}\
15+ ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
16+ {% else %}\
17+ ## [unreleased]
18+ {% endif %}\
19+ {% for group, commits in commits | group_by(attribute="group") %}
20+ ### {{ group | upper_first }}
21+ {% for commit in commits %}
22+ - {{ commit.message | upper_first | trim_end_matches(pat=".") }}
23+ {%- endfor %}
24+ {% endfor %}
1725
18- {commits}
19- """
20- # Template for the changelog footer
21- footer = """
22-
23- """
24- # Template for each commit in the changelog
25- trim = true
26- template = """
27- {scope}{message}
2826"""
2927# Remove the leading and trailing whitespace from the template
30- trim_newlines = true
31-
32- # Sections for commit categorization
33- [sections ]
34- added = " ### Added"
35- changed = " ### Changed"
36- fixed = " ### Fixed"
37- removed = " ### Removed"
38- security = " ### Security"
39- performance = " ### Performance"
40- deprecated = " ### Deprecated"
41- docs = " ### Documentation"
42- other = " ### Other"
43-
44- # Prefixes used for commit categorization
45- [commit_parsers ]
46- feat = { group = " added" }
47- feature = { group = " added" }
48- add = { group = " added" }
49- change = { group = " changed" }
50- update = { group = " changed" }
51- fix = { group = " fixed" }
52- security = { group = " security" }
53- secure = { group = " security" }
54- perf = { group = " performance" }
55- performance = { group = " performance" }
56- optimize = { group = " performance" }
57- remove = { group = " removed" }
58- deleted = { group = " removed" }
59- deprecate = { group = " deprecated" }
60- doc = { group = " docs" }
61- docs = { group = " docs" }
62- refactor = { group = " other" }
63- chore = { group = " other" }
64- test = { group = " other" }
65- tests = { group = " other" }
66- ci = { group = " other" }
67- build = { group = " other" }
68-
69- # Ignore certain categories or commits
70- [ignore_tags ]
71- regex = " ^v0\\ .1\\ ..*$"
28+ trim = true
29+ # Template for the changelog footer
30+ footer = " "
7231
32+ # Git commit processing configuration
7333[git ]
74- # Use a custom commit format
34+ # Use conventional commits format
7535conventional_commits = true
76- # Filter out commits with these patterns
77- filter_commits = true
36+ # Filter commits
37+ filter_unconventional = false
38+ # Split the body by newlines
39+ split_commits = false
40+ # Protect breaking changes from being skipped
41+ protect_breaking_commits = false
42+ # Tag pattern
43+ tag_pattern = " v[0-9].*"
44+ # Skip tags matching this pattern
45+ skip_tags = " v0.1.[0-9]"
46+ # Sort commits inside sections by oldest/newest
47+ sort_commits = " oldest"
48+ # Commit parsers for grouping
7849commit_parsers = [
79- { message = " ^feat" , group = " added " },
80- { message = " ^fix" , group = " fixed " },
81- { message = " ^doc" , group = " docs " },
82- { message = " ^perf" , group = " performance " },
83- { message = " ^refactor" , group = " other " },
84- { message = " ^style" , group = " other " },
85- { message = " ^test" , group = " other " },
50+ { message = " ^feat" , group = " Features " },
51+ { message = " ^fix" , group = " Bug Fixes " },
52+ { message = " ^doc" , group = " Documentation " },
53+ { message = " ^perf" , group = " Performance " },
54+ { message = " ^refactor" , group = " Refactor " },
55+ { message = " ^style" , group = " Styling " },
56+ { message = " ^test" , group = " Testing " },
8657 { message = " ^chore\\ (release\\ ): prepare for" , skip = true },
87- { message = " ^chore\\ (deps" , group = " other " },
88- { message = " ^chore" , group = " other " },
89- { message = " ^ci" , group = " other " },
90- { message = " ^build" , group = " other " },
58+ { message = " ^chore\\ (deps" , group = " Dependencies " },
59+ { message = " ^chore" , group = " Miscellaneous Tasks " },
60+ { message = " ^ci" , group = " Continuous Integration " },
61+ { message = " ^build" , group = " Build System " },
9162]
92- # Filter out the specified commit types
93- filter_commit_types = []
94- # Filter out commits by body using these patterns
95- filter_commits_by_body = []
96- # Sort the tags chronologically
97- date_order = false
98- # Sort the commits inside sections by oldest/newest order
99- sort_commits = " oldest"
100- # Define which tags to process
101- tag_pattern = " v[0-9].*"
63+ # Process each fixup commit
64+ process_each_fixup_commit = false
65+ # Filter out the commits that are not conventional
66+ filter_commits = true
67+ # Process merge commits
68+ link_parsers = []
69+ # Sort the tags topologically
70+ topo_order = false
0 commit comments