blaxk + isort + UPD ChangeLog

This commit is contained in:
Вадим Христенко 2025-04-15 04:24:29 +00:00
parent 1b39cff5a4
commit b1b12cef72
2 changed files with 4 additions and 3 deletions

View file

@ -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.

View file

@ -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