Starlette

Latest version: v0.46.1

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

Scan your dependencies

Page 4 of 12

0.38.5

Not secure
Fixed

* Schedule `BackgroundTasks` from within `BaseHTTPMiddleware` [2688](https://github.com/encode/starlette/pull/2688).
This behavior was removed in 0.38.3, and is now restored.

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.38.4...0.38.5

0.38.4

Not secure
Fixed

* Ensure accurate `root_path` removal in `get_route_path` function [2600](https://github.com/encode/starlette/pull/2600)

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.38.3...0.38.4

0.38.3

Not secure
Added

* Support for Python 3.13 [2662](https://github.com/encode/starlette/pull/2662).

Fixed

* Don't poll for disconnects in `BaseHTTPMiddleware` via `StreamingResponse` [2620](https://github.com/encode/starlette/pull/2620).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.38.2...0.38.3

0.38.2

Not secure
Fixed

* Fix `routing.get_name()` not to assume all routines have `__name__` [2648](https://github.com/encode/starlette/pull/2648)

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.38.1...0.38.2

0.38.1

Not secure
Removed

* Revert "Add support for ASGI pathsend extension" [2649](https://github.com/encode/starlette/2649).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.38.0...0.38.1

0.38.0

Not secure
Added

* Allow use of `memoryview` in `StreamingResponse` and `Response` [2576](https://github.com/encode/starlette/pull/2576)
and [2577](https://github.com/encode/starlette/pull/2577).
* Send 404 instead of 500 when filename requested is too long on `StaticFiles` [2583](https://github.com/encode/starlette/pull/2583).

Changed

* Fail fast on invalid `Jinja2Template` instantiation parameters [2568](https://github.com/encode/starlette/pull/2568).
* Check endpoint handler is async only once [2536](https://github.com/encode/starlette/pull/2536).

Fixed

* Add proper synchronization to `WebSocketTestSession` [2597](https://github.com/encode/starlette/pull/2597).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.37.2...0.38.0

Page 4 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.