Releases: discordjs/discord.js
Releases · discordjs/discord.js
@discordjs/collection@2.1.1
@discordjs/builders@1.9.0
@discordjs/brokers@1.0.0
14.15.3
Bug Fixes
- Message: Properly compare
attachments
andembeds
(#10282) (a468ae8) - Throw error on no message id for
Message#fetchReference()
(#10295) (638b896) - ThreadChannel: Invalid owner fetch option (#10292) (27d0659)
- Action: Ensure all properties on
getChannel()
are passed (#10278) (92c1a51) - docs: Some link tags didn't resolve correctly (#10269) (914cc4b)
- actions: Handle missing poll object (#10266) (7816ec2)
Refactor
Typings
@discordjs/ws@1.1.1
@discordjs/builders@1.8.2
14.15.2
@discordjs/builders@1.8.1
14.15.1
14.15.0
Bug Fixes
- Message: Not crosspostable if has a poll (#10246) (a6b9f1b)
- actions: Always emit message create for own messages (#10211) (798f28c)
- Embed: Address
equals
method issue (#10152) (ddc927f) - types: Export
ReadonlyCollection
(#10184) (6cc5fa2) - Anchor link for events (0efd1be)
- resolveColor: Address case for numbers (#10115) (3755e66)
- Invert deletable message types list (#10093) (42bc5d2)
- BaseClient: Fall back to
userAgentAppendix
(#10113) (b16647e) - InteractionResponses: Check if ephemeral message flag is used (#10021) (62e31cb)
- Replace internal calls to Emoji#url (#10025) (941642a)
- Export "ESM" types when discord.js is imported in ESM land (#10009) (e412a22)
- website: Discord-api-types links, URL links and some minor doc issues (#9990) (57c414b)
- website: Cross package deprecated links (#9981) (802ec63)
- Minify mainlib docs json (#9963) (4b88306)
- website: Misc improvements (#9940) (b79351b)
Documentation
- Remove unused
Locale
typedef (#10191) (f1f2683) - ActionRow: Fix deprecated message (#10130) (f67da74)
- ApplicationCommandPermissionsManager: Remove incorrect comment (#10123) (e9d6547)
- Split docs.api.json into multiple json files (597340f)
- Convert comment into private remark (#10097) (bfc7bb5)
- BaseInteraction: Correct return type of
member
(#10096) (f48787e) - ThreadMember: Fix docblock async return type (#10058) (4824ac1)
- CategoryCreateChannelOptions: Update reference (#10031) (8ace6fa)
- resolvePartialEmoji: Add
@internal
to all overloads (#10033) (e245a39) - PermissionOverwriteManager:
PermissionsFlagsBit
typo (#10004) (b992019) - Fix links in @deprecated tags (#9976) (9868772)
Features
- MessageManager: Poll methods (#10239) (6cf094c)
- Consumable entitlements (#10235) (9978870)
- Polls (#10185) (a1aeaeb)
- ClientUser: Add support for setting bot banner (#10176) (de14c92)
- GuildBanManager: Add
bulkCreate()
method (#10182) (b6bdd57) - Local and preview detection (79fbda3)
- MessageCreateOptions: Add
enforceNonce
(#10129) (992aa67) - Add support for
using
keyword on discord.jsClient
andWebSocketManager
(#10063) (543d617) - Webhook: Allow setting
appliedTags
onsend()
(#10027) (33674be) - Premium application subscriptions (#9907) (c4fcee3)
- website: Show union members of type aliases (#10001) (a44ada6)
Performance
Refactor
- ThreadChannel: Use single thread member endpoint (#10136) (f500ad6)
- Docs (#10126) (18cce83)
- Remove usage of mixin on error classes (#10128) (f48cb2a)
- resolveColor: Prioritise number type check (#10116) (d4472f8)
- Messages: Improve
ColorConvert
error (#10108) (fc1f8ae) - formatters: Add support for object and name param in
formatEmoji()
(#10076) (7b8e0de) - Document relevant types as
@internal
(#9974) (2b8ac35) - ThreadMemberManager: #remove accepts UserResolvable (#10000) (179af38)
Typings
- Add
Poll
toMessage
(#10245) (cb961f5) - Generic for Webhook type (#10188) (980a2b7)
- Fix duplicate props in merged interfaces (#10160) (a1010c6)
- Update accessibility modifiers on constructors (#10147) (efa3cac)
- Builder.from: Fix wrong types (#10071) (bfbd62e)
- Use readonly array / collection types for user input (#10045) (bcd4c2c)
- InteractionReplyOptions: Allow setting
MessageFlags.SuppressNotifications
(#9199) (c89c343) - Replace Mixins with interface merging (#10094) (54106db)
- DirectoryChannel: Ensure directory channels cannot contain user mentions when stringified (#10043) (db56324)
- Change Awaitable to void (#10017) (1acc9ab)
- Omit unnecessary methods from .options (#10003) (17a6f5d)
- InteractionWebhook: Add
client
(#9997) (30f6a5f)