* Add class helper ChatAction
* Change using helper to using enum.Enum
* Add test for class ChatAction
* Use black formatting
* Add pull request description to CHANGES
* Add test coverage
* Use AutoName class for enum values
* Move `AutoName` to separate file
* Move inheritance from `str`
* Fix failing mypy
* Delete old actions
Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
* Fix the ability to copy the state, now copying the state will return the same state.
* reformat
* full implement deepcopy with memo dict, add typehints
* Update aiogram/dispatcher/fsm/state.py
Co-authored-by: Oleg A. <t0rr@mail.ru>
* update tests
Co-authored-by: Oleg A. <t0rr@mail.ru>
* remove deepcopy in tests
Co-authored-by: Oleg A. <t0rr@mail.ru>
* remove deepcopy method
Co-authored-by: Oleg A. <t0rr@mail.ru>
* update changes description
Co-authored-by: Oleg A. <t0rr@mail.ru>
* update __eq__ method
Co-authored-by: Oleg A. <t0rr@mail.ru>
* add typehints, tests
* return False for not equal objects
creating FilterObject use getfullargspec that check State equality with `type` and `object` builtins, raising Error in `__eq__` method of State break this behavior
* return NotImplemented for other types
* use `!=` instead of 'not x == y' in tests
Co-authored-by: Oleg A. <t0rr@mail.ru>
* 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 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
* Re-generate API
* Added new modules
* Added handling new event type and approve/decline aliases for ChatJoinRequest
* Fixed code-coverage
* Bump API version
* Added patch-notes
* 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>
* Try to test on Python 3.10
* Prevent to YAML type cast
* Bump poetry
* Removed async_lru
* Disable fail-fast on tests
* Fixed typing
* Added patch-notes