From a2e5f9a8b8c994ad65bce05cde9c744760f47c4c Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Fri, 24 Nov 2023 23:29:21 +0200 Subject: [PATCH] Update changelog --- CHANGES.rst | 64 ++++++++++++++++++++++++++++++++++++++++ CHANGES/1280.feature.rst | 2 -- CHANGES/1302.doc.rst | 1 - CHANGES/1320.misc.rst | 1 - CHANGES/1327.misc.rst | 6 ---- CHANGES/1331.misc.rst | 1 - CHANGES/1332.bugfix.rst | 1 - CHANGES/1340.doc.rst | 1 - CHANGES/1343.feature.rst | 1 - CHANGES/1347.misc.rst | 1 - CHANGES/1351.doc.rst | 2 -- CHANGES/1353.doc.rst | 1 - CHANGES/1354.misc.rst | 1 - CHANGES/1357.misc.rst | 1 - CHANGES/1360.bugfix.rst | 1 - CHANGES/1361.misc.rst | 1 - CHANGES/1368.bugfix.rst | 1 - CHANGES/1372.misc.rst | 1 - Makefile | 2 +- 19 files changed, 65 insertions(+), 25 deletions(-) delete mode 100644 CHANGES/1280.feature.rst delete mode 100644 CHANGES/1302.doc.rst delete mode 100644 CHANGES/1320.misc.rst delete mode 100644 CHANGES/1327.misc.rst delete mode 100644 CHANGES/1331.misc.rst delete mode 100644 CHANGES/1332.bugfix.rst delete mode 100644 CHANGES/1340.doc.rst delete mode 100644 CHANGES/1343.feature.rst delete mode 100644 CHANGES/1347.misc.rst delete mode 100644 CHANGES/1351.doc.rst delete mode 100644 CHANGES/1353.doc.rst delete mode 100644 CHANGES/1354.misc.rst delete mode 100644 CHANGES/1357.misc.rst delete mode 100644 CHANGES/1360.bugfix.rst delete mode 100644 CHANGES/1361.misc.rst delete mode 100644 CHANGES/1368.bugfix.rst delete mode 100644 CHANGES/1372.misc.rst diff --git a/CHANGES.rst b/CHANGES.rst index 359b8f26..f1aafdaf 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -16,6 +16,70 @@ Changelog .. towncrier release notes start +3.2.0 (2023-11-24) +=================== + +Features +-------- + +- Introduced Scenes feature that helps you to simplify user interactions using Finite State Machine. + Read more about 👉 :ref:`Scenes `. + `#1280 `_ +- Added the new FSM strategy :code:`CHAT_TOPIC`, which sets the state for the entire topic in the chat, also works in private messages and regular groups without topics. + `#1343 `_ + + +Bugfixes +-------- + +- Fixed :code:`parse_mode` argument in the in :code:`Message.send_copy` shortcut. Disable by default. + `#1332 `_ +- Added ability to get handler flags from filters. + `#1360 `_ +- Fixed a situation where a :code:`CallbackData` could not be parsed without a default value. + `#1368 `_ + + +Improved Documentation +---------------------- + +- Corrected grammatical errors, improved sentence structures, translation for migration 2.x-3.x + `#1302 `_ +- Minor typo correction, specifically in module naming + some grammar. + `#1340 `_ +- Added `CITATION.cff` file for automatic academic citation generation. + Now you can copy citation from the GitHub page and paste it into your paper. + `#1351 `_ +- Minor typo correction in middleware docs. + `#1353 `_ + + +Misc +---- + +- Fixed ResourceWarning in the tests, reworked :code:`RedisEventsIsolation` fixture to use Redis connection from :code:`RedisStorage` + `#1320 `_ +- Updated dependencies, bumped minimum required version: + + - :code:`magic-filter` - fixed `.resolve` operation + - :code:`pydantic` - fixed compatibility (broken in 2.4) + - :code:`aiodns` - added new dependency to the :code:`fast` extras (:code:`pip install aiogram[fast]`) + - *others...* + `#1327 `_ +- Prevent update handling task pointers from being garbage collected, backport from 2.x + `#1331 `_ +- Updated :code:`typing-extensions` package version range in dependencies to fix compatibility with :code:`FastAPI` + `#1347 `_ +- Introduce Python 3.12 support + `#1354 `_ +- Speeded up CallableMixin processing by caching references to nested objects and simplifying kwargs assembly. + `#1357 `_ +- Added :code:`pydantic` v2.5 support. + `#1361 `_ +- Updated :code:`thumbnail` fields type to :code:`InputFile` only + `#1372 `_ + + 3.1.1 (2023-09-25) =================== diff --git a/CHANGES/1280.feature.rst b/CHANGES/1280.feature.rst deleted file mode 100644 index 965ff1fc..00000000 --- a/CHANGES/1280.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Introduced Scenes feature that helps you to simplify user interactions using Finite State Machines. -Read more about 👉 :ref:`Scenes `. diff --git a/CHANGES/1302.doc.rst b/CHANGES/1302.doc.rst deleted file mode 100644 index 31220d96..00000000 --- a/CHANGES/1302.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Corrected grammatical errors, improved sentence structures, translation for migration 2.x-3.x diff --git a/CHANGES/1320.misc.rst b/CHANGES/1320.misc.rst deleted file mode 100644 index f7e079ce..00000000 --- a/CHANGES/1320.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ResourceWarning in the tests, reworked :code:`RedisEventsIsolation` fixture to use Redis connection from :code:`RedisStorage` diff --git a/CHANGES/1327.misc.rst b/CHANGES/1327.misc.rst deleted file mode 100644 index fd02654c..00000000 --- a/CHANGES/1327.misc.rst +++ /dev/null @@ -1,6 +0,0 @@ -Updated dependencies, bumped minimum required version: - -- :code:`magic-filter` - fixed `.resolve` operation -- :code:`pydantic` - fixed compatibility (broken in 2.4) -- :code:`aiodns` - added new dependency to the :code:`fast` extras (:code:`pip install aiogram[fast]`) -- *others...* diff --git a/CHANGES/1331.misc.rst b/CHANGES/1331.misc.rst deleted file mode 100644 index 38d7efa4..00000000 --- a/CHANGES/1331.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent update handling task pointers from being garbage collected, backport from 2.x diff --git a/CHANGES/1332.bugfix.rst b/CHANGES/1332.bugfix.rst deleted file mode 100644 index 9cf7d48c..00000000 --- a/CHANGES/1332.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ - Fixed :code:`parse_mode` argument in the in :code:`Message.send_copy` shortcut. Disable by default. diff --git a/CHANGES/1340.doc.rst b/CHANGES/1340.doc.rst deleted file mode 100644 index 83bd6723..00000000 --- a/CHANGES/1340.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Minor typo correction, specifically in module naming + some grammar. diff --git a/CHANGES/1343.feature.rst b/CHANGES/1343.feature.rst deleted file mode 100644 index 80960dc7..00000000 --- a/CHANGES/1343.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added the new FSM strategy :code:`CHAT_TOPIC`, which sets the state for the entire topic in the chat, also works in private messages and regular groups without topics. diff --git a/CHANGES/1347.misc.rst b/CHANGES/1347.misc.rst deleted file mode 100644 index 2da2e568..00000000 --- a/CHANGES/1347.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated :code:`typing-extensions` package version range in dependencies to fix compatibility with :code:`FastAPI` diff --git a/CHANGES/1351.doc.rst b/CHANGES/1351.doc.rst deleted file mode 100644 index 5108d25e..00000000 --- a/CHANGES/1351.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added `CITATION.cff` file for automatic academic citation generation. -Now you can copy citation from the GitHub page and paste it into your paper. diff --git a/CHANGES/1353.doc.rst b/CHANGES/1353.doc.rst deleted file mode 100644 index 15f6d28e..00000000 --- a/CHANGES/1353.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Minor typo correction in middleware docs. diff --git a/CHANGES/1354.misc.rst b/CHANGES/1354.misc.rst deleted file mode 100644 index 42b4cfa5..00000000 --- a/CHANGES/1354.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Introduce Python 3.12 support diff --git a/CHANGES/1357.misc.rst b/CHANGES/1357.misc.rst deleted file mode 100644 index 96822c1f..00000000 --- a/CHANGES/1357.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Speeded up CallableMixin processing by caching references to nested objects and simplifying kwargs assembly. diff --git a/CHANGES/1360.bugfix.rst b/CHANGES/1360.bugfix.rst deleted file mode 100644 index b2a272b1..00000000 --- a/CHANGES/1360.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Added ability to get handler flags from filters. diff --git a/CHANGES/1361.misc.rst b/CHANGES/1361.misc.rst deleted file mode 100644 index 9b1fe953..00000000 --- a/CHANGES/1361.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Added :code:`pydantic` v2.5 support. diff --git a/CHANGES/1368.bugfix.rst b/CHANGES/1368.bugfix.rst deleted file mode 100644 index f541e016..00000000 --- a/CHANGES/1368.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a situation where a :code:`CallbackData` could not be parsed without a default value. diff --git a/CHANGES/1372.misc.rst b/CHANGES/1372.misc.rst deleted file mode 100644 index 07b2eb80..00000000 --- a/CHANGES/1372.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated :code:`thumbnail` fields type to :code:`InputFile` only diff --git a/Makefile b/Makefile index 0464bd45..68f44fe7 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ bump: .PHONY: towncrier-build towncrier-build: - towncrier build --yes + hatch run docs:towncrier build --yes .PHONY: towncrier-draft towncrier-draft: