github encode/starlette 0.14.0
Version 0.14.0

latest releases: 0.37.2, 0.37.1, 0.37.0...
3 years ago

Added

  • Starlette now officially supports Python3.9.
  • In StreamingResponse, allow custom async iterator such as objects from classes implementing __aiter__.
  • Allow usage of functools.partial async handlers in Python versions 3.6 and 3.7.
  • Add 418 I'm A Teapot status code.

Changed

  • Create tasks from handler coroutines before sending them to asyncio.wait.
  • Use format_exception instead of format_tb in ServerErrorMiddleware's debug responses.
  • Be more lenient with handler arguments when using the requires decorator.

Don't miss a new starlette release

NewReleases is sending notifications on new releases.