Releases: discordjs/discord.js
Releases · discordjs/discord.js
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)
[email protected]
@discordjs/[email protected]
Bug Fixes
Documentation
- Remove duplicate word in comment (#10244) (96169ad)
- Split docs.api.json into multiple json files (597340f)
- Remove utf-8-validate (#10059) (7e12bee)
Features
- ws: Support for custom worker messaging (#10241) (728164e)
- Local and preview detection (79fbda3)
- Add support for
using
keyword on discord.jsClient
andWebSocketManager
(#10063) (543d617) - Use globally available WebSocket client in runtimes that have it (#10042) (319ef9a)
Refactor
@discordjs/[email protected]
Bug Fixes
- Minify mainlib docs json (#9963) (4b88306)
- TransformerGraph: Explicitly include input args for readable input cases instead of just for string input cases (#9793) (788888a)
- Fix external links (#9313) (a7425c2)
Documentation
- Split docs.api.json into multiple json files (597340f)
- 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)
Features
- Local and preview detection (79fbda3)
Refactor
@discordjs/[email protected]
@discordjs/[email protected]
@discordjs/[email protected]
@discordjs/[email protected]
Bug Fixes
- Faces: Escape backslash in
Shrug
(#10156) (0f9017e) - escape:* Dont escape urls (#9958) (0f1e02b)
- Deprecate
underscore
in favor ofunderline
(#10054) (461948c) - Minify mainlib docs json (#9963) (4b88306)
Documentation
- Split docs.api.json into multiple json files (597340f)
Features
- Local and preview detection (79fbda3)
Refactor
@discordjs/[email protected]
Bug Fixes
Documentation
Features
- Consumable entitlements (#10235) (9978870)
- Polls (#10185) (a1aeaeb)
- GuildsAPI: Bulk ban users (#10202) (bfc3b10)
- Local and preview detection (79fbda3)
- guild: Add
with_counts
to getting guilds (#10143) (8c2abab) - Premium application subscriptions (#9907) (c4fcee3)