discord.js breaking changes
Updated December 4, 2026
On this page
Latest version 14.28.1, released November 3, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 13.0.0 to 14.28.0: 1,427 breaking changes in 10 versions.
- From 12.0.0 to 14.28.0: 1,786 breaking changes in 11 versions.
discord.js 14.28.0 breaking changes
- Signature changed
ApplicationCommandNonOptions.type
Was type: Exclude<CommandOptionNonChoiceResolvableType, ApplicationCommandOptionType>; now type: Exclude<CommandOptionNonChoiceResolvableType, ApplicationCommandOptionType.Attachment>. npmjs.com - Signature changed
ApplicationCommandNonOptionsData.type
Was type: CommandOptionNonChoiceResolvableType; now type: Exclude<CommandOptionNonChoiceResolvableType, ApplicationCommandOptionType.Attachment>. npmjs.com - Signature changed
ApplicationCommandOptionData
Was type ApplicationCommandOptionData = | ApplicationCommandSubGroupData | ApplicationCommandNonOptionsData | ApplicationCommandChannelOptionData | ApplicationCommandAutocompleteNumericOptionData |... npmjs.com - Signature changed
Role
Was class Role extends Base; now class Role extends BaseRole. npmjs.com
discord.js 14.27.0 breaking changes
- Removed
RoleData.colors
RoleData.colors was removed in discord.js 14.27.0 npmjs.com - Signature changed
ApplicationCommandPermissionIdResolvable
Was type ApplicationCommandPermissionIdResolvable = | GuildChannelResolvable | RoleResolvable | UserResolvable | ChannelPermissionConstant | RolePermissionConstant; now type ApplicationCommandPermissionIdResolvable = GuildChannelResolvable... npmjs.com - Signature changed
AutocompleteFocusedOption.type
Was type: | ApplicationCommandOptionType.String | ApplicationCommandOptionType.Integer | ApplicationCommandOptionType.Number; now type: ApplicationCommandOptionType.String | ApplicationCommandOptionType.Integer |... npmjs.com - Signature changed
BaseInteraction.authorizingIntegrationOwners
Was public authorizingIntegrationOwners: APIAuthorizingIntegrationOwnersMap; now public authorizingIntegrationOwners: AuthorizingIntegrationOwners. npmjs.com - Signature changed
BaseMessageOptions.files
Was files?: readonly (| BufferResolvable | Stream | JSONEncodable<APIAttachment> | Attachment | AttachmentBuilder | AttachmentPayload)[]; now files?: readonly (BufferResolvable | Stream | JSONEncodable<APIAttachment> | Attachment |... npmjs.com - Signature changed
ColorResolvable
Was type ColorResolvable = | keyof typeof Colors | 'Random' | readonly [red: number, green: number, blue: number] | number | HexColorString; now type ColorResolvable = keyof typeof Colors | 'Random' | readonly [red: number, green: number... npmjs.com - Signature changed
CommandOptionChoiceResolvableType
Was type CommandOptionChoiceResolvableType = | ApplicationCommandOptionType.String | CommandOptionNumericResolvableType; now type CommandOptionChoiceResolvableType = ApplicationCommandOptionType.String | CommandOptionNumericResolvableType. npmjs.com - Signature changed
CommandOptionNumericResolvableType
Was type CommandOptionNumericResolvableType = | ApplicationCommandOptionType.Number | ApplicationCommandOptionType.Integer; now type CommandOptionNumericResolvableType = ApplicationCommandOptionType.Number |... npmjs.com - Signature changed
CommandOptionSubOptionResolvableType
Was type CommandOptionSubOptionResolvableType = | ApplicationCommandOptionType.Subcommand | ApplicationCommandOptionType.SubcommandGroup; now type CommandOptionSubOptionResolvableType = ApplicationCommandOptionType.Subcommand |... npmjs.com - Signature changed
ContainerComponentData
Was interface ContainerComponentData<ComponentType extends JSONEncodable<APIComponentInContainer> | ComponentInContainerData = | JSONEncodable<APIComponentInContainer> | ComponentInContainerData> extends BaseComponentData; now interface... npmjs.com
And 22 more in this version. Sign up to see every change
discord.js 14.26.0 breaking changes
- Signature changed
ComponentInLabelData
Was type ComponentInLabelData = | StringSelectMenuComponentData | TextInputComponentData | UserSelectMenuComponentData | ChannelSelectMenuComponentData | RoleSelectMenuComponentData | MentionableSelectMenuComponentData |... npmjs.com - Signature changed
DMChannel.recipientId
Was public recipientId: Snowflake; now readonly recipientId: Snowflake. npmjs.com - Signature changed
ModalData
Was type ModalData = FileUploadModalData | SelectMenuModalData | TextInputModalData; now type ModalData = | CheckboxGroupModalData | CheckboxModalData | FileUploadModalData | RadioGroupModalData | SelectMenuModalData | TextInputModalData. npmjs.com - Signature changed
PartialDMChannel.recipientId
Was public recipientId: Snowflake; now readonly recipientId: Snowflake. npmjs.com
discord.js 14.24.1 breaking changes
- Removed
FileUploadModalData.files
FileUploadModalData.files was removed in discord.js 14.24.1 npmjs.com - Signature changed
FileUploadComponentData.required
Was required?: number; now required?: boolean. npmjs.com - Signature changed
LabelModalData.component
Was component: readonly ModalData[]; now component: ModalData. npmjs.com
discord.js 14.24.0 breaking changes
- Signature changed
ComponentInLabelData
Was type ComponentInLabelData = | StringSelectMenuComponentData | TextInputComponentData | UserSelectMenuComponentData | ChannelSelectMenuComponentData | RoleSelectMenuComponentData | MentionableSelectMenuComponentData; now type... npmjs.com - Signature changed
ModalData
Was type ModalData = SelectMenuModalData | TextInputModalData; now type ModalData = FileUploadModalData | SelectMenuModalData | TextInputModalData. npmjs.com
discord.js 14.23.0 breaking changes
- Removed
BaseModalData.customId
BaseModalData.customId was removed in discord.js 14.23.0 npmjs.com - Signature changed
ActionRowModalData
Was interface ActionRowModalData; now interface ActionRowModalData extends BaseModalData<ComponentType.ActionRow>. npmjs.com - Signature changed
ActionRowModalData.type
Was type: ComponentType.ActionRow; now type: Type. npmjs.com - Signature changed
AllowedPartial
Was type AllowedPartial = | User | Channel | GuildMember | Message | MessageReaction | GuildScheduledEvent | ThreadMember | SoundboardSound; now type AllowedPartial = | User | Channel | GuildMember | Message | MessageReaction |... npmjs.com - Signature changed
BaseModalData
Was interface BaseModalData; now interface BaseModalData<Type extends ComponentType>. npmjs.com - Signature changed
BaseModalData.type
Was type: ComponentType; now type: Type. npmjs.com - Signature changed
ClientEvents.messageDeleteBulk
Was messageDeleteBulk: [messages: ReadonlyCollection<Snowflake, OmitPartialGroupDMChannel<Message | PartialMessage>>, channel: GuildTextBasedChannel]; now messageDeleteBulk: [messages: ReadonlyCollection<Snowflake, Message<true> |... npmjs.com - Signature changed
ClientEvents.messagePollVoteAdd
Was messagePollVoteAdd: [pollAnswer: PollAnswer, userId: Snowflake]; now messagePollVoteAdd: [pollAnswer: PollAnswer | PartialPollAnswer, userId: Snowflake]. npmjs.com - Signature changed
ClientEvents.messagePollVoteRemove
Was messagePollVoteRemove: [pollAnswer: PollAnswer, userId: Snowflake]; now messagePollVoteRemove: [pollAnswer: PollAnswer | PartialPollAnswer, userId: Snowflake]. npmjs.com - Signature changed
CommandInteractionResolvedData
Was interface CommandInteractionResolvedData<Cached extends CacheType = CacheType>; now interface CommandInteractionResolvedData<Cached extends CacheType = CacheType> extends BaseInteractionResolvedData<Cached>. npmjs.com
And 19 more in this version. Sign up to see every change
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
discord.js 14.22.0 breaking changes
- Behavior changed
ThreadChannel.name
Thread names are no longer trimmed of surrounding whitespace, so code relying on trimmed names may see different values. github.com - Signature changed
ApplicationEmoji.animated
Was public animated: boolean | null; now public animated: boolean. npmjs.com
And 37 more in this version.
discord.js 14.21.0 breaking changes
- Removed
ClientUser
The release stops assigning a token on ClientUser, so code that reads a token from the client user may no longer find one. github.com - Signature changed
ClientEvents.guildSoundboardSoundCreate
Was guildSoundboardSoundCreate: [soundboardSound: SoundboardSound]; now guildSoundboardSoundCreate: [soundboardSound: GuildSoundboardSound]. npmjs.com
And 3 more in this version.
discord.js 14.20.0 breaking changes
- Removed
CommandInteraction.options
CommandInteraction.options was removed in discord.js 14.20.0 npmjs.com - Signature changed
ApplicationCommandData
Was type ApplicationCommandData = | UserApplicationCommandData | MessageApplicationCommandData | ChatInputApplicationCommandData; now type ApplicationCommandData = | UserApplicationCommandData | MessageApplicationCommandData |... npmjs.com
And 1 more in this version.
discord.js 14.0.0 breaking changes
- Removed
ActivitiesOptions.state
ActivitiesOptions.state was removed in discord.js 14.0.0 npmjs.com - Removed
Activity.id
Activity.id was removed in discord.js 14.0.0 npmjs.com
And 1,304 more in this version.
discord.js 13.0.0 breaking changes
- Removed
'discord.js'
'discord.js' was removed in discord.js 13.0.0 npmjs.com - Removed
APIMessage.split
The APIMessage#split method was removed in this release, so code calling it must be updated. github.com
And 357 more in this version.
discord.js 12.0.0 breaking changes
- Removed
Userbot support is gone with no replacement listed. github.com - Removed
discord.js now requires Node.js 10.2.0 or later, so older Node versions can no longer run it. github.com
And 759 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.