Skip to content

Commit 4374374

Browse files
authored
chore: bump to @favware/cliff-jumper v4.1.0 and fix changelog generation (#10459)
* chore: bump to @favware/cliff-jumper v4 * chore: cleanup changelogs * chore: set `topo_order` to `false` for cliff config * chore: clean cliff.toml diffs * chore(changelog): fix missing / incorrect entries
1 parent e2e71b4 commit 4374374

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+541
-5700
lines changed

.github/workflows/publish-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Publish package
7373
if: steps.release-check.outputs.release == '1'
7474
run: |
75-
pnpm --filter=${{ matrix.package }} run release --preid "dev.$(date +%s)-$(git rev-parse --short HEAD)"
75+
pnpm --filter=${{ matrix.package }} run release --preid "dev.$(date +%s)-$(git rev-parse --short HEAD)" --skip-changelog
7676
pnpm --filter=${{ matrix.package }} publish --provenance --no-git-checks --tag dev || true
7777
env:
7878
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"devDependencies": {
5353
"@commitlint/cli": "^19.4.0",
5454
"@commitlint/config-angular": "^19.3.0",
55-
"@favware/cliff-jumper": "^3.0.3",
55+
"@favware/cliff-jumper": "^4.1.0",
5656
"@favware/npm-deprecate": "^1.0.7",
5757
"@types/lodash.merge": "^4.6.9",
5858
"@unocss/eslint-plugin": "^0.59.4",

packages/api-extractor-model/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"jest": "^29.7.0",
4646
"prettier": "^3.3.3",
4747
"tsup": "^8.2.4",
48-
"turbo": "^2.0.14"
48+
"turbo": "^2.0.14",
49+
"typescript": "~5.5.4"
4950
}
5051
}

packages/brokers/cliff.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ header = """
55
All notable changes to this project will be documented in this file.\n
66
"""
77
body = """
8+
{%- macro remote_url() -%}
9+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
10+
{%- endmacro -%}
811
{% if version %}\
912
# [{{ version | trim_start_matches(pat="v") }}]\
1013
{% if previous %}\
1114
{% if previous.version %}\
12-
(https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
15+
({{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }})\
1316
{% else %}\
14-
(https://github.com/discordjs/discord.js/tree/{{ version }})\
17+
({{ self::remote_url() }}/tree/{{ version }})\
1518
{% endif %}\
1619
{% endif %} \
1720
- ({{ timestamp | date(format="%Y-%m-%d") }})
@@ -24,7 +27,7 @@ body = """
2427
- {% if commit.scope %}\
2528
**{{commit.scope}}:** \
2629
{% endif %}\
27-
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
30+
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
2831
{% if commit.breaking %}\
2932
{% for breakingChange in commit.footers %}\
3033
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
@@ -59,5 +62,9 @@ commit_parsers = [
5962
filter_commits = true
6063
tag_pattern = "@discordjs/brokers@[0-9]*"
6164
ignore_tags = ""
62-
topo_order = true
65+
topo_order = false
6366
sort_commits = "newest"
67+
68+
[remote.github]
69+
owner = "discordjs"
70+
repo = "discord.js"

packages/brokers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"devDependencies": {
7575
"@discordjs/api-extractor": "workspace:^",
7676
"@discordjs/scripts": "workspace:^",
77-
"@favware/cliff-jumper": "^3.0.3",
77+
"@favware/cliff-jumper": "^4.1.0",
7878
"@types/node": "^18.19.45",
7979
"@vitest/coverage-v8": "^2.0.5",
8080
"cross-env": "^7.0.3",

packages/builders/CHANGELOG.md

Lines changed: 0 additions & 255 deletions
Large diffs are not rendered by default.

packages/builders/cliff.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ header = """
55
All notable changes to this project will be documented in this file.\n
66
"""
77
body = """
8+
{%- macro remote_url() -%}
9+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
10+
{%- endmacro -%}
811
{% if version %}\
912
# [{{ version | trim_start_matches(pat="v") }}]\
1013
{% if previous %}\
1114
{% if previous.version %}\
12-
(https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
15+
({{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }})\
1316
{% else %}\
14-
(https://github.com/discordjs/discord.js/tree/{{ version }})\
17+
({{ self::remote_url() }}/tree/{{ version }})\
1518
{% endif %}\
1619
{% endif %} \
1720
- ({{ timestamp | date(format="%Y-%m-%d") }})
@@ -24,7 +27,7 @@ body = """
2427
- {% if commit.scope %}\
2528
**{{commit.scope}}:** \
2629
{% endif %}\
27-
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
30+
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
2831
{% if commit.breaking %}\
2932
{% for breakingChange in commit.footers %}\
3033
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
@@ -59,5 +62,9 @@ commit_parsers = [
5962
filter_commits = true
6063
tag_pattern = "@discordjs/builders@[0-9]*"
6164
ignore_tags = ""
62-
topo_order = true
65+
topo_order = false
6366
sort_commits = "newest"
67+
68+
[remote.github]
69+
owner = "discordjs"
70+
repo = "discord.js"

packages/builders/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"devDependencies": {
7777
"@discordjs/api-extractor": "workspace:^",
7878
"@discordjs/scripts": "workspace:^",
79-
"@favware/cliff-jumper": "^3.0.3",
79+
"@favware/cliff-jumper": "^4.1.0",
8080
"@types/node": "^16.18.105",
8181
"@vitest/coverage-v8": "^2.0.5",
8282
"cross-env": "^7.0.3",

packages/collection/CHANGELOG.md

Lines changed: 0 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -180,174 +180,6 @@ All notable changes to this project will be documented in this file.
180180

181181
- Cleanup tests and tsup configs ([6b8ef20](https://github.com/discordjs/discord.js/commit/6b8ef20cb3af5b5cfd176dd0aa0a1a1e98551629))
182182

183-
# [@discordjs/collection@1.5.3](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-08-17)
184-
185-
## Documentation
186-
187-
- Update Node.js requirement to 16.11.0 (#9764) ([188877c](https://github.com/discordjs/discord.js/commit/188877c50af70f0d5cffb246620fa277435c6ce6))
188-
189-
# [@discordjs/collection@1.5.2](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-07-31)
190-
191-
## Refactor
192-
193-
- **collection:** Reduce `reduce`'s code (#9581) ([b85a3f2](https://github.com/discordjs/discord.js/commit/b85a3f2ddee8fc5974749b95fc07389a03093df2))
194-
195-
# [@discordjs/collection@1.5.1](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-05-01)
196-
197-
## Bug Fixes
198-
199-
- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2))
200-
201-
## Documentation
202-
203-
- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9))
204-
205-
# [@discordjs/collection@1.5.2](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-07-31)
206-
207-
## Refactor
208-
209-
- **collection:** Reduce `reduce`'s code (#9581) ([b85a3f2](https://github.com/discordjs/discord.js/commit/b85a3f2ddee8fc5974749b95fc07389a03093df2))
210-
211-
# [@discordjs/collection@1.5.1](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-05-01)
212-
213-
## Bug Fixes
214-
215-
- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2))
216-
217-
## Documentation
218-
219-
- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9))
220-
221-
# [@discordjs/collection@1.5.1](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-05-01)
222-
223-
## Bug Fixes
224-
225-
- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2))
226-
227-
## Documentation
228-
229-
- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9))
230-
231-
# [@discordjs/collection@1.5.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-04-01)
232-
233-
## Bug Fixes
234-
235-
- **scripts:** Accessing tsComment ([d8d5f31](https://github.com/discordjs/discord.js/commit/d8d5f31d3927fd1de62f1fa3a1a6e454243ad87b))
236-
237-
## Features
238-
239-
- **website:** Render syntax and mdx on the server (#9086) ([ee5169e](https://github.com/discordjs/discord.js/commit/ee5169e0aadd7bbfcd752aae614ec0f69602b68b))
240-
241-
## Refactor
242-
243-
- **collection:** Fix/silence linter warnings (#9266) ([d6f4e60](https://github.com/discordjs/discord.js/commit/d6f4e60efd1a1796fc84dbbfbac4f9790e480a1c))
244-
245-
# [@discordjs/collection@1.4.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-03-12)
246-
247-
## Documentation
248-
249-
- Fix version export (#9049) ([8b70f49](https://github.com/discordjs/discord.js/commit/8b70f497a1207e30edebdecd12b926c981c13d28))
250-
251-
## Features
252-
253-
- **website:** Add support for source file links (#9048) ([f6506e9](https://github.com/discordjs/discord.js/commit/f6506e99c496683ee0ab67db0726b105b929af38))
254-
255-
## Refactor
256-
257-
- Compare with `undefined` directly (#9191) ([869153c](https://github.com/discordjs/discord.js/commit/869153c3fdf155783e7c0ecebd3627b087c3a026))
258-
259-
# [@discordjs/collection@1.3.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2022-11-28)
260-
261-
## Bug Fixes
262-
263-
- Pin @types/node version ([9d8179c](https://github.com/discordjs/discord.js/commit/9d8179c6a78e1c7f9976f852804055964d5385d4))
264-
265-
## Features
266-
267-
- Add `Collection#subtract()` (#8393) ([291f36c](https://github.com/discordjs/discord.js/commit/291f36cd736b5dea058145a1335bf7c78ec1d81d))
268-
269-
# [@discordjs/collection@1.2.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2022-10-08)
270-
271-
## Bug Fixes
272-
273-
- Footer / sidebar / deprecation alert ([ba3e0ed](https://github.com/discordjs/discord.js/commit/ba3e0ed348258fe8e51eefb4aa7379a1230616a9))
274-
275-
## Documentation
276-
277-
- Change name (#8604) ([dd5a089](https://github.com/discordjs/discord.js/commit/dd5a08944c258a847fc4377f1d5e953264ab47d0))
278-
- Remove xml tag from collection#find (#8550) ([4032457](https://github.com/discordjs/discord.js/commit/40324574ebea9894cadcc967e0db0e4e21d62768))
279-
280-
## Features
281-
282-
- Web-components (#8715) ([0ac3e76](https://github.com/discordjs/discord.js/commit/0ac3e766bd9dbdeb106483fa4bb085d74de346a2))
283-
284-
## Refactor
285-
286-
- Website components (#8600) ([c334157](https://github.com/discordjs/discord.js/commit/c3341570d983aea9ecc419979d5a01de658c9d67))
287-
- Use `eslint-config-neon` for packages. (#8579) ([edadb9f](https://github.com/discordjs/discord.js/commit/edadb9fe5dfd9ff51a3cfc9b25cb242d3f9f5241))
288-
289-
## Typings
290-
291-
- **Collection:** Make fn return type unknown (#8676) ([822b7f2](https://github.com/discordjs/discord.js/commit/822b7f234af053c8f917b0a998b82abfccd33801))
292-
293-
# [@discordjs/collection@1.1.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2022-08-22)
294-
295-
## Bug Fixes
296-
297-
- Use proper format for `@link` text (#8384) ([2655639](https://github.com/discordjs/discord.js/commit/26556390a3800e954974a00c1328ff47d3e67e9a))
298-
299-
## Documentation
300-
301-
- Fence examples in codeblocks ([193b252](https://github.com/discordjs/discord.js/commit/193b252672440a860318d3c2968aedd9cb88e0ce))
302-
- Use link tags (#8382) ([5494791](https://github.com/discordjs/discord.js/commit/549479131318c659f86f0eb18578d597e22522d3))
303-
304-
## Features
305-
306-
- **website:** Show `constructor` information (#8540) ([e42fd16](https://github.com/discordjs/discord.js/commit/e42fd1636973b10dd7ed6fb4280ee1a4a8f82007))
307-
- **website:** Show descriptions for `@typeParam` blocks (#8523) ([e475b63](https://github.com/discordjs/discord.js/commit/e475b63f257f6261d73cb89fee9ecbcdd84e2a6b))
308-
309-
## Refactor
310-
311-
- **website:** Adjust typography (#8503) ([0f83402](https://github.com/discordjs/discord.js/commit/0f834029850d2448981596cf082ff59917018d66))
312-
- Docs design (#8487) ([4ab1d09](https://github.com/discordjs/discord.js/commit/4ab1d09997a18879a9eb9bda39df6f15aa22557e))
313-
314-
# [@discordjs/collection@0.8.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2022-07-17)
315-
316-
## Bug Fixes
317-
318-
- **Collection:** Make error messages consistent (#8224) ([5bd6b28](https://github.com/discordjs/discord.js/commit/5bd6b28b3ebfced1cb9d23e83bd7c0def7a12404))
319-
- Check for function type (#8064) ([3bb9c0e](https://github.com/discordjs/discord.js/commit/3bb9c0e5c37311044ff41761b572ac4f91cda57c))
320-
321-
## Documentation
322-
323-
- Add codecov coverage badge to readmes (#8226) ([f6db285](https://github.com/discordjs/discord.js/commit/f6db285c073898a749fe4591cbd4463d1896daf5))
324-
325-
## Features
326-
327-
- Codecov (#8219) ([f10f4cd](https://github.com/discordjs/discord.js/commit/f10f4cdcd88ca6be7ec735ed3a415ba13da83db0))
328-
- **docgen:** Update typedoc ([b3346f4](https://github.com/discordjs/discord.js/commit/b3346f4b9b3d4f96443506643d4631dc1c6d7b21))
329-
- Website (#8043) ([127931d](https://github.com/discordjs/discord.js/commit/127931d1df7a2a5c27923c2f2151dbf3824e50cc))
330-
- **docgen:** Typescript support ([3279b40](https://github.com/discordjs/discord.js/commit/3279b40912e6aa61507bedb7db15a2b8668de44b))
331-
- Docgen package (#8029) ([8b979c0](https://github.com/discordjs/discord.js/commit/8b979c0245c42fd824d8e98745ee869f5360fc86))
332-
- Use vitest instead of jest for more speed ([8d8e6c0](https://github.com/discordjs/discord.js/commit/8d8e6c03decd7352a2aa180f6e5bc1a13602539b))
333-
- Add scripts package for locally used scripts ([f2ae1f9](https://github.com/discordjs/discord.js/commit/f2ae1f9348bfd893332a9060f71a8a5f272a1b8b))
334-
335-
## Refactor
336-
337-
- **collection:** Remove `default` property (#8055) ([c8f1690](https://github.com/discordjs/discord.js/commit/c8f1690896f55f06e05a83704262783cfc2bb91d))
338-
- **collection:** Remove default export (#8053) ([16810f3](https://github.com/discordjs/discord.js/commit/16810f3e410bf35ed7e6e7412d517ea74c792c5d))
339-
- Move all the config files to root (#8033) ([769ea0b](https://github.com/discordjs/discord.js/commit/769ea0bfe78c4f1d413c6b397c604ffe91e39c6a))
340-
341-
## Testing
342-
343-
- **collection:** Improve coverage (#8222) ([a51f721](https://github.com/discordjs/discord.js/commit/a51f7215eca67a0f46fba8b2d706f7ec6f6dc228))
344-
345-
# [@discordjs/collection@0.7.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2022-06-04)
346-
347-
## Styling
348-
349-
- Cleanup tests and tsup configs ([6b8ef20](https://github.com/discordjs/discord.js/commit/6b8ef20cb3af5b5cfd176dd0aa0a1a1e98551629))
350-
351183
# [@discordjs/collection@0.6.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2022-04-17)
352184

353185
## Features

packages/collection/cliff.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ header = """
55
All notable changes to this project will be documented in this file.\n
66
"""
77
body = """
8+
{%- macro remote_url() -%}
9+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
10+
{%- endmacro -%}
811
{% if version %}\
912
# [{{ version | trim_start_matches(pat="v") }}]\
1013
{% if previous %}\
1114
{% if previous.version %}\
12-
(https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
15+
({{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }})\
1316
{% else %}\
14-
(https://github.com/discordjs/discord.js/tree/{{ version }})\
17+
({{ self::remote_url() }}/tree/{{ version }})\
1518
{% endif %}\
1619
{% endif %} \
1720
- ({{ timestamp | date(format="%Y-%m-%d") }})
@@ -24,7 +27,7 @@ body = """
2427
- {% if commit.scope %}\
2528
**{{commit.scope}}:** \
2629
{% endif %}\
27-
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
30+
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
2831
{% if commit.breaking %}\
2932
{% for breakingChange in commit.footers %}\
3033
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
@@ -59,5 +62,9 @@ commit_parsers = [
5962
filter_commits = true
6063
tag_pattern = "@discordjs/collection@[0-9]*"
6164
ignore_tags = ""
62-
topo_order = true
65+
topo_order = false
6366
sort_commits = "newest"
67+
68+
[remote.github]
69+
owner = "discordjs"
70+
repo = "discord.js"

0 commit comments

Comments
 (0)