mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
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:
parent
ac7f2dc408
commit
7776cf9cf6
77 changed files with 2485 additions and 502 deletions
1
CHANGES/830.misc
Normal file
1
CHANGES/830.misc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Logger name for processing events is changed to :code:`aiogram.events`.
|
||||
1
CHANGES/835.misc
Normal file
1
CHANGES/835.misc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Added full support of Telegram Bot API 5.6 and 5.7
|
||||
1
CHANGES/836.feature
Normal file
1
CHANGES/836.feature
Normal 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
3
CHANGES/837.feature
Normal 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
2
CHANGES/838.misc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
**BREAKING**
|
||||
Events isolation mechanism is moved from FSM storages to standalone managers
|
||||
1
CHANGES/839.bugix
Normal file
1
CHANGES/839.bugix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fixed I18n lazy-proxy. Disabled caching.
|
||||
Loading…
Add table
Add a link
Reference in a new issue