Starlette

Latest version: v0.45.2

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 12

0.34.0

Not secure
Added

* Use `ParamSpec` for `run_in_threadpool` [2375](https://github.com/encode/starlette/pull/2375).
* Add `UploadFile.__repr__` [2360](https://github.com/encode/starlette/pull/2360).

Fixed

* Merge URLs properly on `TestClient` [2376](https://github.com/encode/starlette/pull/2376).
* Take weak ETags in consideration on `StaticFiles` [2334](https://github.com/encode/starlette/pull/2334).

Deprecated

* Deprecate `FileResponse(method=...)` parameter [2366](https://github.com/encode/starlette/pull/2366).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.33.0...0.34.0

0.33.0

Not secure
Added

* Add `middleware` per `Route`/`WebSocketRoute` [2349](https://github.com/encode/starlette/pull/2349).
* Add `middleware` per `Router` [2351](https://github.com/encode/starlette/pull/2351).

Fixed

* Do not overwrite `"path"` and `"root_path"` scope keys [2352](https://github.com/encode/starlette/pull/2352).
* Set `ensure_ascii=False` on `json.dumps()` for `WebSocket.send_json()` [2341](https://github.com/encode/starlette/pull/2341).

0.32.0.post1

Not secure
Fixed

* Revert mkdocs-material from 9.1.17 to 9.4.7 [2326](https://github.com/encode/starlette/pull/2326).

0.32.0

Not secure
Added

* Send `reason` on `WebSocketDisconnect` [2309](https:://github.com/encode/starlette/pull/2309).
* Add `domain` parameter to `SessionMiddleware` [2280](https:://github.com/encode/starlette/pull/2280).

Changed

* Inherit from `HTMLResponse` instead of `Response` on `_TemplateResponse` [2274](https://github.com/encode/starlette/pull/2274).
* Restore the `Response.render` type annotation to its pre-0.31.0 state [2264](https://github.com/encode/starlette/pull/2264).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.31.1...0.32.0

0.31.1

Not secure
Fixed

* Fix import error when `exceptiongroup` isn't available [2231](https://github.com/encode/starlette/pull/2231).
* Set `url_for` global for custom Jinja environments [2230](https://github.com/encode/starlette/pull/2230).

**Full Changelog**: https://github.com/encode/starlette/compare/0.31.0...0.31.1

0.31.0

Not secure
Added

* Officially support Python 3.12 [2214](https://github.com/encode/starlette/pull/2214).
* Support AnyIO 4.0 [2211](https://github.com/encode/starlette/pull/2211).
* Strictly type annotate Starlette (strict mode on mypy) [2180](https://github.com/encode/starlette/pull/2180).

Fixed

* Don't group duplicated headers on a single string when using the `TestClient` [2219](https://github.com/encode/starlette/pull/2219).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.30.0...0.31.0

Page 6 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.