From b37694964775a1cffe4b0cec652b598e0e0fd9fe Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Thu, 2 Jan 2025 02:44:02 +0200 Subject: [PATCH] Bump version --- .apiversion | 2 +- CHANGES.rst | 15 +++++++++++++++ CHANGES/1623.feature.rst | 6 ------ README.rst | 2 +- aiogram/__meta__.py | 4 ++-- 5 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 CHANGES/1623.feature.rst diff --git a/.apiversion b/.apiversion index b8eb0263..2983cad0 100644 --- a/.apiversion +++ b/.apiversion @@ -1 +1 @@ -8.1 +8.2 diff --git a/CHANGES.rst b/CHANGES.rst index d4c32310..3afc290d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,21 @@ Changelog .. towncrier release notes start +3.17.0 (2025-01-02) +==================== + +Features +-------- + +- Added full support of the `Bot API 8.2 `_ + + - Added the methods :class:`aiogram.methods.verify_user.VerifyUser`, :class:`aiogram.methods.verify_chat.VerifyChat`, :class:`aiogram.methods.remove_user_verification.RemoveUserVerification` and :class:`aiogram.methods.remove_chat_verification.RemoveChatVerification`, allowing bots to manage verifications on behalf of an organization. + - Added the field :code:`upgrade_star_count` to the class :class:`aiogram.types.gift.Gift`. + - Added the parameter :code:`pay_for_upgrade` to the method :class:`aiogram.methods.send_gift.SendGift`. + - Removed the field :code:`hide_url` from the class :class:`aiogram.types.inline_query_result_article.InlineQueryResultArticle`. Pass an empty string as :code:`url` instead. + `#1623 `_ + + 3.16.0 (2024-12-21) ==================== diff --git a/CHANGES/1623.feature.rst b/CHANGES/1623.feature.rst deleted file mode 100644 index 3bf57d62..00000000 --- a/CHANGES/1623.feature.rst +++ /dev/null @@ -1,6 +0,0 @@ -Added full support of the `Bot API 8.2 `_ - -- Added the methods :class:`aiogram.methods.verify_user.VerifyUser`, :class:`aiogram.methods.verify_chat.VerifyChat`, :class:`aiogram.methods.remove_user_verification.RemoveUserVerification` and :class:`aiogram.methods.remove_chat_verification.RemoveChatVerification`, allowing bots to manage verifications on behalf of an organization. -- Added the field :code:`upgrade_star_count` to the class :class:`aiogram.types.gift.Gift`. -- Added the parameter :code:`pay_for_upgrade` to the method :class:`aiogram.methods.send_gift.SendGift`. -- Removed the field :code:`hide_url` from the class :class:`aiogram.types.inline_query_result_article.InlineQueryResultArticle`. Pass an empty string as :code:`url` instead. diff --git a/README.rst b/README.rst index f17a7a5b..af938312 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 8.1 `_ and gets fast updates to the latest versions of the Bot API +- Supports `Telegram Bot API 8.2 `_ 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 ec78d40f..b04fd4ce 100644 --- a/aiogram/__meta__.py +++ b/aiogram/__meta__.py @@ -1,2 +1,2 @@ -__version__ = "3.16.0" -__api_version__ = "8.1" +__version__ = "3.17.0" +__api_version__ = "8.2"