From cad9b3ba760ebe9df5f870c4b702f5c5930f8518 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Wed, 19 Jun 2024 01:10:33 +0300 Subject: [PATCH] Towncrier render --- CHANGES.rst | 70 ++++++++++++++++++++++++++++++++++++++++ CHANGES/1450.feature.rst | 2 -- CHANGES/1500.bugfix.rst | 1 - CHANGES/1501.doc.rst | 1 - CHANGES/1504.doc.rst | 1 - CHANGES/1510.misc.rst | 11 ------- CHANGES/1518.feature.rst | 25 -------------- 7 files changed, 70 insertions(+), 41 deletions(-) delete mode 100644 CHANGES/1450.feature.rst delete mode 100644 CHANGES/1500.bugfix.rst delete mode 100644 CHANGES/1501.doc.rst delete mode 100644 CHANGES/1504.doc.rst delete mode 100644 CHANGES/1510.misc.rst delete mode 100644 CHANGES/1518.feature.rst diff --git a/CHANGES.rst b/CHANGES.rst index 2ed0a519..f7bcecaa 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,76 @@ Changelog .. towncrier release notes start +3.5.0 (2024-06-19) +=================== + +Features +-------- + +- Added utility to safely deserialize any Telegram object or method to a JSON-compatible object (dict). + (:ref:`>> Read more `) + `#1450 `_ +- Added full support of `Bot API 7.5 `_ + + - Added the classes :class:`aiogram.types.star_transactions.StarTransactions`, + :class:`aiogram.types.star_transaction.StarTransaction`, + :class:`aiogram.types.transaction_partner.TransactionPartner` + and :class:`aiogram.types.revenue_withdrawal_state.RevenueWithdrawalState`, + containing information about Telegram Star transactions involving the bot. + - Added the method :class:`aiogram.methods.get_star_transactions.GetStarTransactions` + that can be used to get the list of all Telegram Star transactions for the bot. + - Added support for callback buttons in + :class:`aiogram.types.inline_keyboard_markup.InlineKeyboardMarkup` + for messages sent on behalf of a business account. + - Added support for callback queries originating from a message sent + on behalf of a business account. + - Added the parameter :code:`business_connection_id` to the methods + :class:`aiogram.methods.edit_message_text.EditMessageText`, + :class:`aiogram.methods.edit_message_media.EditMessageMedia`, + :class:`aiogram.methods.edit_message_caption.EditMessageCaption`, + :class:`aiogram.methods.edit_message_live_location.EditMessageLiveLocation`, + :class:`aiogram.methods.stop_message_live_location.StopMessageLiveLocation` + and :class:`aiogram.methods.edit_message_reply_markup.EditMessageReplyMarkup`, + allowing the bot to edit business messages. + - Added the parameter :code:`business_connection_id` to the method + :class:`aiogram.methods.stop_poll.StopPoll`, + allowing the bot to stop polls it sent on behalf of a business account. + `#1518 `_ + + +Bugfixes +-------- + +- Increased DNS cache ttl setting to aiohttp session as a workaround for DNS resolution issues in aiohttp. + `#1500 `_ + + +Improved Documentation +---------------------- + +- Fixed MongoStorage section in the documentation by adding extra dependency to ReadTheDocs configuration. + `#1501 `_ +- Added information about dependency changes to the :code:`2.x --> 3.x` migration guide. + `#1504 `_ + + +Misc +---- + +- [Only for contributors] Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring + + If incorrect URIs provided to "--redis" and/or "--mongo" options tests should fail with errors instead of skipping. + Otherwise the next scenario is possible: + 1) developer breaks RedisStorage and/or MongoStorage code + 2) tests are run with incorrect redis and/or mongo URIsprovided by "--redis" and "--mongo" options (for example, wrong port specified) + 3) tests pass because skipping doesn't fail tests run + 4) developer or reviewer doesn't notice that redis and/or mongo tests were skipped + 5) broken code gets in codebase + + Also some refactorings done (related with storages and storages tests). + `#1510 `_ + + 3.7.0 (2024-05-31) =================== diff --git a/CHANGES/1450.feature.rst b/CHANGES/1450.feature.rst deleted file mode 100644 index e071f8f4..00000000 --- a/CHANGES/1450.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added utility to safely deserialize any Telegram object or method to a JSON-compatible object (dict). -(:ref:`>> Read more `) diff --git a/CHANGES/1500.bugfix.rst b/CHANGES/1500.bugfix.rst deleted file mode 100644 index 23b78e8c..00000000 --- a/CHANGES/1500.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Increased DNS cache ttl setting to aiohttp session as a workaround for DNS resolution issues in aiohttp. diff --git a/CHANGES/1501.doc.rst b/CHANGES/1501.doc.rst deleted file mode 100644 index 780dd167..00000000 --- a/CHANGES/1501.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed MongoStorage section in the documentation by adding extra dependency to ReadTheDocs configuration. diff --git a/CHANGES/1504.doc.rst b/CHANGES/1504.doc.rst deleted file mode 100644 index 323ee342..00000000 --- a/CHANGES/1504.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Added information about dependency changes to the :code:`2.x --> 3.x` migration guide. diff --git a/CHANGES/1510.misc.rst b/CHANGES/1510.misc.rst deleted file mode 100644 index 5a4fb587..00000000 --- a/CHANGES/1510.misc.rst +++ /dev/null @@ -1,11 +0,0 @@ -[Only for contributors] Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring - -If incorrect URIs provided to "--redis" and/or "--mongo" options tests should fail with errors instead of skipping. -Otherwise the next scenario is possible: - 1) developer breaks RedisStorage and/or MongoStorage code - 2) tests are run with incorrect redis and/or mongo URIsprovided by "--redis" and "--mongo" options (for example, wrong port specified) - 3) tests pass because skipping doesn't fail tests run - 4) developer or reviewer doesn't notice that redis and/or mongo tests were skipped - 5) broken code gets in codebase - -Also some refactorings done (related with storages and storages tests). diff --git a/CHANGES/1518.feature.rst b/CHANGES/1518.feature.rst deleted file mode 100644 index 9bb16597..00000000 --- a/CHANGES/1518.feature.rst +++ /dev/null @@ -1,25 +0,0 @@ -Added full support of `Bot API 7.5 `_ - -- Added the classes :class:`aiogram.types.star_transactions.StarTransactions`, - :class:`aiogram.types.star_transaction.StarTransaction`, - :class:`aiogram.types.transaction_partner.TransactionPartner` - and :class:`aiogram.types.revenue_withdrawal_state.RevenueWithdrawalState`, - containing information about Telegram Star transactions involving the bot. -- Added the method :class:`aiogram.methods.get_star_transactions.GetStarTransactions` - that can be used to get the list of all Telegram Star transactions for the bot. -- Added support for callback buttons in - :class:`aiogram.types.inline_keyboard_markup.InlineKeyboardMarkup` - for messages sent on behalf of a business account. -- Added support for callback queries originating from a message sent - on behalf of a business account. -- Added the parameter :code:`business_connection_id` to the methods - :class:`aiogram.methods.edit_message_text.EditMessageText`, - :class:`aiogram.methods.edit_message_media.EditMessageMedia`, - :class:`aiogram.methods.edit_message_caption.EditMessageCaption`, - :class:`aiogram.methods.edit_message_live_location.EditMessageLiveLocation`, - :class:`aiogram.methods.stop_message_live_location.StopMessageLiveLocation` - and :class:`aiogram.methods.edit_message_reply_markup.EditMessageReplyMarkup`, - allowing the bot to edit business messages. -- Added the parameter :code:`business_connection_id` to the method - :class:`aiogram.methods.stop_poll.StopPoll`, - allowing the bot to stop polls it sent on behalf of a business account.