---
title: "discord-py 2.7.1 Breaking Changes on PyPI | Since.dev"
description: "What each discord-py release removed, renamed or changed: 1,556 breaking changes in 16 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/discord-py
last_updated: 2026-12-04
---

# discord-py breaking changes

discord-py 2.7.1 (March 3, 2026) is its newest release with breaking changes, 3 of them. The first: Removed discord.state.ViewStore.remove_interaction_mapping. Every breaking API change we have recorded in discord-py on PyPI: 1,556 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.7.1`, released March 3, 2026. [Source repository](https://github.com/Rapptz/discord.py)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0.0](#v-1-0-0) to [2.7.1](#v-2-7-1): 1,262 breaking changes in 15 versions.

## discord-py 2.7.1 breaking changes

discord-py 2.7.1, released March 3, 2026: 3 breaking changes.

- **Removed** `discord.state.ViewStore.remove_interaction_mapping`  

ViewStore.remove_interaction_mapping was removed in discord.py 2.7.1 [pypi.org](https://pypi.org/project/discord.py/2.7.1/)
- **Signature changed** `discord.state.AutoShardedConnectionState.store_view`  

Was def store_view(self, view: BaseView, message_id: Optional\[int\] = None, interaction_id: Optional\[int\] = None) -> None; now def store_view(self, view: BaseView, message_id: Optional\[int\] = None) -> None. [pypi.org](https://pypi.org/project/discord.py/2.7.1/)
- **Signature changed** `discord.state.ConnectionState.store_view`  

Was def store_view(self, view: BaseView, message_id: Optional\[int\] = None, interaction_id: Optional\[int\] = None) -> None; now def store_view(self, view: BaseView, message_id: Optional\[int\] = None) -> None. [pypi.org](https://pypi.org/project/discord.py/2.7.1/)

## discord-py 2.7.0 breaking changes

discord-py 2.7.0, released February 27, 2026: 41 breaking changes.

- **Removed** `discord.http.HTTPClient.change_my_nickname`  

HTTPClient.change_my_nickname was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.primary_guild.Asset`  

discord.primary_guild.Asset was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.primary_guild.ConnectionState`  

discord.primary_guild.ConnectionState was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.primary_guild.PrimaryGuildPayload`  

discord.primary_guild.PrimaryGuildPayload was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.primary_guild.snowflake_time`  

discord.primary_guild.snowflake_time was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.types.gateway.AvatarDecorationData.asset`  

AvatarDecorationData.asset was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.types.gateway.AvatarDecorationData.sku_id`  

AvatarDecorationData.sku_id was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Removed** `discord.types.interactions.ModalSubmitComponentItemInteractionData`  

discord.types.interactions.ModalSubmitComponentItemInteractionData was removed in discord.py 2.7.0 [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Signature changed** `discord.app_commands.Group.interaction_check`  

Was async def interaction_check(self, interaction: Interaction, /) -> bool; now async def interaction_check(self, interaction: Interaction\[ClientT\], /) -> bool. [pypi.org](https://pypi.org/project/discord.py/2.7.0/)
- **Signature changed** `discord.app_commands.Group.on_error`  

Was async def on_error(self, interaction: Interaction, error: AppCommandError, /) -> None; now async def on_error(self, interaction: Interaction\[ClientT\], error: AppCommandError, /) -> None. [pypi.org](https://pypi.org/project/discord.py/2.7.0/)

And 31 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## discord-py 2.6.4 breaking changes

discord-py 2.6.4, released October 8, 2025: 16 breaking changes.

- **Removed** `discord.types.interactions.ModalSubmitStringSelectInteractionData`  

discord.types.interactions.ModalSubmitStringSelectInteractionData was removed in discord.py 2.6.4 [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.CogMeta.__new__`  

Was def \_\_new\_\_(cls, \*args: Any, \*\*kwargs: Unpack\[\_CogKwargs\]) -> CogMeta; now def \_\_new\_\_(cls, \*args: Any, \*\*kwargs: Any) -> CogMeta. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.Command.aliases`  

Was aliases: Union\[List\[str\], Tuple\[str\]\]; now aliases: Union\[List\[str\], Tuple\[str, ...\]\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.DefaultHelpCommand.dm_help`  

Was dm_help: bool; now dm_help: Optional\[bool\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.Group.aliases`  

Was aliases: Union\[List\[str\], Tuple\[str\]\]; now aliases: Union\[List\[str\], Tuple\[str, ...\]\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.HelpCommand.verify_checks`  

Was verify_checks: bool; now verify_checks: Optional\[bool\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.HybridCommand.aliases`  

Was aliases: Union\[List\[str\], Tuple\[str\]\]; now aliases: Union\[List\[str\], Tuple\[str, ...\]\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.HybridGroup.aliases`  

Was aliases: Union\[List\[str\], Tuple\[str\]\]; now aliases: Union\[List\[str\], Tuple\[str, ...\]\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.ext.commands.MinimalHelpCommand.dm_help`  

Was dm_help: bool; now dm_help: Optional\[bool\]. [pypi.org](https://pypi.org/project/discord.py/2.6.4/)
- **Signature changed** `discord.state.ViewStore.dispatch_modal`  

Was def dispatch_modal(self, custom_id: str, interaction: Interaction, components: List\[ModalSubmitComponentInteractionDataPayload\]) -> None; now def dispatch_modal(self, custom_id: str, interaction: Interaction, components... [pypi.org](https://pypi.org/project/discord.py/2.6.4/)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## discord-py 2.6.2 breaking changes

discord-py 2.6.2, released August 24, 2025: 2 breaking changes.

- **Signature changed** `discord.state.DynamicItem`  

Was class DynamicItem(Generic\[BaseT, V\], Item\[V\]); now class DynamicItem(Generic\[BaseT\], Item\[Union\[View, LayoutView\]\]). [pypi.org](https://pypi.org/project/discord.py/2.6.2/)
- **Signature changed** `discord.ui.DynamicItem`  

Was class DynamicItem(Generic\[BaseT, V\], Item\[V\]); now class DynamicItem(Generic\[BaseT\], Item\[Union\[View, LayoutView\]\]). [pypi.org](https://pypi.org/project/discord.py/2.6.2/)

## discord-py 2.6.1 breaking changes

discord-py 2.6.1, released August 24, 2025: 4 breaking changes.

- **Signature changed** `discord.state.DynamicItem`  

Was class DynamicItem(Generic\[BaseT\], Item\[Union\[View, LayoutView\]\]); now class DynamicItem(Generic\[BaseT, V\], Item\[V\]). [pypi.org](https://pypi.org/project/discord.py/2.6.1/)
- **Signature changed** `discord.ui.DynamicItem`  

Was class DynamicItem(Generic\[BaseT\], Item\[Union\[View, LayoutView\]\]); now class DynamicItem(Generic\[BaseT, V\], Item\[V\]). [pypi.org](https://pypi.org/project/discord.py/2.6.1/)
- **Signature changed** `discord.ui.Modal`  

Was class Modal(View); now class Modal(BaseView). [pypi.org](https://pypi.org/project/discord.py/2.6.1/)
- **Signature changed** `discord.ui.Modal.from_message`  

Was @classmethod def from_message(cls, message: Message, /, \*, timeout: Optional\[float\] = 180.0) -> View; now @classmethod def from_message(cls, message: Message, /, \*, timeout: Optional\[float\] = 180.0) -> Union\[View, LayoutView\]. [pypi.org](https://pypi.org/project/discord.py/2.6.1/)

## discord-py 2.6.0 breaking changes

discord-py 2.6.0, released August 18, 2025: 135 breaking changes.

- **Removed** `discord.http.View.__init_subclass__`  

View.\_\_init_subclass\_\_ was removed in discord.py 2.6.0 [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Removed** `discord.types.invite.IncompleteInvite.expires_at`  

IncompleteInvite.expires_at was removed in discord.py 2.6.0 [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Removed** `discord.types.invite.VanityInvite.expires_at`  

VanityInvite.expires_at was removed in discord.py 2.6.0 [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Removed** `discord.types.message.Component`  

discord.types.message.Component was removed in discord.py 2.6.0 [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Renamed** `discord.http.View`  

Use discord.http.BaseView instead. [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Renamed** `discord.state.AutoShardedConnectionState.get_reaction_emoji`  

Use AutoShardedConnectionState.get_emoji_from_partial_payload instead. [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Renamed** `discord.state.ConnectionState.get_reaction_emoji`  

Use ConnectionState.get_emoji_from_partial_payload instead. [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Renamed** `discord.state.View`  

Use discord.state.BaseView instead. [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Signature changed** `discord.abc.GuildChannel.create_invite`  

Was async def create_invite(self, \*, reason: Optional\[str\] = None, max_age: int = 0, max_uses: int = 0, temporary: bool = False, unique: bool = True, target_type: Optional\[InviteTarget\] = None, target_user: Optional\[User\] = None... [pypi.org](https://pypi.org/project/discord.py/2.6.0/)
- **Signature changed** `discord.abc.GuildChannel.set_permissions`  

Was async def set_permissions(self, target: Union\[Member, Role\], \*, overwrite: Any = \_undefined, reason: Optional\[str\] = None, \*\*permissions: Optional\[bool\]) -> None; now async def set_permissions(self, target: Union\[Member, Role\], \*... [pypi.org](https://pypi.org/project/discord.py/2.6.0/)

And 125 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

10 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### discord-py 2.5.1 breaking changes

discord-py 2.5.1, released March 4, 2025: 9 breaking changes.

- **Removed** `discord.types.embed.EmbedImage`  

discord.types.embed.EmbedImage was removed in discord.py 2.5.1 [pypi.org](https://pypi.org/project/discord.py/2.5.1/)
- **Removed** `discord.types.embed.EmbedThumbnail`  

discord.types.embed.EmbedThumbnail was removed in discord.py 2.5.1 [pypi.org](https://pypi.org/project/discord.py/2.5.1/)

And 7 more in this version.

### discord-py 2.5.0 breaking changes

discord-py 2.5.0, released February 18, 2025: 84 breaking changes.

- **Removed** `discord.http.HTTPClient.get_gateway`  

HTTPClient.get_gateway was removed in discord.py 2.5.0 [pypi.org](https://pypi.org/project/discord.py/2.5.0/)
- **Removed** `discord.types.gateway.MessageUpdateEvent.activity`  

MessageUpdateEvent.activity was removed in discord.py 2.5.0 [pypi.org](https://pypi.org/project/discord.py/2.5.0/)

And 82 more in this version.

### discord-py 2.4.0 breaking changes

discord-py 2.4.0, released June 22, 2024: 91 breaking changes.

- **Removed** `discord.gateway.DiscordVoiceWebSocket.from_client`  

DiscordVoiceWebSocket.from_client was removed in discord.py 2.4.0 [pypi.org](https://pypi.org/project/discord.py/2.4.0/)
- **Removed** `discord.gateway.KeepAliveHandler.daemon`  

KeepAliveHandler.daemon was removed in discord.py 2.4.0 [pypi.org](https://pypi.org/project/discord.py/2.4.0/)

And 89 more in this version.

### discord-py 2.3.0 breaking changes

discord-py 2.3.0, released June 12, 2023: 26 breaking changes.

- **Removed** `discord.interactions.Interaction.channel`  

Interaction.channel was removed in discord.py 2.3.0 [pypi.org](https://pypi.org/project/discord.py/2.3.0/)
- **Removed** `discord.types.activity.User.local`  

User.local was removed in discord.py 2.3.0 [pypi.org](https://pypi.org/project/discord.py/2.3.0/)

And 24 more in this version.

### discord-py 2.2.3 breaking changes

discord-py 2.2.3, released May 1, 2023: 1 breaking change.

- **Signature changed** `discord.types.gateway.GuildSticker.available`  

Was available: bool; now available: NotRequired\[bool\]. [pypi.org](https://pypi.org/project/discord.py/2.2.3/)

### discord-py 2.2.0 breaking changes

discord-py 2.2.0, released February 28, 2023: 51 breaking changes.

- **Removed** `discord.scheduled_event.ScheduledEvent.from_creation`  

ScheduledEvent.from_creation was removed in discord.py 2.2.0 [pypi.org](https://pypi.org/project/discord.py/2.2.0/)
- **Removed** `discord.state.Client`  

discord.state.Client was removed in discord.py 2.2.0 [pypi.org](https://pypi.org/project/discord.py/2.2.0/)

And 49 more in this version.

### discord-py 2.1.0 breaking changes

discord-py 2.1.0, released November 12, 2022: 26 breaking changes.

- **Removed** `discord.state.VocalGuildChannel`  

discord.state.VocalGuildChannel was removed in discord.py 2.1.0 [pypi.org](https://pypi.org/project/discord.py/2.1.0/)
- **Signature changed** `discord.automod.AutoModTrigger.__init__`  

Was def \_\_init\_\_(self, \*, type: Optional\[AutoModRuleTriggerType\] = None, keyword_filter: Optional\[List\[str\]\] = None, presets: Optional\[AutoModPresets\] = None, allow_list: Optional\[List\[str\]\] = None, mention_limit: Optional\[int\] = None) ->... [pypi.org](https://pypi.org/project/discord.py/2.1.0/)

And 24 more in this version.

### discord-py 2.0.1 breaking changes

discord-py 2.0.1, released August 27, 2022: 10 breaking changes.

- **Removed** `discord.abc.Snowflake.__slots__`  

Snowflake.\_\_slots\_\_ was removed in discord.py 2.0.1 [pypi.org](https://pypi.org/project/discord.py/2.0.1/)
- **Signature changed** `discord.app_commands.CommandTree.on_error`  

Was async def on_error(self, interaction: Interaction, error: AppCommandError) -> None; now async def on_error(self, interaction: Interaction, error: AppCommandError, /) -> None. [pypi.org](https://pypi.org/project/discord.py/2.0.1/)

And 8 more in this version.

### discord-py 2.0.0 breaking changes

discord-py 2.0.0, released August 18, 2022: 763 breaking changes.

- **Removed** `discord.__main__.bot_template`  

discord.\_\_main\_\_.bot_template was removed in discord.py 2.0.0 [pypi.org](https://pypi.org/project/discord.py/2.0.0/)
- **Removed** `discord.__main__.cog_extras`  

discord.\_\_main\_\_.cog_extras was removed in discord.py 2.0.0 [pypi.org](https://pypi.org/project/discord.py/2.0.0/)

And 761 more in this version.

### discord-py 1.0.0 breaking changes

discord-py 1.0.0, released April 8, 2019: 294 breaking changes.

- **Removed** `discord.activity.Activity.instance`  

Activity.instance was removed in discord.py 1.0.0 [pypi.org](https://pypi.org/project/discord.py/1.0.0/)
- **Removed** `discord.activity.Activity.secrets`  

Activity.secrets was removed in discord.py 1.0.0 [pypi.org](https://pypi.org/project/discord.py/1.0.0/)

And 292 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
