PistonBot
PistonBot copied to clipboard
Update dependency discord.js to v14.15.2
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
discord.js (source) | 14.0.1 -> 14.15.2 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
discordjs/discord.js (discord.js)
v14.15.2
Bug Fixes
v14.15.1
Bug Fixes
v14.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 <ContextMenuCommandInteraction>.options (#10003) (17a6f5d)
-
InteractionWebhook: Add
client
(#9997) (30f6a5f)
v14.14.1
Bug Fixes
-
Emoji:
id
set asundefined
edge case (#9953) (cc07a28) - BaseClient: Default in objects properly (#9952) (f93abf7)
Documentation
Refactor
Typings
v14.14.0
Bug Fixes
- Client: Ensure destroyed connections are not ready (#9942) (b5e23ec)
-
Webhook: Do not call
client.deleteWebhook
indelete
(#9786) (31d914e) - GuildManager#fetch: Inject shard id (#9921) (85753a9)
- Prevent 'undefined' debug message on intentional shard closure (#9846) (0e0b85b)
- Role: Calculate position correctly when rawPositions are equal (#9871) (0529b2a)
-
GuildScheduledEvent: Use
if...else
pattern and handle partials (#9802) (32d614c)
Documentation
- Message: Remove duplicated word 'of' in description (#9923) (85a78f9)
- GuildMember: Clarify display color (#9891) (e38d03f)
- Remove duplicate
APIEmoji
(#9880) (8cfadb6) - Consolidate API types (#9881) (44a3cbf)
- Remove
FileOptions
(#9855) (eaabcdf) - DiscordjsErrorCodes: Deprecate unused properties (#9790) (4588e07)
- ApplicationCommandManager: Id parameter can take options (#9664) (ed14135)
-
Attachment: Add MIME types link to
contentType
(#9824) (85b2498) - Fix "its" typo (#9825) (c50809e)
- GuildMember: Clarify timeout parameter wording (#9800) (8d97e2d)
- create-discord-bot: Support bun in create-discord-bot (#9798) (7157748)
Features
- Default select menu values (#9867) (4ff3ea4)
- Mainlib docs on new website (#9930) (da455bc)
- cleanContent: Add slash commands and emojis (#9809) (c2349d4)
-
Emoji: Add
imageURL()
(#9788) (b6c762c) - Onboarding mode and edit method (#9647) (7671a83)
- Support new application properties and patch endpoint (#9709) (1fe7247)
-
BaseChannel: Add
isThreadOnly()
(#9847) (699b232) -
StageInstanceManager: Add
guildScheduledEvent
tocreate()
(#8885) (931c3ed) - Support
default_thread_rate_limit_per_user
in channel creation (#9273) (1e5c14b) - Add media channels (#9662) (571aedd)
- Support widget image URL (#9782) (b6a2441)
- GuildAuditLogsEntry: Expose extra integrationType in relevant log types (#9796) (3109798)
- Add support for teams update (#9805) (c66636d)
- Presence: Expose sync_id in Activity (#9766) (485dd71)
Refactor
-
utils: Remove
mergeDefault
(#9938) (5b0aa92) - Use proper variable names in callbacks (#9840) (11f6955)
- GuildAuditLogsEntry: Abstract reduce logic into a new function (#9845) (19ea0ba)
- Stickers are free (no more "premium" packs) (#9791) (e02a59b)
Typings
- Partials: Add toString() method to supported Partials (#9835) (7422d9f)
-
MessageEditOptions: Correct
attachments
type (#9874) (2aa3250) -
UserContextMenuCommandInteraction: Nullify
targetMember
(#9844) (3c043d8) - Don't include dom types (#9831) (9dbc954)
- Client: Fix isReady narrowing (#9828) (6404c01)
v14.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
- GuildInvitableChannelResolvable: Allow forum channels (#9775) (727dc09)
- Make activity name required (#9765) (0a9a3ed)
- BaseButtonComponentData: Narrow component type (#9735) (a30d46c)
v14.12.1
Bug Fixes
v14.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)
-
BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
fetch
-
BREAKING CHANGE: The raw method of REST now returns a web compatible
Respone
object. -
BREAKING CHANGE: The
parseResponse
utility method has been updated to operate on a web compatibleResponse
object. - BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
-
BREAKING CHANGE:
DefaultRestOptions
used to contain a defaultagent
, which is now set tonull
instead.
-
BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
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)
v14.11.0
Bug Fixes
- WebSocketManager: Properly emit shard error events (#9521) (e627468)
- WebSocketManager: Emit raw ws events again (#9502) (c429763)
Documentation
Features
Performance
Refactor
Typings
v14.10.2
Bug Fixes
- Correct
isJSONEncodable()
import (#9495) (201b002) -
Client:
generateInvite()
scope validation (#9492) (b327f49)
v14.10.1
Bug Fixes
- Client: Spelling of InvalidScopesWithPermissions (ac9bf3a)
Refactor
v14.10.0
Bug Fixes
- ShardClientUtil: Fix client event names (#9474) (ad217cc)
- BaseClient: Prevent user agent mutation (#9425) (217e5d8)
- BitField: Use only enum names in iterating (#9357) (40d07fb)
- Use new permission name (#9274) (d2d27ce)
- Message#editable: Fix permissions check in locked threads (#9319) (d4c1fec)
- Fix external links (#9313) (a7425c2)
Documentation
- AutoModerationRule: Update docs (#9464) (1b15d31)
- APITypes: Document role & user select menu components (#9435) (c6ca5a8)
- BaseMessageOptions: Fix embeds and components (#9437) (5c52bb9)
- InteractionResponses: ShowModal docs change (#9434) (7d34100)
- Use ESM code in examples (#9427) (ce287f2)
- Generate static imports for types with api-extractor (98a76db)
- Options: Fix links and invalid syntax (#9322) (86e5f5a)
- Cleanup MessageCreateOptions and MessageReplyOptions (#9283) (300059c)
- Events: Document auto moderation events (#9342) (79bcdfa)
- Add
SnowflakeUtil
(#9371) (8ffcf77) - Use stable tag (#9343) (c0f2dd7)
- Remove
JSONEncondable
(#9344) (b2eec5f)
Features
- Attachment: Voice messages (#9392) (3e01f91)
- BaseInteraction: Support new channel payload (#9337) (29389e3)
- RoleTagData: Add guildConnections (#9366) (2dddbe1)
Performance
Refactor
- WebSocketManager: Use /ws package internally (#9099) (a9e0de4)
- Remove
fromInteraction
in internal channel creation (#9335) (794abe8)
Typings
- AutoModerationActionMetadataOptions: Make channel property optional (#9460) (d26df5f)
-
CategoryChannel: Ensure
parent
andparentId
arenull
(#9327) (8218ffc) - GuildTextBasedChannel: Remove unnecessary exclusion of forum channels (#9326) (7ff3d52)
v14.9.0
Bug Fixes
- Add support for new guild feature
GUILD_WEB_PAGE_VANITY_URL
(#9219) (de1aac6) - Resolving string bitfield (#9262) (7987565)
-
AutocompleteInteraction: Send
name_localizations
correctly (#9238) (1864d37) - Keep symbols in actions manager (#9293) (984bd55)
- scripts: Accessing tsComment (d8d5f31)
- ClientUser: No mutation on edit (#9259) (abd6ae9)
- Message#editable: Update editable check in threads locked (#9216) (22e880a)
-
ThreadManager: Add
members
and conditionally includehasMore
(#9164) (e9a8eb3) -
ThreadManager: Respect
cache
andforce
in fetching (#9239) (cc57563) -
TextBasedChannelTypes: Add
GuildStageVoice
(#9232) (51edba7)
Documentation
- Describe private properties (#8879) (2792e48)
- Differ
User#send
(#9251) (384b4d1) - Fix compare position example (#9272) (d16114c)
-
Role: Fix example for
comparePositionTo()
(#9270) (bc641fa) - Add more examples (#9252) (bf507ab)
-
FetchArchivedThreadOptions:
before
respectsarchive_timestamp
, not creation timestamp (#9240) (178c8dc) - Update
APISelectMenuComponent
(#9235) (56cf138)
Features
-
Guild: Add
max_stage_video_channel_users
(#8422) (34bc36a) - website: Render syntax and mdx on the server (#9086) (ee5169e)
- Add GuildBasedTextChannelTypes (#9234) (5f93dcc)
Refactor
- Call
GuildBanManager#create()
directly (#9263) (f340f3b) -
FetchThreadsOptions: Remove
active
(#9241) (519e163)
v14.8.0
Bug Fixes
- snowflake: Snowflakes length (#9144) (955e8fe)
- Actions: Inject built data by using a symbol (#9203) (a63ac88)
- Message#deletable: Add check for deletable message types (#9168) (e78b8ad)
-
Message:
bulkDeletable
permissions should be retrieved later for DMs (#9146) (a9495bd) -
AutoModerationActionExecution: Transform
action
(#9111) (9156a28) -
MessageReaction:
toJSON()
infinite recursion (#9070) (f268e1d) - ThreadChannel: Insert starter message from threads created in forum channels (#9100) (0b76ab4)
- ApplicationRoleConnectionMetadata: Export the class correctly (#9076) (071516c)
- Don't auth for interaction
showModal()
(#9046) (b803a9a) - WebSocketShard: Zombie connection fix (#8989) (876b181)
- Keep other properties in triggerMetadata (#8977) (d8dd197)
- escapeX: Emojis with underlines (#8945) (07b597d)
- WebSocketShard: Either start close timeout or emit destroyed but never both (#8956) (43ce2a5)
-
DMChannel:
recipientId
edge case (#8950) (7ce9909) - Return only boolean for
disabled
(#8965) (6614603) - Export missing
escapeX()
functions (#8944) (25c27ea) - WebSocketShard: Only cleanup the connection if a connection still exists (#8946) (5eab5fc)
- Add
@discordjs/formatters
to dependency list (#8939) (18b3a19) - resolveColor: Invalid colors (#8933) ([c76e170](https://togithub.com/discordjs/discord.js/commit/c76e17078602914c3e1d22
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.