|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file.
|
4 | 4 |
|
| 5 | +# [@discordjs/rest@2.0.1](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-08-17) |
| 6 | + |
| 7 | +## Documentation |
| 8 | + |
| 9 | +- Update Node.js requirement to 16.11.0 (#9764) ([188877c](https://github.com/discordjs/discord.js/commit/188877c50af70f0d5cffb246620fa277435c6ce6)) |
| 10 | + |
| 11 | +# [@discordjs/rest@2.0.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-07-31) |
| 12 | + |
| 13 | +## Features |
| 14 | + |
| 15 | +- No-de-no-de, now with extra buns (#9683) ([386f206](https://github.com/discordjs/discord.js/commit/386f206caf74a04c426799af9796ca96dcb37056)) |
| 16 | + - **BREAKING CHANGE:** The REST and RequestManager classes now extend AsyncEventEmitter |
| 17 | +from `@vladfrangu/async_event_emitter`, which aids in cross-compatibility |
| 18 | +between Node, Deno, Bun, CF Workers, Vercel Functions, etc. |
| 19 | + - **BREAKING CHANGE:** DefaultUserAgentAppendix has been adapted to support multiple |
| 20 | +different platforms (previously mentioned Deno, Bun, CF Workers, etc) |
| 21 | + - **BREAKING CHANGE:** the entry point for `@discordjs/rest` will now differ |
| 22 | +in non-node-like environments (CF Workers, etc.) |
| 23 | + - **Co-authored-by: ** Suneet Tipirneni <[email protected]> |
| 24 | + - **Co-authored-by: ** Jiralite <[email protected]> |
| 25 | + - **Co-authored-by: ** suneettipirneni <[email protected]> |
| 26 | +- User avatar decorations (#8914) ([8d97017](https://github.com/discordjs/discord.js/commit/8d9701745840e23854e8f0b057d21cb10e7d1d54)) |
| 27 | +- Support new username system (#9512) ([1ab60f9](https://github.com/discordjs/discord.js/commit/1ab60f9da4d6b7ea144fa05b97b029a4bfaeede2)) |
| 28 | + |
| 29 | +## Refactor |
| 30 | + |
| 31 | +- **REST:** Remove double classing (#9722) ([8f4256d](https://github.com/discordjs/discord.js/commit/8f4256db8a52ac08359d0b3436f41b641ac4e382)) |
| 32 | + - **BREAKING CHANGE:** `REST` and `RequestManager` have been combined, most of the properties, methods, and events from both classes can now be found on `REST` |
| 33 | + - **BREAKING CHANGE:** `REST#raw` has been removed in favor of `REST#queueRequest` |
| 34 | + - **BREAKING CHANGE:** `REST#getAgent` has been removed in favor of `REST#agent` |
| 35 | + |
| 36 | +* chore: update for /rest changes |
| 37 | +- **rest:** Switch api to fetch-like and provide strategies (#9416) ([cdaa0a3](https://github.com/discordjs/discord.js/commit/cdaa0a36f586459f1e5ede868c4250c7da90455c)) |
| 38 | + - **BREAKING CHANGE:** NodeJS v18+ is required when using node due to the use of global `fetch` |
| 39 | + - **BREAKING CHANGE:** The raw method of REST now returns a web compatible `Respone` object. |
| 40 | + - **BREAKING CHANGE:** The `parseResponse` utility method has been updated to operate on a web compatible `Response` object. |
| 41 | + - **BREAKING CHANGE:** Many underlying internals have changed, some of which were exported. |
| 42 | + - **BREAKING CHANGE:** `DefaultRestOptions` used to contain a default `agent`, which is now set to `null` instead. |
| 43 | + |
| 44 | +# [@discordjs/rest@1.7.1](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-05-01) |
| 45 | + |
| 46 | +## Bug Fixes |
| 47 | + |
| 48 | +- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2)) |
| 49 | + |
| 50 | +## Documentation |
| 51 | + |
| 52 | +- Reference package names properly (#9426) ([d6bca9b](https://github.com/discordjs/discord.js/commit/d6bca9bb4d976dc069a5039250db7d5b3e9142ef)) |
| 53 | +- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9)) |
| 54 | + |
5 | 55 | # [@discordjs/rest@2.0.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2023-07-31)
|
6 | 56 |
|
7 | 57 | ## Features
|
|
0 commit comments