Uvicorn 0.50.0

0.50.0

Version 0.50.0

Changed 7
  • Memoize trusted host checks to avoid re-parsing the client IP per request
  • Cache the asgi scope sub-dict per connection
  • Build a fresh asgi scope dict per request
  • Replace click.style with an internal ANSI style helper
  • Avoid copying single-frame WebSocket payloads in websockets-sansio
  • Exit with a dedicated code on startup failure and stop the supervisor when a worker can't boot
  • Skip the eager app import in the parent when spawning workers
Deprecated 1
  • Deprecate the legacy websockets implementation and default auto to websockets-sansio
What's Changed

Full Changelog: https://github.com/Kludex/uvicorn/compare/0.49.0...0.50.0

View original

Upgraded? How did it go?

Discussion