Change8

Starlette

Backend & Infra

The little ASGI framework that shines. 🌟

Latest: 0.51.015 releases2 breaking changesView on GitHub →

Release History

0.51.01 feature
Jan 10, 2026

This release introduces the `allow_private_network` option for CORS middleware and adjusts the stacklevel for DeprecationWarnings related to the wsgi module.

0.50.0Breaking
Nov 1, 2025

Version 0.50.0 drops Python 3.9 support, requiring Python 3.10+.

0.49.31 fix
Nov 1, 2025

Starlette 0.49.3 relaxes the strictness of the Middleware type, fixing issue #3059.

0.49.21 fix
Nov 1, 2025

Starlette 0.49.2 fixes handling of conditional headers in StaticFiles by ignoring `if-modified-since` when `if-none-match` is present.

0.49.11 fix
Oct 28, 2025

Starlette 0.49.1 patches a security issue in FileResponse's Range header parsing.

0.49.03 features
Oct 28, 2025

Starlette 0.49.0 adds an `encoding` option to Config, improves cookie handling, and tightens WebSocketEndpoint typing, while refining Middleware exception handling.

0.48.02 features
Sep 13, 2025

Version 0.48.0 adds official Python 3.14 support and updates HTTP status names to follow RFC9110.

0.47.31 fix
Aug 24, 2025

Starlette 0.47.3 fixes coroutine detection on Python 3.12 and earlier.

0.47.21 fix
Jul 20, 2025

Fixed an issue where UploadFile did not correctly check for future rollover.

0.47.12 fixes
Jun 21, 2025

Starlette 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 features
May 29, 2025

Starlette 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 fixes
Apr 13, 2025

Starlette 0.46.2 fixes TemplateResponse indexing and stops BaseHTTPMiddleware from reraising exceptions.

0.46.11 fix
Mar 8, 2025

Starlette 0.46.1 fixes an issue allowing relative directory paths with follow_symlinks=True.

0.46.0Breaking2 fixes1 feature
Feb 22, 2025

Starlette 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 fix
Jan 24, 2025

Starlette 0.45.3 fixes a bug where the directory argument in `lookup_path` was not converted to a string before commonpath comparison.