Releases: discordjs/discord.js
Releases · discordjs/discord.js
@discordjs/rest@2.2.0
@discordjs/core@1.1.1
14.14.1
14.14.0
14.14.0 - (2023-11-12)
Bug Fixes
- Client: Ensure destroyed connections are not ready (#9942) (b5e23ec)
- Webhook: Do not call
client.deleteWebhook
indelete
(#9786) (31d914e) - GuildManager#fetch: Inject shard id (#9921) (85753a9)
- Prevent 'undefined' debug message on intentional shard closure (#9846) (0e0b85b)
- Role: Calculate position correctly when rawPositions are equal (#9871) (0529b2a)
- GuildScheduledEvent: Use
if...else
pattern and handle partials (#9802) (32d614c)
Documentation
- Message: Remove duplicated word 'of' in description (#9923) (85a78f9)
- GuildMember: Clarify display color (#9891) (e38d03f)
- Remove duplicate
APIEmoji
(#9880) (8cfadb6) - Consolidate API types (#9881) (44a3cbf)
- Remove
FileOptions
(#9855) (eaabcdf) - DiscordjsErrorCodes: Deprecate unused properties (#9790) (4588e07)
- ApplicationCommandManager: Id parameter can take options (#9664) (ed14135)
- Attachment: Add MIME types link to
contentType
(#9824) (85b2498) - Fix "its" typo (#9825) (c50809e)
- GuildMember: Clarify timeout parameter wording (#9800) (8d97e2d)
- create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)
Features
- Default select menu values (#9867) (4ff3ea4)
- Mainlib docs on new website (#9930) (da455bc)
- cleanContent: Add slash commands and emojis (#9809) (c2349d4)
- Emoji: Add
imageURL()
(#9788) (b6c762c) - Onboarding mode and edit method (#9647) (7671a83)
- Support new application properties and patch endpoint (#9709) (1fe7247)
- BaseChannel: Add
isThreadOnly()
(#9847) (699b232) - StageInstanceManager: Add
guildScheduledEvent
tocreate()
(#8885) (931c3ed) - Support
default_thread_rate_limit_per_user
in channel creation (#9273) (1e5c14b) - Add media channels (#9662) (571aedd)
- Support widget image URL (#9782) (b6a2441)
- GuildAuditLogsEntry: Expose extra integrationType in relevant log types (#9796) (3109798)
- Add support for teams update (#9805) (c66636d)
- Presence: Expose sync_id in Activity (#9766) (485dd71)
Refactor
- utils: Remove
mergeDefault
(#9938) (5b0aa92) - Use proper variable names in callbacks (#9840) (11f6955)
- GuildAuditLogsEntry: Abstract reduce logic into a new function (#9845) (19ea0ba)
- Stickers are free (no more "premium" packs) (#9791) (e02a59b)
Typings
13.17.1
13.17.0
13.17.0 - (2023-11-12)
Bug Fixes
- Export
AttachmentFlags
andRoleFlags
(#9924) (efc1536) - Action: Conditionally add recipient (#9925) (3d5d957)
- Action: Do not set undefined values (#9755) (65bbed8)
- types: Fixed CachedManager constructor arguments in type (#9761) (142db0e)
- readme: Test badge svg (#9919) (610bdaa)
- Role: Calculate position correctly when rawPositions are equal (#9872) (56b481b)
- ChannelUpdate: Check against unknown channels (#9698) (630b9d5)
Documentation
Features
- Client: Add guildAvailable event (#9692) (67dd30a)
- Attachment: Add flags (#9686) (2ac8be0)
- Role: Add flags (#9694) (a222e53)
- StageInstanceManager: Add
guildScheduledEvent
tocreate()
(#9024) (5f6a82d) - Support
default_thread_rate_limit_per_user
in channel creation (#9339) (759c0b0) - User avatar decorations (#9710) (cb11c56)
- Support new username system (#9634) (f9e9843)
- presence: Feature parity in image resolve (#9638) (85338ef)
- Safety alerts channel and mention raid protection (#9073) (5057f04)
- GuildAuditLogsEntry: Add missing channel property to extra (#9527) (c5a42ed)
Performance
Typings
create-discord-bot@0.2.3
create-discord-bot@0.2.2
@discordjs/ws@1.0.2
@discordjs/voice@0.16.1
@discordjs/voice@0.16.1 - (2023-11-12)
Bug Fixes
- TransformerGraph: Explicitly include input args for readable input cases instead of just for string input cases (#9793) (788888a)
- Fix external links (#9313) (a7425c2)
Documentation
- create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)
- Update Node.js requirement to 16.11.0 (#9764) (188877c)
- Include StreamType enum description in new docs (#9457) (36216c0)
- Generate static imports for types with api-extractor (98a76db)