[changelog] header = "# Changelog\n\n" body = """ {% if version %}\ ## {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## Unreleased {% endif %}\ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %} - {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.message | upper_first }}\ {% endfor %} {% endfor %}\n """ trim = true [git] conventional_commits = true filter_unconventional = true protect_breaking_commits = true filter_commits = false tag_pattern = "v[0-9]*" topo_order = false sort_commits = "oldest" commit_parsers = [ { message = "^feat", group = "Features" }, { message = "^fix", group = "Bug Fixes" }, { message = "^perf", group = "Performance" }, { message = "^refactor", group = "Refactor" }, { message = "^docs", group = "Documentation" }, { message = "^test", group = "Testing" }, { message = "^build", group = "Build" }, { message = "^ci", skip = true }, { message = "^chore", skip = true }, { message = "^style", skip = true }, ] [bump] features_always_bump_minor = false breaking_always_bump_major = false