Starlette

Latest version: v0.45.2

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

Scan your dependencies

Page 3 of 12

0.39.1

Not secure
Fixed

- Avoid regex re-compilation in `responses.py` and `schemas.py` [2700](https://github.com/encode/starlette/pull/2700).
- Improve performance of `get_route_path` by removing regular expression usage [2701](https://github.com/encode/starlette/pull/2701).
- Consider `FileResponse.chunk_size` when handling multiple ranges [2703](https://github.com/encode/starlette/pull/2703).
- Use `token_hex` for generating multipart boundary strings [2702](https://github.com/encode/starlette/pull/2702).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.39.0...0.39.1

0.39.0

Not secure
Added

* Add support for HTTP Range to `FileResponse` [2697](https://github.com/encode/starlette/pull/2697)

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.38.6...0.39.0

0.38.6

Not secure
Fixed

* Close unclosed `MemoryObjectReceiveStream` in `TestClient` [2693](https://github.com/encode/starlette/pull/2693).

---

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

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

Page 3 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.