mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Remove filters factory, introduce docs translation (#978)
* Rewrite filters * Update README.rst * Fixed tests * Small optimization of the Text filter (TY to @bomzheg) * Remove dataclass slots argument in due to the only Python 3.10 has an slots argument * Fixed mypy * Update tests * Disable Python 3.11 * Fixed #1013: Empty mention should be None instead of empty string. * Added #990 to the changelog * Added #942 to the changelog * Fixed coverage * Update poetry and dependencies * Fixed mypy * Remove deprecated code * Added more tests, update pyproject.toml * Partial update docs * Added initial Docs translation files * Added more changes * Added log message when connection is established in polling process * Fixed action * Disable lint for PyPy * Added changelog for docs translation
This commit is contained in:
parent
94030903ec
commit
f4251382e8
610 changed files with 61738 additions and 1687 deletions
1
CHANGES/1013.bugfix.rst
Normal file
1
CHANGES/1013.bugfix.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fixed empty mention in command parsing, now it will be None instead of an empty string
|
||||
1
CHANGES/898.misc.rst
Normal file
1
CHANGES/898.misc.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Reworked error event, introduced :class:`aiogram.types.error_event.ErrorEvent` object.
|
||||
1
CHANGES/925.docs.rst
Normal file
1
CHANGES/925.docs.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Initialized Docs translation (added Ukrainian language)
|
||||
1
CHANGES/942.misc.rst
Normal file
1
CHANGES/942.misc.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
**BREAKING**: Removed filters factory as described in corresponding issue.
|
||||
1
CHANGES/982.misc.rst
Normal file
1
CHANGES/982.misc.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Now Router/Dispatcher accepts only keyword arguments.
|
||||
2
CHANGES/990.misc.rst
Normal file
2
CHANGES/990.misc.rst
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Added warning about using magic filter from `magic_filter` instead of `aiogram`'s ones.
|
||||
Is recommended to use `from aiogram import F` instead of `from magic_filter import F`
|
||||
Loading…
Add table
Add a link
Reference in a new issue