* Rework middlewares, separate management to `MiddlewareManager` class

* Rework middlewares

* Added changes description for redis

* Added changes description for redis

* Fixed tests with Redis // aioredis replacement

* Changed msg.<html/md>_text attributes behaviour

* Added changelog for spoilers

* Added possibility to get command magic result as handler arguments
This commit is contained in:
Alex Root Junior 2022-04-16 19:07:32 +03:00 committed by GitHub
parent 930bca0876
commit 286cf39c8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 1380 additions and 804 deletions

1
CHANGES/865.bugfix.rst Normal file
View file

@ -0,0 +1 @@
Added parsing of spoiler message entity

2
CHANGES/874.misc.rst Normal file
View file

@ -0,0 +1,2 @@
Changed :code:`Message.html_text` and :code:`Message.md_text` attributes behaviour when message has no text.
The empty string will be used instead of raising error.

1
CHANGES/882.misc.rst Normal file
View file

@ -0,0 +1 @@
Used `redis-py` instead of `aioredis` package in due to this packages was merged into single one

3
CHANGES/883.misc.rst Normal file
View file

@ -0,0 +1,3 @@
Solved common naming problem with middlewares that confusing too much developers
- now you can't see the `middleware` and `middlewares` attributes at the same point
because this functionality encapsulated to special interface.

1
CHANGES/885.bugfix.rst Normal file
View file

@ -0,0 +1 @@
Fixed CallbackData factory parsing IntEnum's

1
CHANGES/889.feature.rst Normal file
View file

@ -0,0 +1 @@
Added possibility to get command magic result as handler argument