mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bump changelog.
This commit is contained in:
parent
19aa498682
commit
dee274c0f5
12 changed files with 63 additions and 34 deletions
|
|
@ -1,3 +0,0 @@
|
|||
Breaking: Changed the signature of the session middlewares
|
||||
Breaking: Renamed AiohttpSession.make_request method parameter from call to method to match the naming in the base class
|
||||
Added middleware for logging outgoing requests
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Improved description of filters resolving error.
|
||||
For example when you try to pass wrong type of argument to the filter but don't know why filter is not resolved now you can get error like this:
|
||||
|
||||
.. code-block:: python3
|
||||
|
||||
aiogram.exceptions.FiltersResolveError: Unknown keyword filters: {'content_types'}
|
||||
Possible cases:
|
||||
- 1 validation error for ContentTypesFilter
|
||||
content_types
|
||||
Invalid content types {'42'} is not allowed here (type=value_error)
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Enabled testing on Python 3.10
|
||||
Removed `async_lru` dependency (is incompatible with Python 3.10) and replaced usage with protected property
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
**Breaking internal API change**
|
||||
Reworked FSM Storage record keys propagation
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Implemented new filter named :code:`MagicData(magic_data)` that helps to filter event by data from middlewares or other filters
|
||||
|
||||
For example your bot is running with argument named :code:`config` that contains the application config then you can filter event by value from this config:
|
||||
|
||||
.. code_block: python3
|
||||
|
||||
@router.message(magic_data=F.event.from_user.id == F.config.admin_id)
|
||||
...
|
||||
|
|
@ -1 +0,0 @@
|
|||
Converted README.md to README.rst and use it as base file for docs
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed I18n context inside error handlers
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Rework filters resolving:
|
||||
* Automatically apply Bound Filters with default values to handlers
|
||||
* Fix data transfer from parent to included routers filters
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed bot session closing before emit shutdown
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed: bound filter resolving does not require children routers
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Added full support of Bot API 5.4
|
||||
https://core.telegram.org/bots/api-changelog#november-5-2021
|
||||
Loading…
Add table
Add a link
Reference in a new issue