Overview
Starlette 0.50, released on November 1, 2025, drops Python 3.9 support.
Main Features
Python 3.9 dropped
This release now requires Python 3.10 or later, enabling the use of | type unions and match/case in the internal codebase.
python
from starlette.applications import Starlette
from starlette.responses import JSONResponse
from starlette.routing import Route
async def home(request):
return JSONResponse({'version': '0.50'})
app = Starlette(routes=[
Route('/', home),
])
