1+ # Release Notes Configuration
2+
3+ # This file contains configuration for the automated release notes generation system.
4+ # It defines how commits are categorized and what patterns to look for.
5+
6+ # Commit categorization patterns (regex patterns, case-insensitive)
7+ categorization :
8+ features :
9+ patterns :
10+ - " ^feat(\\ (.*\\ ))?:"
11+ - " ^add "
12+ - " ^implement "
13+ - " new feature"
14+ - " added support"
15+
16+ bugfixes :
17+ patterns :
18+ - " ^fix(\\ (.*\\ ))?:"
19+ - " ^bug "
20+ - " ^patch "
21+ - " resolve.*issue"
22+ - " fixed.*problem"
23+
24+ breaking_changes :
25+ patterns :
26+ - " ^feat(\\ (.*\\ ))?!:"
27+ - " ^fix(\\ (.*\\ ))?!:"
28+ - " breaking"
29+ - " ^BREAKING CHANGE"
30+ - " backwards incompatible"
31+
32+ documentation :
33+ patterns :
34+ - " ^docs(\\ (.*\\ ))?:"
35+ - " documentation"
36+ - " readme"
37+ - " update.*docs"
38+ - " add.*docs"
39+
40+ internal :
41+ patterns :
42+ - " ^chore(\\ (.*\\ ))?:"
43+ - " ^ci(\\ (.*\\ ))?:"
44+ - " ^test(\\ (.*\\ ))?:"
45+ - " ^refactor(\\ (.*\\ ))?:"
46+ - " ^build(\\ (.*\\ ))?:"
47+ - " ^perf(\\ (.*\\ ))?:"
48+ - " internal changes"
49+ - " code cleanup"
50+
51+ dependencies :
52+ patterns :
53+ - " ^deps(\\ (.*\\ ))?:"
54+ - " dependencies"
55+ - " package.*update"
56+ - " bump.*version"
57+ - " upgrade.*to"
58+ - " update.*dependency"
59+
60+ # Section configuration
61+ sections :
62+ features :
63+ title : " 🚀 Features Added"
64+ description : " New functionality and capabilities added in this release"
65+
66+ bugfixes :
67+ title : " 🐛 Bug Fixes"
68+ description : " Issues and problems resolved in this release"
69+
70+ breaking_changes :
71+ title : " ⚠️ Breaking Changes"
72+ description : " Changes that may break backward compatibility"
73+ priority : 1 # Show first after main description
74+
75+ documentation :
76+ title : " 📚 Documentation"
77+ description : " Documentation updates and improvements"
78+
79+ internal :
80+ title : " 🔧 Internal/DevOps"
81+ description : " Internal improvements, build system, and development tooling changes"
82+
83+ dependencies :
84+ title : " 📦 Dependencies"
85+ description : " Dependency updates and package management changes"
86+
87+ other :
88+ title : " 🎉 Other Changes"
89+ description : " Other notable changes that don't fit the above categories"
90+
91+ refactoring :
92+ title : " 🔄 Refactoring & Performance"
93+ description : " Code quality improvements and performance optimizations"
94+
95+ # Template configuration
96+ template :
97+ # Whether to include sections that have no items
98+ include_empty_sections : false
99+
100+ # Maximum number of commits to show per section (0 = unlimited)
101+ max_commits_per_section : 0
102+
103+ # Whether to include commit hashes in the output
104+ include_commit_hashes : true
105+
106+ # Whether to include author information
107+ include_authors : true
108+
109+ # Date format for the release
110+ date_format : " YYYY-MM-DD"
111+
112+ # Contributors configuration
113+ contributors :
114+ # Whether to include a contributors section
115+ include_contributors : true
116+
117+ # How to format contributor names
118+ format : " @{username}"
119+
120+ # Whether to exclude bot accounts
121+ exclude_bots : true
122+
123+ # List of usernames to exclude from contributors list
124+ exclude_users :
125+ - " dependabot[bot]"
126+ - " github-actions[bot]"
127+
128+ # Validation rules
129+ validation :
130+ # Minimum number of commits required for a release
131+ min_commits : 1
132+
133+ # Whether to fail if no categorized changes are found
134+ require_categorized_changes : false
135+
136+ # Whether to validate that breaking changes have migration notes
137+ require_breaking_change_notes : true
138+
139+ # Custom replacements for commit messages (useful for cleaning up automated commits)
140+ message_replacements :
141+ - pattern : " ^Merge pull request #\\ d+ from .*"
142+ replacement : " " # Remove merge commit messages
143+ - pattern : " ^Merge branch '.*' into .*"
144+ replacement : " " # Remove branch merge messages
145+ - pattern : " \\ (#(\\ d+)\\ )"
146+ replacement : " (#$1)" # Normalize PR references
147+
148+ # Integration settings
149+ integrations :
150+ github :
151+ # Whether to link to GitHub commits
152+ link_commits : true
153+
154+ # Whether to link to GitHub issues/PRs
155+ link_issues : true
156+
157+ # Base URL for the repository
158+ base_url : " https://github.com/{owner}/{repo}"
159+
160+ npm :
161+ # Whether to include npm installation instructions
162+ include_install_instructions : true
163+
164+ # Package name for installation instructions
165+ package_name : " create-polyglot"
0 commit comments