From ad28ce96895f9f47efa49f2a9ddbc339502ae965 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Sat, 6 Jul 2024 20:54:30 +0300 Subject: [PATCH] Bump version --- .apiversion | 2 +- CHANGES.rst | 48 ++++++++++++++++++++++++++++++++++++++++ CHANGES/1519.doc.rst | 1 - CHANGES/1520.bugfix.rst | 1 - CHANGES/1525.feature.rst | 1 - CHANGES/1533.feature.rst | 30 ------------------------- README.rst | 2 +- aiogram/__meta__.py | 4 ++-- 8 files changed, 52 insertions(+), 37 deletions(-) delete mode 100644 CHANGES/1519.doc.rst delete mode 100644 CHANGES/1520.bugfix.rst delete mode 100644 CHANGES/1525.feature.rst delete mode 100644 CHANGES/1533.feature.rst diff --git a/.apiversion b/.apiversion index c382960e..38abeb20 100644 --- a/.apiversion +++ b/.apiversion @@ -1 +1 @@ -7.5 +7.6 diff --git a/CHANGES.rst b/CHANGES.rst index 26a91a13..7c39814b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,54 @@ Changelog .. towncrier release notes start +3.9.0 (2024-07-06) +=================== + +Features +-------- + +- Added ChatMember resolution tool and updated 2.x migration guide. + `#1525 `_ +- Added full support of `Bot API 7.6 `_ + + - Added the classes :class:`aiogram.types.paid_media.PaidMedia`, + :class:`aiogram.types.paid_media_info.PaidMediaInfo`, + :class:`aiogram.types.paid_media_preview.PaidMediaPreview`, + :class:`aiogram.types.paid_media_photo.PaidMediaPhoto` + and :class:`aiogram.types.paid_media_video.PaidMediaVideo`, + containing information about paid media. + - Added the method :class:`aiogram.methods.send_paid_media.SendPaidMedia` + and the classes :class:`aiogram.types.input_paid_media.InputPaidMedia`, + :class:`aiogram.types.input_paid_media_photo.InputPaidMediaPhoto` + and :class:`aiogram.types.input_paid_media_video.InputPaidMediaVideo`, + to support sending paid media. + - Documented that the methods :class:`aiogram.methods.copy_message.CopyMessage` + and :class:`aiogram.methods.copy_messages.CopyMessages` cannot be used to copy paid media. + - Added the field :code:`can_send_paid_media` to the class + :class:`aiogram.types.chat_full_info.ChatFullInfo`. + - Added the field :code:`paid_media` to the classes + :class:`aiogram.types.message.Message` and + :class:`aiogram.types.external_reply_info.ExternalReplyInfo`. + - Added the class + :class:`aiogram.types.transaction_partner_telegram_ads.TransactionPartnerTelegramAds`, + containing information about Telegram Star transactions involving the Telegram Ads Platform. + - Added the field :code:`invoice_payload` to the class + :class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`, + containing the bot-specified invoice payload. + - Changed the default opening mode for Direct Link Mini Apps. + - Added support for launching Web Apps via t.me link in the class + :class:`aiogram.types.menu_button_web_app.MenuButtonWebApp`. + - Added the field :code:`section_separator_color` to the class :code:`ThemeParams`. + `#1533 `_ + + +Bugfixes +-------- + +- Fixed event context resolving for the callback query that is coming from the business account + `#1520 `_ + + 3.8.0 (2024-06-19) =================== diff --git a/CHANGES/1519.doc.rst b/CHANGES/1519.doc.rst deleted file mode 100644 index ec223720..00000000 --- a/CHANGES/1519.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Corrected typo. diff --git a/CHANGES/1520.bugfix.rst b/CHANGES/1520.bugfix.rst deleted file mode 100644 index 19e41b64..00000000 --- a/CHANGES/1520.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed event context resolving for the callback query that is coming from the business account diff --git a/CHANGES/1525.feature.rst b/CHANGES/1525.feature.rst deleted file mode 100644 index a8c03aca..00000000 --- a/CHANGES/1525.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added ChatMember resolution tool and updated 2.x migration guide. diff --git a/CHANGES/1533.feature.rst b/CHANGES/1533.feature.rst deleted file mode 100644 index 89315c4e..00000000 --- a/CHANGES/1533.feature.rst +++ /dev/null @@ -1,30 +0,0 @@ -Added full support of `Bot API 7.6 `_ - -- Added the classes :class:`aiogram.types.paid_media.PaidMedia`, - :class:`aiogram.types.paid_media_info.PaidMediaInfo`, - :class:`aiogram.types.paid_media_preview.PaidMediaPreview`, - :class:`aiogram.types.paid_media_photo.PaidMediaPhoto` - and :class:`aiogram.types.paid_media_video.PaidMediaVideo`, - containing information about paid media. -- Added the method :class:`aiogram.methods.send_paid_media.SendPaidMedia` - and the classes :class:`aiogram.types.input_paid_media.InputPaidMedia`, - :class:`aiogram.types.input_paid_media_photo.InputPaidMediaPhoto` - and :class:`aiogram.types.input_paid_media_video.InputPaidMediaVideo`, - to support sending paid media. -- Documented that the methods :class:`aiogram.methods.copy_message.CopyMessage` - and :class:`aiogram.methods.copy_messages.CopyMessages` cannot be used to copy paid media. -- Added the field :code:`can_send_paid_media` to the class - :class:`aiogram.types.chat_full_info.ChatFullInfo`. -- Added the field :code:`paid_media` to the classes - :class:`aiogram.types.message.Message` and - :class:`aiogram.types.external_reply_info.ExternalReplyInfo`. -- Added the class - :class:`aiogram.types.transaction_partner_telegram_ads.TransactionPartnerTelegramAds`, - containing information about Telegram Star transactions involving the Telegram Ads Platform. -- Added the field :code:`invoice_payload` to the class - :class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`, - containing the bot-specified invoice payload. -- Changed the default opening mode for Direct Link Mini Apps. -- Added support for launching Web Apps via t.me link in the class - :class:`aiogram.types.menu_button_web_app.MenuButtonWebApp`. -- Added the field :code:`section_separator_color` to the class :code:`ThemeParams`. diff --git a/README.rst b/README.rst index 5f46965a..71c9e92a 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ Features - Asynchronous (`asyncio docs `_, :pep:`492`) - Has type hints (:pep:`484`) and can be used with `mypy `_ - Supports `PyPy `_ -- Supports `Telegram Bot API 7.5 `_ and gets fast updates to the latest versions of the Bot API +- Supports `Telegram Bot API 7.6 `_ and gets fast updates to the latest versions of the Bot API - Telegram Bot API integration code was `autogenerated `_ and can be easily re-generated when API gets updated - Updates router (Blueprints) - Has Finite State Machine diff --git a/aiogram/__meta__.py b/aiogram/__meta__.py index 98a2cc90..2463588f 100644 --- a/aiogram/__meta__.py +++ b/aiogram/__meta__.py @@ -1,2 +1,2 @@ -__version__ = "3.8.0" -__api_version__ = "7.5" +__version__ = "3.9.0" +__api_version__ = "7.6"