* 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
* Update magic_data Allowed handlers
* Fix ChatMemberUpdated example
* Fix examples with `.in_(...)` and delete with `@`
* Fix commands in examples
* Change List to Set
* Update API, added some new features
* Fixed unknown chat_action value
* Separate events from dispatcher messages
* Disabled cache for I18n LazyProxy
* Rework events isolation
* Added chat member status changed filter, update Bot API 5.7, other small changes
* Improve exceptions in chat member status filter
* Fixed tests, covered flags and events isolation modules
* Try to fix flake8 unused type ignore
* Fixed linter error
* Cover chat member updated filter
* Cover chat action sender
* Added docs for chat action util
* Try to fix tests for python <= 3.9
* Fixed headers
* Added docs for flags functionality
* Added docs for chat_member_updated filter
* Added change notes
* Update dependencies and fix mypy checks
* Bump version
* Correct grammar errors
* Return punctuation and line break to the original
* Update docs/dispatcher/router.rst
Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
* bound filters resolving rework, filters with default argument
* bound filters resolving rework, filters with default argument
* Update 727.misc
* clarification of the comment about skipping filter
* fix data transfer from parent to included routers filters
* fix checking containing value in generator
* Update docs/dispatcher/filters/index.rst
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Update 727.misc
* reformat
* better iterable types
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Regenerate API
* Update code
* Fixed command filter for photos
* Fix tests so they are able to run
* Test new and renamed API methods
* Reformat files
* Fix outer_middleware resolution (#637) (#640)
* Fix outer_middleware resolution (#637)
* Reformat files
* Reorder routers when resolve middlewares
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Added possibility to use empty callback data factory filter
* Rename KeyboardConstructor to KeyboardBuilder
* Fixed type
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>