mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
blaxk + isort + UPD ChangeLog
This commit is contained in:
parent
1b39cff5a4
commit
b1b12cef72
2 changed files with 4 additions and 3 deletions
|
|
@ -1,2 +1,3 @@
|
|||
- Scene action handlers (such as ``enter``, ``leave``, etc.) now properly receive context and data from observer (``outer_middleware``) middlewares, matching the behavior of regular handlers.
|
||||
- Fixed ``TypeError`` when accessing middleware-injected arguments inside scene handlers.
|
||||
- Scene action handlers now receive context and data from all observer middlewares (both outer and standard).
|
||||
- Fixed ``TypeError`` with middleware-injected arguments in scene handlers.
|
||||
- Middleware chain for scenes now fully matches standard handler behavior.
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ from typing_extensions import Self
|
|||
from aiogram import loggers
|
||||
from aiogram.dispatcher.dispatcher import Dispatcher
|
||||
from aiogram.dispatcher.event.bases import NextMiddlewareType
|
||||
from aiogram.dispatcher.middlewares.manager import MiddlewareManager
|
||||
from aiogram.dispatcher.event.handler import CallableObject, CallbackType
|
||||
from aiogram.dispatcher.flags import extract_flags_from_object
|
||||
from aiogram.dispatcher.middlewares.manager import MiddlewareManager
|
||||
from aiogram.dispatcher.router import Router
|
||||
from aiogram.exceptions import SceneException
|
||||
from aiogram.filters import StateFilter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue