Features
- ✨ Add support for
dependencies
in WebSocket routes. PR #4534 by @paulo-raca. - ✨ Add exception handler for
WebSocketRequestValidationError
(which also allows to override it). PR #6030 by @kristjanvalur.
Refactors
- ⬆️ Upgrade and fully migrate to Ruff, remove isort, includes a couple of tweaks suggested by the new version of Ruff. PR #9660 by @tiangolo.
- ♻️ Update internal type annotations and upgrade mypy. PR #9658 by @tiangolo.
- ♻️ Simplify
AsyncExitStackMiddleware
as without Python 3.6AsyncExitStack
is always available. PR #9657 by @tiangolo.