# git-cliff ~ configuration file# https://git-cliff.org/docs/configuration[changelog]# changelog headerheader = """# Changelog\nAll notable changes to this project will be documented in this file.\n"""# template for the changelog body# https://keats.github.io/tera/docs/#introductionbody = """{% if version -%} ## [{{ version }}] - {{ 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 }}\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif -%} {% endfor %}{% endfor %}\n"""# template for the changelog footerfooter = """{% for release in releases -%} {% if release.version -%} {% if release.previous.version -%} [{{ release.version }}]: \ https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\ /compare/{{ release.previous.version }}..{{ release.version }} {% endif -%} {% else -%} [unreleased]: https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\ /compare/{{ release.previous.version }}..HEAD {% endif -%}{% endfor %}<!-- generated by git-cliff -->"""# remove the leading and trailing whitespace from the templatestrim = true[git]# parse the commits based on https://www.conventionalcommits.orgconventional_commits = true# filter out the commits that are not conventionalfilter_unconventional = true# process each line of a commit as an individual commitsplit_commits = false# regex for parsing and grouping commitscommit_parsers = [ { message = "^feat", group = "Added" }, { message = "^.*: add", group = "Added" }, { message = "^test", group = "Fixed" }, { message = "^fix", group = "Fixed" }, { message = "^.*: fix", group = "Fixed" }, { message = "^chore.release.", skip = true }, { message = "^.*", group = "Changed" },]# protect breaking changes from being skipped due to matching a skipping commit_parserprotect_breaking_commits = false# filter out the commits that are not matched by commit parsersfilter_commits = true# regex for matching git tagstag_pattern = "v[0-9].*"# regex for skipping tagsskip_tags = ""# regex for ignoring tagsignore_tags = ""# sort the tags topologicallytopo_order = false# sort the commits inside sections by oldest/newest ordersort_commits = "oldest"
You can find the generated Nango's changelog at CHANGELOG.md.