From 6aba60155c9228b0654e389c07623ec8724b0ee9 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Fri, 16 Aug 2024 00:46:41 +0300 Subject: [PATCH] Bump version --- CHANGES.rst | 39 +++++++++++++++++++++++++++++++++++++++ CHANGES/1451.feature.rst | 1 - CHANGES/1474.feature.rst | 1 - CHANGES/1507.misc.rst | 1 - CHANGES/1560.feature.rst | 19 ------------------- aiogram/__meta__.py | 2 +- 6 files changed, 40 insertions(+), 23 deletions(-) delete mode 100644 CHANGES/1451.feature.rst delete mode 100644 CHANGES/1474.feature.rst delete mode 100644 CHANGES/1507.misc.rst delete mode 100644 CHANGES/1560.feature.rst diff --git a/CHANGES.rst b/CHANGES.rst index 627c7f84..de7075f6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,45 @@ Changelog .. towncrier release notes start +3.12.0 (2024-08-16) +==================== + +Features +-------- + +- Added **message_thread_id** parameter to **message.get_url()**. + `#1451 `_ +- Added getting user from `chat_boost` with source `ChatBoostSourcePremium` in `UserContextMiddleware` for `EventContext` + `#1474 `_ +- Added full support of `Bot API 7.8 `_ + + - Added the ability to send paid media to any chat. + - Added the parameter :code:`business_connection_id` to the method + :class:`aiogram.methods.send_paid_media.SendPaidMedia`, + allowing bots to send paid media on behalf of a business account. + - Added the field :code:`paid_media` to the class + :class:`aiogram.types.transaction_partner_user.TransactionPartnerUser` + for transactions involving paid media. + - Added the method + :class:`aiogram.methods.create_chat_subscription_invite_link.CreateChatSubscriptionInviteLink`, + allowing bots to create subscription invite links. + - Added the method + :class:`aiogram.methods.edit_chat_subscription_invite_link.EditChatSubscriptionInviteLink`, + allowing bots to edit the name of subscription invite links. + - Added the field :code:`until_date` to the class + :class:`aiogram.types.chat_member_member.ChatMemberMember` for members with an active subscription. + - Added support for paid reactions and the class + :class:`aiogram.types.reaction_type_paid.ReactionTypePaid`. + `#1560 `_ + + +Misc +---- + +- Improved performance of StatesGroup + `#1507 `_ + + 3.11.0 (2024-08-09) ==================== diff --git a/CHANGES/1451.feature.rst b/CHANGES/1451.feature.rst deleted file mode 100644 index 42780540..00000000 --- a/CHANGES/1451.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added **message_thread_id** parameter to **message.get_url()**. diff --git a/CHANGES/1474.feature.rst b/CHANGES/1474.feature.rst deleted file mode 100644 index a7a8c904..00000000 --- a/CHANGES/1474.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added getting user from `chat_boost` with source `ChatBoostSourcePremium` in `UserContextMiddleware` for `EventContext` diff --git a/CHANGES/1507.misc.rst b/CHANGES/1507.misc.rst deleted file mode 100644 index d8824003..00000000 --- a/CHANGES/1507.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of StatesGroup diff --git a/CHANGES/1560.feature.rst b/CHANGES/1560.feature.rst deleted file mode 100644 index 060495df..00000000 --- a/CHANGES/1560.feature.rst +++ /dev/null @@ -1,19 +0,0 @@ -Added full support of `Bot API 7.8 `_ - -- Added the ability to send paid media to any chat. -- Added the parameter :code:`business_connection_id` to the method - :class:`aiogram.methods.send_paid_media.SendPaidMedia`, - allowing bots to send paid media on behalf of a business account. -- Added the field :code:`paid_media` to the class - :class:`aiogram.types.transaction_partner_user.TransactionPartnerUser` - for transactions involving paid media. -- Added the method - :class:`aiogram.methods.create_chat_subscription_invite_link.CreateChatSubscriptionInviteLink`, - allowing bots to create subscription invite links. -- Added the method - :class:`aiogram.methods.edit_chat_subscription_invite_link.EditChatSubscriptionInviteLink`, - allowing bots to edit the name of subscription invite links. -- Added the field :code:`until_date` to the class - :class:`aiogram.types.chat_member_member.ChatMemberMember` for members with an active subscription. -- Added support for paid reactions and the class - :class:`aiogram.types.reaction_type_paid.ReactionTypePaid`. diff --git a/aiogram/__meta__.py b/aiogram/__meta__.py index 4a9570e0..c36e738e 100644 --- a/aiogram/__meta__.py +++ b/aiogram/__meta__.py @@ -1,2 +1,2 @@ -__version__ = "3.11.0" +__version__ = "3.12.0" __api_version__ = "7.9"