Skip to content

0.97.0

Compare
Choose a tag to compare
@tiangolo tiangolo released this 11 Jun 22:54
· 1317 commits to master since this release

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.6 AsyncExitStack is always available. PR #9657 by @tiangolo.

Upgrades

Internal

  • 💚 Update CI cache to fix installs when dependencies change. PR #9659 by @tiangolo.
  • ⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras. PR #9655 by @tiangolo.