mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
12 KiB
12 KiB
Changelog
All notable changes to this project will be documented in this file.
@discordjs/rest@0.6.0 - (2022-07-17)
Documentation
- Add codecov coverage badge to readmes (#8226) (f6db285)
Features
- builder: Add max min length in string option (#8214) (96c8d21)
- Codecov (#8219) (f10f4cd)
- docgen: Update typedoc (b3346f4)
- Website (#8043) (127931d)
- docgen: Typescript support (3279b40)
- Docgen package (#8029) (8b979c0)
- Use vitest instead of jest for more speed (8d8e6c0)
- Add scripts package for locally used scripts (f2ae1f9)
Refactor
- rest: Add content-type(s) to uploads (#8290) (103a358)
- collection: Remove default export (#8053) (16810f3)
- Move all the config files to root (#8033) (769ea0b)
@discordjs/rest@0.5.0 - (2022-06-04)
Bug Fixes
Features
- rest: Add guild member banner cdn url (#7973) (97eaab3)
- REST#raw (#7929) (dfe449c)
- rest: Use undici (#7747) (d1ec8c3)
- REST: Enable setting default authPrefix (#7853) (679dcda)
Styling
- Cleanup tests and tsup configs (6b8ef20)
@discordjs/rest@0.4.0 - (2022-04-17)
Bug Fixes
- gateway: Use version 10 (#7689) (8880de0)
- RequestHandler: Only reset tokens for authenticated 401s (#7508) (b9ff7b0)
- ci: Ci error (#7454) (0af9bc8)
- Use png as extension for defaultAvatarURL (#7414) (538e9ce)
- rest: Sublimit all requests on unhandled routes (#7366) (733ac82)
- Fix some typos (#7393) (92a04f4)
Documentation
- Enhance /rest README (#7757) (a1329bd)
Features
- Add
makeURLSearchParamsutility function (#7744) (8eaec11) - Add API v10 support (#7477) (72577c4)
- Add support for module: NodeNext in TS and ESM (#7598) (8f1986a)
- builders: Add attachment command option type (#7203) (ae0f35f)
- cdn: Add support for scheduled event image covers (#7335) (ac26d9b)
Refactor
- requestmanager: Use timestampfrom (#7459) (3298510)
- files: Remove redundant file property names (#7340) (6725038)
@discordjs/rest@0.3.0 - (2022-01-24)
Bug Fixes
- rest: Don't add empty query (#7308) (d0fa5aa)
- rest: Use http agent when protocol is not https (#7309) (d8ea572)
refdelay for rate limited requests (#7239) (ed0cfd9)
Documentation
- Fix a typo and use milliseconds instead of ms (#7251) (0dd56af)
Features
Refactor
- files: File data can be much more than buffer (#7238) (86ab526)
- rest: Rename attachment to file (#7199) (c969cbf)
Testing
- voice: Fix tests (62c74b8)
0.2.0-canary.0 (2021-12-08)
Bug Fixes
- CDN#icon: remove
guildprefixes (#67) (8882686) - Cdn: make parameters immutable (#84) (3105b61)
- CDN: use correct types (#86) (64b02d4)
- Rest: lint errors (53c0cce)
- use hash instead of animatedHash for default avatar test (#74) (4852838)
Features
- CDN#guildIcon: implement dynamic logic (#53) (c4b2803)
- CDN: add role icon endpoint (#64) (4d7d692)
- CDN: add sticker endpoints (#60) (3b714ba)
- CDN: guild member avatars (#68) (90c25ad)
- Errors: show data sent when an error occurs (#72) (3e2edc8)
- expose https agent options (#82) (7f1c9be)
- RateLimits: optionally error on ratelimits (#77) (a371f0b)
- RequestManager: support setting global headers in options (#70) (d1758c7)
- Requests: add attachment keys and form data for stickers (#81) (7c2b0c0)
- Rest: add response and request events (#85) (c3aba56)
- REST: change api version to v9 (#62) (4c980e6)
- Rest: improve global rate limit and invalid request tracking (#51) (b73cc06)
- Rest: use native Node.js AbortController (#66) (3b53910)
- SequentialHandler: add more info to debug when rate limit was hit (#78) (a4e404b)