Bot API 5.7 and some new features (#834)

* 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
This commit is contained in:
Alex Root Junior 2022-02-19 01:45:59 +02:00 committed by GitHub
parent ac7f2dc408
commit 7776cf9cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 2485 additions and 502 deletions

1
CHANGES/830.misc Normal file
View file

@ -0,0 +1 @@
Logger name for processing events is changed to :code:`aiogram.events`.

1
CHANGES/835.misc Normal file
View file

@ -0,0 +1 @@
Added full support of Telegram Bot API 5.6 and 5.7

1
CHANGES/836.feature Normal file
View file

@ -0,0 +1 @@
Added possibility to add handler flags via decorator (like `pytest.mark` decorator but `aiogram.flags`)

3
CHANGES/837.feature Normal file
View file

@ -0,0 +1,3 @@
Added :code:`ChatActionSender` utility to automatically sends chat action while long process is running.
It also can be used as message middleware and can be customized via :code:`chat_action` flag.

2
CHANGES/838.misc Normal file
View file

@ -0,0 +1,2 @@
**BREAKING**
Events isolation mechanism is moved from FSM storages to standalone managers

1
CHANGES/839.bugix Normal file
View file

@ -0,0 +1 @@
Fixed I18n lazy-proxy. Disabled caching.