2021-12-29 00:11:51 +13:00
|
|
|
[changelog]
|
|
|
|
header = """
|
|
|
|
# Changelog
|
2022-01-25 04:42:33 +13:00
|
|
|
|
2021-12-29 00:11:51 +13:00
|
|
|
All notable changes to this project will be documented in this file.\n
|
|
|
|
"""
|
|
|
|
body = """
|
|
|
|
{% if version %}\
|
2022-05-25 20:02:17 +12:00
|
|
|
# [{{ version | trim_start_matches(pat="v") }}]\
|
|
|
|
{% if previous %}\
|
|
|
|
{% if previous.version %}\
|
|
|
|
(https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
|
2022-06-10 23:37:24 +12:00
|
|
|
{% else %}\
|
2022-05-25 20:02:17 +12:00
|
|
|
(https://github.com/discordjs/discord.js/tree/{{ version }})\
|
|
|
|
{% endif %}\
|
|
|
|
{% endif %} \
|
|
|
|
- ({{ timestamp | date(format="%Y-%m-%d") }})
|
2021-12-29 00:11:51 +13:00
|
|
|
{% else %}\
|
2022-05-25 20:02:17 +12:00
|
|
|
# [unreleased]
|
2021-12-29 00:11:51 +13:00
|
|
|
{% endif %}\
|
|
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
2022-05-25 20:02:17 +12:00
|
|
|
## {{ group | upper_first }}
|
|
|
|
{% for commit in commits %}
|
|
|
|
- {% if commit.scope %}\
|
|
|
|
**{{commit.scope}}:** \
|
|
|
|
{% endif %}\
|
|
|
|
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
|
|
|
|
{% if commit.breaking %}\
|
|
|
|
{% for breakingChange in commit.footers %}\
|
2022-07-13 19:49:17 +12:00
|
|
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
2022-05-25 20:02:17 +12:00
|
|
|
{% endfor %}\
|
|
|
|
{% endif %}\
|
|
|
|
{% endfor %}
|
2021-12-29 00:11:51 +13:00
|
|
|
{% endfor %}\n
|
|
|
|
"""
|
|
|
|
trim = true
|
|
|
|
footer = ""
|
|
|
|
|
|
|
|
[git]
|
|
|
|
conventional_commits = true
|
|
|
|
filter_unconventional = true
|
|
|
|
commit_parsers = [
|
2022-05-25 20:02:17 +12:00
|
|
|
{ message = "^feat", group = "Features"},
|
|
|
|
{ message = "^fix", group = "Bug Fixes"},
|
|
|
|
{ message = "^docs", group = "Documentation"},
|
|
|
|
{ message = "^perf", group = "Performance"},
|
|
|
|
{ message = "^refactor", group = "Refactor"},
|
|
|
|
{ message = "^typings", group = "Typings"},
|
|
|
|
{ message = "^types", group = "Typings"},
|
|
|
|
{ message = ".*deprecated", body = ".*deprecated", group = "Deprecation"},
|
|
|
|
{ message = "^revert", skip = true},
|
|
|
|
{ message = "^style", group = "Styling"},
|
|
|
|
{ message = "^test", group = "Testing"},
|
|
|
|
{ message = "^chore", skip = true},
|
|
|
|
{ message = "^ci", skip = true},
|
|
|
|
{ message = "^build", skip = true},
|
|
|
|
{ body = ".*security", group = "Security"},
|
2021-12-29 00:11:51 +13:00
|
|
|
]
|
|
|
|
filter_commits = true
|
2022-06-05 02:42:00 +12:00
|
|
|
tag_pattern = "@discordjs/voice@[0-9]*"
|
2021-12-29 00:11:51 +13:00
|
|
|
ignore_tags = ""
|
2023-04-02 11:55:39 +12:00
|
|
|
topo_order = true
|
2021-12-29 00:11:51 +13:00
|
|
|
sort_commits = "newest"
|