Releases: discordjs/discord.js
Releases · discordjs/discord.js
@discordjs/util@1.0.2
@discordjs/util@1.0.2 - (2023-11-12)
Documentation
@discordjs/rest@2.1.0
@discordjs/rest@2.1.0 - (2023-11-12)
Bug Fixes
Documentation
- Fix "its" typo (#9825) (c50809e)
- create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)
Features
@discordjs/proxy@2.0.2
@discordjs/formatters@0.3.3
@discordjs/core@1.1.0
@discordjs/core@1.1.0 - (2023-11-12)
Documentation
- stickers: Reveal link in the website (#9870) (332b624)
- ApplicationsAPI: Fix
getCurrent()
options description (#9816) (23a6424)
Features
- Client: AsyncIterator-returning method for fetching members (#9771) (fffe70a)
- Add guild member (#9877) (c051ed9)
- Onboarding mode and edit method (#9647) (7671a83)
- Support new application properties and patch endpoint (#9709) (1fe7247)
- Implement
GET
current application (#9797) (50106c7)
Refactor
@discordjs/collection@2.0.0
@discordjs/collection@2.0.0 - (2023-11-12)
Documentation
Features
- Return entries instead of values in toJSON method (#9345) (defeee5)
- Align some methods with the Change By Copy proposal (#9207) (65966ae)
- BREAKING CHANGE: The
sorted
method has been renamed totoSorted
- BREAKING CHANGE: The
- Align some methods with the Set Methods proposal (#8890) (3b8df63)
- BREAKING CHANGE: The
intersect
method has been renamed tointersection
- BREAKING CHANGE: The
difference
method has been renamed tosymmetricDifference
- BREAKING CHANGE: The
subtract
method has been renamed todifference
- BREAKING CHANGE: The
- Support
findLast
andreduceRight
methods (#9573) (ac64508)
@discordjs/builders@1.7.0
@discordjs/builders@1.7.0 - (2023-11-12)
Features
14.13.0
Bug Fixes
- Action: Do not add the client user as a recipient (#9774) (24fbb11)
- DMChannel: Correct partial typo (#9773) (c1ff545)
- CachedManager: Allow overriding constructor for makeCache (#9763) (346fa57)
- types: Fixed CachedManager constructor arguments in type (#9761) (b3c85d3)
- Action: Do not set
undefined
values (#9755) (d8e3755)
Documentation
- EmbedBuilder:
@readonly
length (#9778) (8f572a6) - WebhookEditOptions: Add all of the types (#9776) (d5be424)
- Update Node.js requirement to 16.11.0 (#9764) (188877c)
Features
- Client: Add deleteWebhook method (#9777) (d90ba8d)
- ClientPresence: Allow setting activity state (#9743) (9ed1b59)
- ClientApplication: Approximate guild count and new
GET
route (#9713) (632a9b4) - Role: Add
flags
(#9694) (3b18e5b) - Attachment: Add
flags
(#9686) (692f0fc) - Add
Client#webhooksUpdate
(#9732) (0de071d)
Typings
14.12.1
14.12.0
Bug Fixes
- ChannelUpdate: Check against unknown channels (#9697) (7fb91c5)
- Action: Use existing recipients if available (#9653) (719e54a)
- Everyone role members (#9685) (0803eb5)
awaitMessageComponent
withMessageComponentInteraction
s (#8598) (b61e4fb)- ThreadManager: Fix internal crash upon conditionally resolving thread members (#9648) (a6dbe16)
- User: Check global name in equals (#9631) (8f3bd38)
- WebSocketManager: Await WebSocket destroy (#9519) (75308f2)
- Client: Safe call for possibly null WebSocket (#9600) (24a6149)
- ThreadManager: Ensure
fetchActive()
only returns active threads in a channel (#9568) (53aa24d) - LimitedCollection: Allow items to be stored if keepOverLimit is true when maxSize is 0 (#9534) (9345d1b)
- AutocompleteInteraction: Prevent snake casing of locales (#9565) (7196fe3)
Documentation
- Change
Channel
toBaseChannel
(#9718) (e5effb6) - BaseChannel: Remove
APIChannel
(#9717) (125405f) - BuildersSelectMenuOption: Update link (#9690) (ede9f4e)
- ClientOptions: Change default value of sweepers in docs (#9591) (911e6ef)
- Client: Correct invite gateway permission checks (#9597) (e1b6eee)
- Fix broken links to new documentation (#9563) (d01e8aa)
Features
- Add ws option support for "buildIdentifyThrottler" (#9728) (6307f81)
- Client: Add
guildAvailable
event (#9692) (3c85fb2) - User avatar decorations (#8914) (8d97017)
- Add silent option to ShardingManager (#9506) (df40dcd)
- EmbedBuilder: Add
.length
(#8682) (53c17e0) - Guild onboarding (#9120) (dc73c93)
- Add resume event in shard (#9650) (a73d54e)
- presence: Re-introduce image resolving for other platforms (#9637) (73c2f8a)
- Add message to send resume event to shard (#9626) (a873ec1)
- Support new username system (#9512) (1ab60f9)
- GuildAuditLogsEntry#extra: Add missing
channel
property (#9518) (2272321)
Performance
- Channel: Linear speed position getter (#9497) (09b0382)
- Role: Improve
members
getter (#9529) (37181ab)
Refactor
- User: Remove deprecation warning from tag (#9660) (cf8012c)
- GuildMember: Make
_roles
property non-enumerable (#9387) (46167a7) - rest: Switch api to fetch-like and provide strategies (#9416) (cdaa0a3)
Typings
- MessageManager: Allow comparison of messages again (#9612) (a48d0ef)
- AutoModerationActionExecution: Add forum channels as a possible type in
channel()
(#9623) (d64330a) - ModalSubmitFields: Components is an array (#9406) (1cab79f)
- Use
readonly
arrays andconst
type parameters in places (#9641) (cd69868) - BaseInteraction:
appPermissions
notnull
in guilds (#9601) (6c2242f)