Starlette
Backend & InfraThe little ASGI framework that shines. 🌟
Release History
0.51.01 featureThis release introduces the `allow_private_network` option for CORS middleware and adjusts the stacklevel for DeprecationWarnings related to the wsgi module.
0.50.0BreakingVersion 0.50.0 drops Python 3.9 support, requiring Python 3.10+.
0.49.31 fixStarlette 0.49.3 relaxes the strictness of the Middleware type, fixing issue #3059.
0.49.21 fixStarlette 0.49.2 fixes handling of conditional headers in StaticFiles by ignoring `if-modified-since` when `if-none-match` is present.
0.49.11 fixStarlette 0.49.1 patches a security issue in FileResponse's Range header parsing.
0.49.03 featuresStarlette 0.49.0 adds an `encoding` option to Config, improves cookie handling, and tightens WebSocketEndpoint typing, while refining Middleware exception handling.
0.48.02 featuresVersion 0.48.0 adds official Python 3.14 support and updates HTTP status names to follow RFC9110.
0.47.31 fixStarlette 0.47.3 fixes coroutine detection on Python 3.12 and earlier.
0.47.21 fixFixed an issue where UploadFile did not correctly check for future rollover.
0.47.12 fixesStarlette 0.47.1 fixes type‑hinting issues by using Self in TestClient.__enter__ and adds proper type checking for async exception handlers.
0.47.01 fix2 featuresStarlette 0.47.0 adds ASGI pathsend support and a `partitioned` flag for cookies, updates the `methods` parameter type, and makes `ExceptionMiddleware.http_exception` async.
0.46.22 fixesStarlette 0.46.2 fixes TemplateResponse indexing and stops BaseHTTPMiddleware from reraising exceptions.
0.46.11 fixStarlette 0.46.1 fixes an issue allowing relative directory paths with follow_symlinks=True.
0.46.0Breaking2 fixes1 featureStarlette 0.46.0 adds a Vary header to GZipMiddleware, renames MultiPartParser’s `max_file_size` to `spool_max_size`, and deprecates `TestClient(timeout=…)`, while fixing background task exception handling and SSE compression.
0.45.31 fixStarlette 0.45.3 fixes a bug where the directory argument in `lookup_path` was not converted to a string before commonpath comparison.