Releases: discordjs/discord.js
Releases · discordjs/discord.js
@discordjs/voice@0.18.0
Features
- voice: Add new encryption methods, remove old methods (#10451) (9f8b9b1) by @nyapat
- BREAKING CHANGE: This library no longer supports using
tweetnacl
as an encryption library due to Discord deprecating the algorithms thattweetnacl
helped us support (read more here). Please migrate to one of:sodium-native
,sodium
,@stablelib/xchacha20poly1305
,@noble/ciphers
orlibsodium-wrappers
; unless your system supportsaes-256-gcm
(verify by runningrequire('node:crypto').getCiphers().includes('aes-256-gcm')
), in which case you can safely removetweetnacl
and not install anything else.
- BREAKING CHANGE: This library no longer supports using
Testing
New Contributors
14.16.3
14.16.2
Bug Fixes
- ApplicationCommand: Incorrect comparison in equals method (#10497) (3c74aa2) by @monbrey
- Type guard for sendable text-based channels (#10482) (dea6840) by @vladfrangu
Documentation
- Update discord documentation links (#10484) (799fa54) by @sdanialraza
- Message: Mark
interaction
as deprecated (#10481) (c13f18e) by @sdanialraza - ApplicationEmojiManager: Fix fetch example (#10480) (4594896) by @sdanialraza
Typings
14.16.1
14.16.0
Bug Fixes
- MessagePayload: Crash when resolving body (#10454) (dd795da)
- Shard: Add env, execArgv, and argv for worker-based shards (#10429) (b0f8df0)
- GuildAuditLogsEntry: Correct mapped
AuditLogChange
objects (#10438) (45f7e1a) - GuildMemberManager: Fix data type check for
add()
method (#10338) (ab8bf0f) - Consistent debug log spacing (#10349) (38c699b)
Documentation
- Correct documentation for BaseInteraction#inCachedGuild (#10456) (bddf018)
- Lowercase "image" URL (#10386) (785ec8f)
- Update rule trigger types (#9708) (757bed0)
Features
- User-installable apps (#10227) (fc0b6f7)
- Super reactions (#9336) (a5afc40)
- Use get sticker pack endpoint (#10445) (1b1ae2f)
- VoiceState: Add methods for fetching voice state (#10442) (9907ff9)
- Application emojis (#10399) (5d92525)
- Attachment: Add
title
(#10423) (c63bde9) - Add support for Automated Message nonce handling (#10381) (2ca187b)
- GuildAuditLogsEntry: Onboarding events (#9726) (3654efe)
- Premium buttons (#10353) (4f59b74)
- Message: Add
call
(#10283) (6803121) - Invite: Add
type
(#10280) (17d4c78) - User: Add
avatarDecorationData
(#9888) (3b5c600)
Refactor
- Use get guild role endpoint (#10443) (bba0e72)
- actions: Safer getChannel calls (#10434) (87776bb)
- GuildChannelManager: Remove redundant edit code (#10370) (9461045)
Typings
create-discord-bot@0.3.1
@discordjs/ws@2.0.0
Bug Fixes
- WebSocketShard: Buffer native zlib decompression payload (#10416) (defb083)
- WebSocketManager: Heartbeat event had outdated types (#10417) (5eabec1)
- Retry for EAI_AGAIN I/O error (#10383) (be04acd)
- Consistent debug log spacing (#10349) (38c699b)
Features
- WebsocketManager: Retroactive token setting (#10418) (de94eaf)
- WebSocketShard: Explicit time out network error handling (#10375) (093ac92)
Refactor
@discordjs/util@1.1.1
chore: bump major releases to node 20
@discordjs/rest@2.4.0
@discordjs/proxy@2.1.1
chore: bump major releases to node 20