aiogram breaking changes
Updated December 4, 2026
On this page
Latest version 3.34.0, released November 22, 2026. Source repository
Its 3.32.0 release requires Python 3.11 or later. Python end of life dates.
aiogram 3.33.0 breaking changes
- Removed
aiogram.types.update.lru_cache
aiogram.types.update.lru_cache was removed in aiogram 3.33.0 pypi.org - Removed
aiogram.utils.mypy_hacks
The module is removed, and Update.event_type no longer keeps the last 128 updates alive in a cache. Stop importing aiogram.utils.mypy_hacks. pypi.org - Behavior changed
A validation error now reports only the first invalid item of a list instead of one error per item. github.com - Behavior changed
Updates that fail validation on the webhook path are now answered with 200 and passed to errors handlers as an ErrorEvent, instead of returning 500 or failing in a background task. github.com - Behavior changed
A filter that returns a coroutine instead of a result now raises TypeError rather than matching every update. Declare async filters with async def. github.com - Behavior changed
aiogram.exceptions.TelegramNetworkError
The message and traceback now show the token as <bot id>:***, and the original exception is available as .original. Code that parses the error text may need changes. github.com - Behavior changed
and_f
Later filters in and_f now receive the data returned by earlier filters, so negated checks on that data may now reject updates that previously passed. github.com - Behavior changed
CallbackData.pack
Values that would shift into the next field when packed with a self-overlapping multi-character separator now raise instead of packing. Check the values you pack with such separators. github.com - Behavior changed
dp.update.filter
Existing dp.update.filter registrations now reject updates they previously let through, and the data they return is passed to handlers. Review these filters after upgrading. github.com - Configuration changed
Projects pinning an older pydantic must upgrade to 2.8.0 or later. github.com
aiogram 3.32.0 breaking changes
- Removed
Python 3.10 is no longer supported; the supported range is now 3.11 to 3.15. Users on Python 3.10 must upgrade their interpreter before installing this release. github.com - Removed
aiogram.client.default.dataclass_kwargs
aiogram.client.default.dataclass_kwargs was removed in aiogram 3.32.0 pypi.org - Removed
aiogram.exceptions.TelegramMethod.remove_unset
TelegramMethod.remove_unset was removed in aiogram 3.32.0 pypi.org - Removed
aiogram.methods.base.TelegramMethod.remove_unset
TelegramMethod.remove_unset was removed in aiogram 3.32.0 pypi.org - Removed
aiogram.methods.base.UNSET_TYPE
aiogram.methods.base.UNSET_TYPE was removed in aiogram 3.32.0 pypi.org - Removed
aiogram.types.base.TelegramObject.remove_unset
TelegramObject.remove_unset was removed in aiogram 3.32.0 pypi.org - Removed
aiogram.types.TelegramObject.remove_unset
TelegramObject.remove_unset was removed in aiogram 3.32.0 pypi.org - Behavior changed
Link URLs and attribute values produced by text decorations are now escaped, so output strings may differ from earlier versions. github.com - Behavior changed
CallbackData
An explicitly passed None for an optional CallbackData field with a default is now kept rather than replaced by the default. Code passing None may now get different values. github.com - Behavior changed
CommandStart
Deep-link payloads that are not valid base64 are now rejected by CommandStart instead of being accepted. Code that relied on malformed payloads passing through must handle the rejection. github.com
And 304 more in this version. Sign up to see every change
aiogram 3.31.0 breaking changes
- Signature changed
aiogram.Bot.copy_messages
Was async def copy_messages(self, chat_id: ChatIdUnion, from_chat_id: ChatIdUnion, message_ids: list[int], message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, disable_notification: bool | None = None... pypi.org - Signature changed
aiogram.Bot.edit_ephemeral_message_caption
Was async def edit_ephemeral_message_caption(self, chat_id: ChatIdUnion, receiver_user_id: int, ephemeral_message_id: int, caption: str | None = None, parse_mode: str | None = None, caption_entities: list[MessageEntity] | None = None... pypi.org - Signature changed
aiogram.Bot.edit_ephemeral_message_text
Was async def edit_ephemeral_message_text(self, chat_id: ChatIdUnion, receiver_user_id: int, ephemeral_message_id: int, text: str, parse_mode: str | None = None, entities: list[MessageEntity] | None = None, link_preview_options... pypi.org - Signature changed
aiogram.Bot.edit_story
Was async def edit_story(self, business_connection_id: str, story_id: int, content: InputStoryContentUnion, caption: str | None = None, parse_mode: str | None = None, caption_entities: list[MessageEntity] | None = None, areas... pypi.org - Signature changed
aiogram.Bot.forward_messages
Was async def forward_messages(self, chat_id: ChatIdUnion, from_chat_id: ChatIdUnion, message_ids: list[int], message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, disable_notification: bool | None = None... pypi.org - Signature changed
aiogram.Bot.gift_premium_subscription
Was async def gift_premium_subscription(self, user_id: int, month_count: int, star_count: int, text: str | None = None, text_parse_mode: str | None = None, text_entities: list[MessageEntity] | None = None, request_timeout: int | None =... pypi.org - Signature changed
aiogram.Bot.post_story
Was async def post_story(self, business_connection_id: str, content: InputStoryContentUnion, active_period: int, caption: str | None = None, parse_mode: str | None = None, caption_entities: list[MessageEntity] | None = None, areas... pypi.org - Signature changed
aiogram.Bot.promote_chat_member
Was async def promote_chat_member(self, chat_id: ChatIdUnion, user_id: int, is_anonymous: bool | None = None, can_manage_chat: bool | None = None, can_delete_messages: bool | None = None, can_manage_video_chats: bool | None = None... pypi.org - Signature changed
aiogram.Bot.repost_story
Was async def repost_story(self, business_connection_id: str, from_chat_id: int, from_story_id: int, active_period: int, post_to_chat_page: bool | None = None, protect_content: bool | None = None, request_timeout: int | None = None) ->... pypi.org - Signature changed
aiogram.Bot.send_animation
Was async def send_animation(self, chat_id: ChatIdUnion, animation: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, duration: int | None = None... pypi.org
And 358 more in this version. Sign up to see every change
aiogram 3.30.0 breaking changes
- Signature changed
aiogram.Bot.send_animation
Was async def send_animation(self, chat_id: ChatIdUnion, animation: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, duration: int | None = None... pypi.org - Signature changed
aiogram.Bot.send_audio
Was async def send_audio(self, chat_id: ChatIdUnion, audio: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, caption: str | None = None... pypi.org - Signature changed
aiogram.Bot.send_contact
Was async def send_contact(self, chat_id: ChatIdUnion, phone_number: str, first_name: str, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, last_name: str | None... pypi.org - Signature changed
aiogram.Bot.send_document
Was async def send_document(self, chat_id: ChatIdUnion, document: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, thumbnail: InputFile | None =... pypi.org - Signature changed
aiogram.Bot.send_live_photo
Was async def send_live_photo(self, chat_id: ChatIdUnion, live_photo: InputFileUnion, photo: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None... pypi.org - Signature changed
aiogram.Bot.send_location
Was async def send_location(self, chat_id: ChatIdUnion, latitude: float, longitude: float, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, horizontal_accuracy... pypi.org - Signature changed
aiogram.Bot.send_message
Was async def send_message(self, chat_id: ChatIdUnion, text: str, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, parse_mode: str | Default | None =... pypi.org - Signature changed
aiogram.Bot.send_photo
Was async def send_photo(self, chat_id: ChatIdUnion, photo: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, caption: str | None = None... pypi.org - Signature changed
aiogram.Bot.send_sticker
Was async def send_sticker(self, chat_id: ChatIdUnion, sticker: InputFileUnion, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None, emoji: str | None = None... pypi.org - Signature changed
aiogram.Bot.send_venue
Was async def send_venue(self, chat_id: ChatIdUnion, latitude: float, longitude: float, title: str, address: str, business_connection_id: str | None = None, message_thread_id: int | None = None, direct_messages_topic_id: int | None = None... pypi.org
And 224 more in this version. Sign up to see every change
aiogram 3.29.1 breaking changes
- Signature changed
aiogram.Bot.edit_message_text
Was async def edit_message_text(self, text: str, business_connection_id: str | None = None, chat_id: ChatIdUnion | None = None, message_id: int | None = None, inline_message_id: str | None = None, parse_mode: str | Default | None =... pypi.org - Signature changed
aiogram.client.bot.Bot.edit_message_text
Was async def edit_message_text(self, text: str, business_connection_id: str | None = None, chat_id: ChatIdUnion | None = None, message_id: int | None = None, inline_message_id: str | None = None, parse_mode: str | Default | None =... pypi.org - Signature changed
aiogram.methods.edit_message_text.EditMessageText.__init__
Was def __init__(__pydantic__self__, *, text: str, business_connection_id: str | None = None, chat_id: ChatIdUnion | None = None, message_id: int | None = None, inline_message_id: str | None = None, parse_mode: str | Default | None =... pypi.org - Signature changed
aiogram.methods.edit_message_text.EditMessageText.text
Was text: str; now text: str | None. pypi.org - Signature changed
aiogram.methods.EditMessageText.__init__
Was def __init__(__pydantic__self__, *, text: str, business_connection_id: str | None = None, chat_id: ChatIdUnion | None = None, message_id: int | None = None, inline_message_id: str | None = None, parse_mode: str | Default | None =... pypi.org - Signature changed
aiogram.methods.EditMessageText.text
Was text: str; now text: str | None. pypi.org - Signature changed
aiogram.types.chat_full_info.ChatFullInfo.__init__
Was def __init__(__pydantic__self__, *, id: int, type: str, accent_color_id: int, max_reaction_count: int, accepted_gift_types: AcceptedGiftTypes, title: str | None = None, username: str | None = None, first_name: str | None = None... pypi.org - Signature changed
aiogram.types.chat_join_request.ChatJoinRequest.__init__
Was def __init__(__pydantic__self__, *, chat: Chat, from_user: User, user_chat_id: int, date: DateTime, bio: str | None = None, invite_link: ChatInviteLink | None = None, **__pydantic_kwargs: Any) -> None; now def... pypi.org - Signature changed
aiogram.types.ChatFullInfo.__init__
Was def __init__(__pydantic__self__, *, id: int, type: str, accent_color_id: int, max_reaction_count: int, accepted_gift_types: AcceptedGiftTypes, title: str | None = None, username: str | None = None, first_name: str | None = None... pypi.org - Signature changed
aiogram.types.ChatJoinRequest.__init__
Was def __init__(__pydantic__self__, *, chat: Chat, from_user: User, user_chat_id: int, date: DateTime, bio: str | None = None, invite_link: ChatInviteLink | None = None, **__pydantic_kwargs: Any) -> None; now def... pypi.org
And 8 more in this version. Sign up to see every change
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.