pypi fastapi 0.97.0

latest releases: 0.115.4, 0.115.3, 0.115.2...
16 months ago

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.

Don't miss a new fastapi release

NewReleases is sending notifications on new releases.