Releases: discordjs/discord.js
Releases · discordjs/discord.js
@discordjs/collection@0.5.0
@discordjs/builders@0.12.0
13.6.0
13.5.1
@discordjs/voice@0.7.5
Bug Fixes
- postbuild script (644af95)
@discordjs/rest@0.2.0
Bug Fixes
- CDN#icon: remove
guild
prefixes (#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)
@discordjs/collection@0.4.0
@discordjs/builders@0.11.0
13.5.0
Bug Fixes
- GuildMemberManager: Nick endpoint (#7151) (d0c3961)
- Permissions: ToArray shouldn't check admin (#7144) (fc4292e)
- Remove deprecation warning on
Message#cleanContent
(#7143) (7e5f16b)
Features
- GuildMember: Add method to check timeout (#7146) (baacd6b)
- ClientOptions: WaitGuildTimeout amount client option (#6576) (2bfc638)
Refactor
13.4.0
Bug Fixes
- BaseMessageComponent: don't create new class instances (#7140) (e6f41b5)
- Make the followUp function error more clear (#7129) (b763dab)
- ActionsManager: revert to manual requires (#7034) (0193efa)
- GuildAuditLog: Remove
Promise
s in constructor (#7089) (9cf44d1) - GuildChannel: default to
this.rawPosition
inclone()
(#7057) (5fcda73) - InteractionCollector: handle thread (and parent) deletion (#7070) (b5cd288)
- MessageManager: Allow a string for
edit()
(#7033) (54f937d) - MessageManager: do not use
client.emojis
(#7039) (fd63139) - MessagePayload: prevent spread of
undefined
(#7029) (fabd343) - MessageReaction: Cache myself when
MessageReaction#me
istrue
. (#6956) (b001e19) - ReactionCollector: check for channel.threads (#7069) (3846f0d)
- ShardingManager: fix respawnAll not passing delay correctly (#7084) (de61fe4)
- StickerPack: Nullify
bannerId
(#7119) (6bb03f2) - avoid sending bot auth on token endpoints (#7022) (7efeff4)
- Interaction channel type should be
GuildTextBasedChannels
when in guild (#6998) (da86bd4) - webhook typeguards should use string comparisons (#7127) (645b3f8)
- Message: remove usage of
.deleted
(#7109) (a0fe0ac) - Sharding: properly handle errors in fetchClientValues (#6990) (c0ba2d4)
- StoreChannel: mark as deprecated (#7072) (5ec542d)
- Util: fix sorting for GuildChannels (#7002) (c07207f)
- VoiceState: set streaming to false when the stream ended (#6992) (fdb09cb)
Features
- add support for GuildScheduledEvent (#6493) (1316fd4)
- GuildMember: Add timeouts (#7104) (aa7c1b2)
- add
UserContextMenuInteraction
andMessageContextMenuInteraction
(#7003) (4fe063f) - add API error code 20029 (#7078) (f410536)
- Add API error code 50055 (#7068) (f028aea)
- Add API error code 50109 (#7112) (55960cc)
- export Sweepers (#7117) (b9b60a3)
- ApplicationCommand: add setX methods for easier editing (#7063) (7f980e3)
- ApplicationCommand: add support for min and max values (#6855) (c30a818)
- ApplicationFlags: add message content intent flags (#6888) (e94073a)
- Client: add global sweepers (#6825) (d1ef2f5)
- Guild: add premiumProgressbarEnabled (#6887) (552d89f)
- MessageAttachment: description (alt text) support (#6871) (5e0a7d5)
- Shard: add eval context (#7011) (77aff08)
- SnowflakeUtil: add
timestampFrom
(#7058) (8b200c0) - SystemChannelFlags: add new flag (#6870) (49e3ce2)
- ThreadChannel: add
ThreadChannel#viewable
(#6975) (db09d79) - ThreadManager: add slowmode option on thread creation (#6989) (493e4f9)
- add new activity flags (#6699) (47d74eb)