Releases: discordjs/discord.js
Releases · discordjs/discord.js
13.1.0
Bug Fixes
- Constants: fix CDN endpoint typings (#6332) (47d2ef3)
- ContextMenuInteraction: store message as raw value (#6400) (d9456a1)
- Guild:
preferredLocale
to always be a string (#6402) (4a64662) - GuildMemberRoleManager: typo (#6335) (d87299b)
- Managers: fix typo in unsupported warning (#6338) (917e71a)
- StageInstance: Ensure
discoverableDisabled
is notundefined
(#6395) (dce8fc7) - Util: remove truthy check before isNaN check (#6358) (3c17939)
- WidgetMember: Default to
null
and notundefined
(#6399) (44bbfa5)
Features
- CommandInteractionResolvedData: access to "raw" resolved data (#6384) (fff887b)
- GuildManager: allow setting with_counts to false (#6407) (14aea12)
- GuildMemberManager: add 'list' method (#6403) (2bf0970)
- Utils: add additional formatters (#6388) (cd40292)
- ContextMenus: right-clickybois (context menu support for ApplicationCommand and CommandInteraction) (#6176) (0266f28)
- Threads: max autoArchiveDuration option (#6304) (394d486)
13.0.1
13.0.0
Changelog: https://github.com/discordjs/discord.js/blob/master/CHANGELOG.md#1300-2021-08-06
For breaking changes please reference: https://discordjs.guide/additional-info/changes-in-v13.html
12.5.3
12.5.2
12.5.1
12.5.0
Bug Fixes
- Guild: fetch member if already in the guild (#4967) (643f96c)
- GuildMemberUpdate: cache incoming members & use partials if enabled (#4986) (2e940e6)
- MessageReaction: add client property to typings (#5003) (042e071), closes #5002
- MessageReaction*Action: correctly cache incoming members and users (#4969) (8b91ac5)
- PackageLock: reinstall GitHub docgen dev dependency (#4958) (ed8b3cc)
- Shard: don't pass event arguments to exit handler (#4957) (adf2e87)
- User: only assign to bot initially or if info is actually present (#4990) (eaecd0e)
Features
12.4.1
12.4.0
Bug Fixes
- Action: Don't crash when partials are disabled (#4822) (8fa3a89)
- Action: Sanity-Check if Discord includes all required data (#4841) (4e79e39)
- Actions: Avoid crash in InviteCreate with unknown channel (#4882) (dd12912)
- ESM: add missing exports (#4911) (4bbe716)
- Guild: cache fetched widget data (#4760) (7ba9440)
- GuildChannel: Default
parentID
tonull
(#4881) (6e4308b) - GuildChannel: make setTopic argument nullable (#4875) (b9ad510)
- GuildEmojiCreate: Prevent double fire from emoji creation (#4863) (6261dd6)
- GuildEmojiManager: check for guild in methods that use it (#4886) (728b3f9)
- GuildMember: properly check permissions for hasPermissions (#4677) (7db6978)
- GuildMemberManager: options.roles on 'prune' (#4838) (a45cc11)
- GuildMemberManager: Use actually random nonce in fetch (#4884) (937153a)
- Message: use Promise#reject instead of Throw on Message#delete (#4818) (1e63f37)
- MessageManager: throw if delete param is not MessageResolvable (#4825) (13d64e6)
- Partials: Use more user objects available from the gateway (#4791) (eeb4c14)
- Rest: resolved a regression, added retried AbortError (#4852) (d234165)
- Shard: avoid caching null child in eval/fetchClientValue (#4823) (77c0788)
- Typing: change NodeJS.Timer into NodeJS.Timeout (#4755) (405b487)
- Typings: bot cannot be null (#4719) (e0e2711)
- Typings: remove Partial types from some events (#4781) (a28754b)
- Util: throw token invalid for fetching rec. shard amount (#4779) (77b6a7d)
- *: correctly import extendable classes (#4744) (6aab9c3)
Features
- ActivityTypes: add Competing (type 5) (#4824) (9c76129)
- Channel: add isText() type guard (#4745) (b0ab37d)
- Client: allow options for generateInvite (#4741) (727b29c)
- Guild: add includeApplications option for fetchIntegrations (#4762) (3141f7c)
- GuildManager: add AFK and system channel options in create (#4837) (f2bbad3)
- Message: add messageEditHistoryMaxSize to limit stored msg edits (#4867) (c412cd7)
- Message: add support for crossposting (#4105) (bcb7c72)
- Message: allow custom emoji format for react (#4895) (30808f9)
- NewsChannel: add support for following (#4805) (f83b3d7)
- Rest: switch queue to AsyncQueue (#4835) (32fe72f)
- UserFlags: add renamed UserFlags (#4761) (f973163)