From 649f76b5f6f8997984e9dea482f87f66f9870785 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sun, 6 Aug 2023 19:28:39 +0300 Subject: [PATCH] Bump changelog --- CHANGES.rst | 57 ++++++++++++++++++++++++++++++++++++++++ CHANGES/1194.feature.rst | 12 --------- CHANGES/1236.feature.rst | 3 --- CHANGES/1238.misc.rst | 3 --- CHANGES/1241.doc.rst | 1 - CHANGES/1242.bugfix.rst | 1 - CHANGES/1244.bugfix.rst | 5 ---- CHANGES/1245.misc.rst | 1 - CHANGES/1249.feature.rst | 1 - 9 files changed, 57 insertions(+), 27 deletions(-) delete mode 100644 CHANGES/1194.feature.rst delete mode 100644 CHANGES/1236.feature.rst delete mode 100644 CHANGES/1238.misc.rst delete mode 100644 CHANGES/1241.doc.rst delete mode 100644 CHANGES/1242.bugfix.rst delete mode 100644 CHANGES/1244.bugfix.rst delete mode 100644 CHANGES/1245.misc.rst delete mode 100644 CHANGES/1249.feature.rst diff --git a/CHANGES.rst b/CHANGES.rst index e2e6d782..d0c27d7b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,63 @@ Changelog .. towncrier release notes start +3.0.0rc1 (2023-08-06) +====================== + +Features +-------- + +- Added Currency enum. + You can use it like this: + + .. code-block:: python + + from aiogram.enum import Currency + + await bot.send_invoice( + ..., + currency=Currency.USD, + ... + ) + `#1194 `_ +- Updated keyboard builders with new methods for integrating buttons and keyboard creation more seamlessly. + Added functionality to create buttons from existing markup and attach another builder. + This improvement aims to make the keyboard building process more user-friendly and flexible. + `#1236 `_ +- Added support for message_thread_id in ChatActionSender + `#1249 `_ + + +Bugfixes +-------- + +- Fixed polling startup when "bot" key is passed manually into dispatcher workflow data + `#1242 `_ +- Added codegen configuration for lost shortcuts: + + - ShippingQuery.answer + - PreCheckoutQuery.answer + - Message.delete_reply_markup + `#1244 `_ + + +Improved Documentation +---------------------- + +- Added documentation for webhook and polling modes. + `#1241 `_ + + +Misc +---- + +- Reworked InputFile reading, removed :code:`__aiter__` method, added `bot: Bot` argument to + the :code:`.read(...)` method, so, from now URLInputFile can be used without specifying + bot instance. + `#1238 `_ +- Code-generated :code:`__init__` typehints in types and methods to make IDE happy without additional pydantic plugin + `#1245 `_ + 3.0.0b9 (2023-07-30) ===================== diff --git a/CHANGES/1194.feature.rst b/CHANGES/1194.feature.rst deleted file mode 100644 index 7afc538f..00000000 --- a/CHANGES/1194.feature.rst +++ /dev/null @@ -1,12 +0,0 @@ -Added Currency enum. -You can use it like this: - -.. code-block:: python - - from aiogram.enum import Currency - - await bot.send_invoice( - ..., - currency=Currency.USD, - ... - ) diff --git a/CHANGES/1236.feature.rst b/CHANGES/1236.feature.rst deleted file mode 100644 index 3e651c17..00000000 --- a/CHANGES/1236.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Updated keyboard builders with new methods for integrating buttons and keyboard creation more seamlessly. -Added functionality to create buttons from existing markup and attach another builder. -This improvement aims to make the keyboard building process more user-friendly and flexible. diff --git a/CHANGES/1238.misc.rst b/CHANGES/1238.misc.rst deleted file mode 100644 index 4f62cae1..00000000 --- a/CHANGES/1238.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Reworked InputFile reading, removed :code:`__aiter__` method, added `bot: Bot` argument to -the :code:`.read(...)` method, so, from now URLInputFile can be used without specifying -bot instance. diff --git a/CHANGES/1241.doc.rst b/CHANGES/1241.doc.rst deleted file mode 100644 index 34825cf9..00000000 --- a/CHANGES/1241.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Added documentation for webhook and polling modes. diff --git a/CHANGES/1242.bugfix.rst b/CHANGES/1242.bugfix.rst deleted file mode 100644 index eb981383..00000000 --- a/CHANGES/1242.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed polling startup when "bot" key is passed manually into dispatcher workflow data diff --git a/CHANGES/1244.bugfix.rst b/CHANGES/1244.bugfix.rst deleted file mode 100644 index 5d827461..00000000 --- a/CHANGES/1244.bugfix.rst +++ /dev/null @@ -1,5 +0,0 @@ -Added codegen configuration for lost shortcuts: - -- ShippingQuery.answer -- PreCheckoutQuery.answer -- Message.delete_reply_markup diff --git a/CHANGES/1245.misc.rst b/CHANGES/1245.misc.rst deleted file mode 100644 index ab567cec..00000000 --- a/CHANGES/1245.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Code-generated :code:`__init__` typehints in types and methods to make IDE happy without additional pydantic plugin diff --git a/CHANGES/1249.feature.rst b/CHANGES/1249.feature.rst deleted file mode 100644 index 147b407b..00000000 --- a/CHANGES/1249.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for message_thread_id in ChatActionSender