From 82406970c1218662f7dccc30a7b1362f3c846759 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Sun, 16 Feb 2025 22:44:39 +0200 Subject: [PATCH] Update CHANGES.rst --- CHANGES.rst | 48 ++++++++++++++++++++++++++++++++++++++++ CHANGES/1595.bugfix.rst | 1 - CHANGES/1612.misc.rst | 1 - CHANGES/1628.bugfix.rst | 1 - CHANGES/1630.bugfix.rst | 1 - CHANGES/1631.misc.rst | 1 - CHANGES/1634.doc.rst | 1 - CHANGES/1638.feature.rst | 10 --------- CHANGES/1640.bugfix.rst | 1 - 9 files changed, 48 insertions(+), 17 deletions(-) delete mode 100644 CHANGES/1595.bugfix.rst delete mode 100644 CHANGES/1612.misc.rst delete mode 100644 CHANGES/1628.bugfix.rst delete mode 100644 CHANGES/1630.bugfix.rst delete mode 100644 CHANGES/1631.misc.rst delete mode 100644 CHANGES/1634.doc.rst delete mode 100644 CHANGES/1638.feature.rst delete mode 100644 CHANGES/1640.bugfix.rst diff --git a/CHANGES.rst b/CHANGES.rst index 3afc290d..422e4053 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,54 @@ Changelog .. towncrier release notes start +3.13.1 (2025-02-16) +==================== + +Features +-------- + +- Added full support for the `Bot API 8.3 `_: + + - Added the parameter :code:`chat_id` to the method :class:`aiogram.methods.send_gift.SendGift`, allowing bots to send gifts to channel chats. + - Added the field :code:`can_send_gift` to the class :class:`aiogram.types.chat_full_info.ChatFullInfo`. + - Added the class :class:`aiogram.types.transaction_partner_chat.TransactionPartnerChat` describing transactions with chats. + - Added the fields :code:`cover` and :code:`start_timestamp` to the class :class:`aiogram.types.video.Video`, containing a message-specific cover and a start timestamp for the video. + - Added the parameters :code:`cover` and :code:`start_timestamp` to the method :class:`aiogram.methods.send_video.SendVideo`, allowing bots to specify a cover and a start timestamp for the videos they send. + - Added the fields :code:`cover` and :code:`start_timestamp` to the classes :class:`aiogram.types.input_media_video.InputMediaVideo` and :class:`aiogram.types.input_paid_media_video.InputPaidMediaVideo`, allowing bots to edit video covers and start timestamps, and specify them for videos in albums and paid media. + - Added the parameter :code:`video_start_timestamp` to the methods :class:`aiogram.methods.forward_message.ForwardMessage` and :class:`aiogram.methods.copy_message.CopyMessage`, allowing bots to change the start timestamp for forwarded and copied videos. + - Allowed adding reactions to most types of service messages. + `#1638 `_ + + +Bugfixes +-------- + +- Fixed endless loop while adding buttons to the :code:`KeyboardBuilder`. + `#1595 `_ +- Change the :code:`Downloadable` protocol to be non-writable to shut up type checking that checks code that uses the :code:`bot.download(...)` method + `#1628 `_ +- Fix the regex pattern that finds the "bad characters" for deeplink payload. + `#1630 `_ +- Fix small typo in the Scenes documentation + `#1640 `_ + + +Improved Documentation +---------------------- + +- Update :code:`data: Dict[Any, str]` to :code:`data: Dict[str, Any]` + `#1634 `_ + + +Misc +---- + +- Removed redundant :code:`Path` to :code:`str` convertion on file download. + `#1612 `_ +- Increased max :code:`redis` version support from “<5.1.0” to “<5.3.0” + `#1631 `_ + + 3.17.0 (2025-01-02) ==================== diff --git a/CHANGES/1595.bugfix.rst b/CHANGES/1595.bugfix.rst deleted file mode 100644 index f56d8b2a..00000000 --- a/CHANGES/1595.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed endless loop while adding buttons to the :code:`KeyboardBuilder`. diff --git a/CHANGES/1612.misc.rst b/CHANGES/1612.misc.rst deleted file mode 100644 index e34e2023..00000000 --- a/CHANGES/1612.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Removed redundant :code:`Path` to :code:`str` convertion on file download. diff --git a/CHANGES/1628.bugfix.rst b/CHANGES/1628.bugfix.rst deleted file mode 100644 index ee5d7299..00000000 --- a/CHANGES/1628.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Change the :code:`Downloadable` protocol to be non-writable to shut up type checking that checks code that uses the :code:`bot.download(...)` method diff --git a/CHANGES/1630.bugfix.rst b/CHANGES/1630.bugfix.rst deleted file mode 100644 index e083dc1f..00000000 --- a/CHANGES/1630.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix the regex pattern that finds the "bad characters" for deeplink payload. \ No newline at end of file diff --git a/CHANGES/1631.misc.rst b/CHANGES/1631.misc.rst deleted file mode 100644 index e5088e95..00000000 --- a/CHANGES/1631.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Increased max :code:`redis` version support from “<5.1.0” to “<5.3.0” diff --git a/CHANGES/1634.doc.rst b/CHANGES/1634.doc.rst deleted file mode 100644 index aa9cb5b9..00000000 --- a/CHANGES/1634.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Update :code:`data: Dict[Any, str]` to :code:`data: Dict[str, Any]` diff --git a/CHANGES/1638.feature.rst b/CHANGES/1638.feature.rst deleted file mode 100644 index b36a4f6a..00000000 --- a/CHANGES/1638.feature.rst +++ /dev/null @@ -1,10 +0,0 @@ -Added full support for the `Bot API 8.3 `_: - -- Added the parameter :code:`chat_id` to the method :class:`aiogram.methods.send_gift.SendGift`, allowing bots to send gifts to channel chats. -- Added the field :code:`can_send_gift` to the class :class:`aiogram.types.chat_full_info.ChatFullInfo`. -- Added the class :class:`aiogram.types.transaction_partner_chat.TransactionPartnerChat` describing transactions with chats. -- Added the fields :code:`cover` and :code:`start_timestamp` to the class :class:`aiogram.types.video.Video`, containing a message-specific cover and a start timestamp for the video. -- Added the parameters :code:`cover` and :code:`start_timestamp` to the method :class:`aiogram.methods.send_video.SendVideo`, allowing bots to specify a cover and a start timestamp for the videos they send. -- Added the fields :code:`cover` and :code:`start_timestamp` to the classes :class:`aiogram.types.input_media_video.InputMediaVideo` and :class:`aiogram.types.input_paid_media_video.InputPaidMediaVideo`, allowing bots to edit video covers and start timestamps, and specify them for videos in albums and paid media. -- Added the parameter :code:`video_start_timestamp` to the methods :class:`aiogram.methods.forward_message.ForwardMessage` and :class:`aiogram.methods.copy_message.CopyMessage`, allowing bots to change the start timestamp for forwarded and copied videos. -- Allowed adding reactions to most types of service messages. diff --git a/CHANGES/1640.bugfix.rst b/CHANGES/1640.bugfix.rst deleted file mode 100644 index dfde82df..00000000 --- a/CHANGES/1640.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix small typo in the Scenes documentation