@discordjs/rest 0.5.0-dev.1654344278-a45bef4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,25 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- # [0.4.0](https://github.com/discordjs/discord.js/compare/@discordjs/rest@0.3.0...@discordjs/rest@0.4.0) (2022-04-17)
5
+ # [@discordjs/rest@0.5.0](https://github.com/discordjs/discord.js/compare/@discordjs/rest@0.4.0...@discordjs/rest@0.5.0) - (2022-06-04)
6
+
7
+ ## Bug Fixes
8
+
9
+ - **REST:** Remove dom types (#7922) ([e92b17d](https://github.com/discordjs/discord.js/commit/e92b17d8555164ff259e524efc6a26675660e5c2))
10
+ - Ok statusCode can be 200..299 (#7919) ([d1504f2](https://github.com/discordjs/discord.js/commit/d1504f2ae19816b3fadcdb3ad17facc863ed7529))
11
+
12
+ ## Features
13
+
14
+ - **rest:** Add guild member banner cdn url (#7973) ([97eaab3](https://github.com/discordjs/discord.js/commit/97eaab35d7383ecbbd93dc623ceda969286c1554))
15
+ - REST#raw (#7929) ([dfe449c](https://github.com/discordjs/discord.js/commit/dfe449c253b617e8f92c720a2f71135aa1601a65))
16
+ - **rest:** Use undici (#7747) ([d1ec8c3](https://github.com/discordjs/discord.js/commit/d1ec8c37ffb7fe3b63eaa8c382f22ca1fb348c9b))
17
+ - **REST:** Enable setting default authPrefix (#7853) ([679dcda](https://github.com/discordjs/discord.js/commit/679dcda9709376f37cc58a60f74d12d324d93e4e))
18
+
19
+ ## Styling
20
+
21
+ - Cleanup tests and tsup configs ([6b8ef20](https://github.com/discordjs/discord.js/commit/6b8ef20cb3af5b5cfd176dd0aa0a1a1e98551629))
22
+
23
+ # [@discordjs/rest@0.4.0](https://github.com/discordjs/discord.js/compare/@discordjs/rest@0.3.0...@discordjs/rest@0.4.0) - (2022-04-17)
6
24
 
7
25
  ## Bug Fixes
8
26
 
@@ -12,14 +30,10 @@ All notable changes to this project will be documented in this file.
12
30
  - Use png as extension for defaultAvatarURL (#7414) ([538e9ce](https://github.com/discordjs/discord.js/commit/538e9cef459d00d74b9bd6852da3ce2acac9bae5))
13
31
  - **rest:** Sublimit all requests on unhandled routes (#7366) ([733ac82](https://github.com/discordjs/discord.js/commit/733ac82d5dffabc622fb59e06d06e83396734dc6))
14
32
  - Fix some typos (#7393) ([92a04f4](https://github.com/discordjs/discord.js/commit/92a04f4d98f6c6760214034cc8f5a1eaa78893c7))
15
- - **rest:** Don't add empty query (#7308) ([d0fa5aa](https://github.com/discordjs/discord.js/commit/d0fa5aaa26d316608120bca3050e14eefbe2f93b))
16
- - **rest:** Use http agent when protocol is not https (#7309) ([d8ea572](https://github.com/discordjs/discord.js/commit/d8ea572fb8a51f2f6a902c4926e814017d115708))
17
- - `ref` delay for rate limited requests (#7239) ([ed0cfd9](https://github.com/discordjs/discord.js/commit/ed0cfd91edc3a2b23a34a8ecd9db38baa12b52fa))
18
33
 
19
34
  ## Documentation
20
35
 
21
36
  - Enhance /rest README (#7757) ([a1329bd](https://github.com/discordjs/discord.js/commit/a1329bd3ebafc6d5b5e2788ff082674f01b726f3))
22
- - Fix a typo and use milliseconds instead of ms (#7251) ([0dd56af](https://github.com/discordjs/discord.js/commit/0dd56afe1cdf16f1e7d9afe1f8c29c31d1833a25))
23
37
 
24
38
  ## Features
25
39
 
@@ -28,21 +42,13 @@ All notable changes to this project will be documented in this file.
28
42
  - Add support for module: NodeNext in TS and ESM (#7598) ([8f1986a](https://github.com/discordjs/discord.js/commit/8f1986a6aa98365e09b00e84ad5f9f354ab61f3d))
29
43
  - **builders:** Add attachment command option type (#7203) ([ae0f35f](https://github.com/discordjs/discord.js/commit/ae0f35f51d68dfa5a7dc43d161ef9365171debdb))
30
44
  - **cdn:** Add support for scheduled event image covers (#7335) ([ac26d9b](https://github.com/discordjs/discord.js/commit/ac26d9b1307d63e116b043505e5f925db7ed01aa))
31
- - Rest hash and handler sweeping (#7255) ([3bb4829](https://github.com/discordjs/discord.js/commit/3bb48298004d292214c6cb8f927c2fea78a42952))
32
- - Rest docs (#7281) ([9054f2f](https://github.com/discordjs/discord.js/commit/9054f2f7ad7f246431e5f53403535bf301c27a80))
33
45
 
34
46
  ## Refactor
35
47
 
36
48
  - **requestmanager:** Use timestampfrom (#7459) ([3298510](https://github.com/discordjs/discord.js/commit/32985109c3b7614d364007608f8c5af4bed753ae))
37
49
  - **files:** Remove redundant file property names (#7340) ([6725038](https://github.com/discordjs/discord.js/commit/67250382f99872a9edff99ebaa482ffa895b0c37))
38
- - **files:** File data can be much more than buffer (#7238) ([86ab526](https://github.com/discordjs/discord.js/commit/86ab526d493415b14b79b51d08c3677897d219ee))
39
- - **rest:** Rename attachment to file (#7199) ([c969cbf](https://github.com/discordjs/discord.js/commit/c969cbf6524093757d47108b6a55e62dcb210e8b))
40
-
41
- ## Testing
42
-
43
- - **voice:** Fix tests ([62c74b8](https://github.com/discordjs/discord.js/commit/62c74b8333066465e5bd295b8b102b35a506751d))
44
50
 
45
- # [0.3.0](https://github.com/discordjs/discord.js/compare/@discordjs/rest@0.2.0...@discordjs/rest@0.3.0) (2021-12-08)
51
+ # [@discordjs/rest@0.3.0](https://github.com/discordjs/discord.js/compare/@discordjs/rest@0.2.0...@discordjs/rest@0.3.0) - (2022-01-24)
46
52
 
47
53
  ## Bug Fixes
48
54
 
package/dist/index.js CHANGED
@@ -61,7 +61,7 @@ var require_package = __commonJS({
61
61
  format: "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
62
62
  docs: "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
63
63
  prepublishOnly: "yarn build && yarn lint && yarn test",
64
- changelog: "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
64
+ changelog: "git cliff --prepend ./CHANGELOG.md -l -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
65
65
  },
66
66
  main: "./dist/index.js",
67
67
  module: "./dist/index.mjs",
@@ -105,7 +105,7 @@ var require_package = __commonJS({
105
105
  "@discordjs/collection": "workspace:^",
106
106
  "@sapphire/async-queue": "^1.3.1",
107
107
  "@sapphire/snowflake": "^3.2.2",
108
- "discord-api-types": "^0.33.2",
108
+ "discord-api-types": "^0.33.3",
109
109
  tslib: "^2.4.0",
110
110
  undici: "^5.4.0"
111
111
  },
package/dist/index.mjs CHANGED
@@ -42,7 +42,7 @@ var require_package = __commonJS({
42
42
  format: "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
43
43
  docs: "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
44
44
  prepublishOnly: "yarn build && yarn lint && yarn test",
45
- changelog: "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
45
+ changelog: "git cliff --prepend ./CHANGELOG.md -l -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
46
46
  },
47
47
  main: "./dist/index.js",
48
48
  module: "./dist/index.mjs",
@@ -86,7 +86,7 @@ var require_package = __commonJS({
86
86
  "@discordjs/collection": "workspace:^",
87
87
  "@sapphire/async-queue": "^1.3.1",
88
88
  "@sapphire/snowflake": "^3.2.2",
89
- "discord-api-types": "^0.33.2",
89
+ "discord-api-types": "^0.33.3",
90
90
  tslib: "^2.4.0",
91
91
  undici: "^5.4.0"
92
92
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discordjs/rest",
3
- "version": "0.5.0-dev.1654344278-a45bef4",
3
+ "version": "0.5.0",
4
4
  "description": "The REST API for discord.js",
5
5
  "scripts": {
6
6
  "build": "tsup && tsc --emitDeclarationOnly --incremental",
@@ -9,7 +9,7 @@
9
9
  "format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
10
10
  "docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
11
11
  "prepublishOnly": "yarn build && yarn lint && yarn test",
12
- "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
12
+ "changelog": "git cliff --prepend ./CHANGELOG.md -l -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
13
13
  },
14
14
  "main": "./dist/index.js",
15
15
  "module": "./dist/index.mjs",
@@ -50,10 +50,10 @@
50
50
  },
51
51
  "homepage": "https://discord.js.org",
52
52
  "dependencies": {
53
- "@discordjs/collection": "^0.7.0-dev",
53
+ "@discordjs/collection": "^0.7.0",
54
54
  "@sapphire/async-queue": "^1.3.1",
55
55
  "@sapphire/snowflake": "^3.2.2",
56
- "discord-api-types": "^0.33.2",
56
+ "discord-api-types": "^0.33.3",
57
57
  "tslib": "^2.4.0",
58
58
  "undici": "^5.4.0"
59
59
  },
@@ -83,6 +83,5 @@
83
83
  },
84
84
  "publishConfig": {
85
85
  "access": "public"
86
- },
87
- "stableVersion": "0.5.0-dev"
86
+ }
88
87
  }