Added
Fixed
starlette.websockets.WebSocket
instances are now hashable and compare by identity
#1039- A number of fixes related to running task groups in lifespan
#1213,
#1227
Deprecated/removed
- The method
starlette.templates.Jinja2Templates.get_env
was removed
#1218 - The ClassVar
starlette.testclient.TestClient.async_backend
was removed,
the backend is now configured using constructor kwargs
#1211 - Passing an Async Generator Function or a Generator Function to
starlette.router.Router(lifespan_context=)
is deprecated. You should wrap your lifespan in@contextlib.asynccontextmanager
.
#1227
#1110