Starlette

Latest version: v0.37.2

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

Scan your dependencies

Page 2 of 8

0.36.0

Not secure
Added

* Add support for ASGI `pathsend` extension [2435](http://github.com/encode/starlette/pull/2435).
* Cancel `WebSocketTestSession` on close [2427](http://github.com/encode/starlette/pull/2427).
* Raise `WebSocketDisconnect` when `WebSocket.send()` excepts `IOError` [2425](http://github.com/encode/starlette/pull/2425).
* Raise `FileNotFoundError` when the `env_file` parameter on `Config` is not valid [2422](http://github.com/encode/starlette/pull/2422).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.35.1...0.36.0

0.35.1

Not secure
Fixed

* Stop using the deprecated "method" parameter in `FileResponse` inside of `StaticFiles` [2406](https://github.com/encode/starlette/pull/2406).
* Make `typing-extensions` optional again [2409](https://github.com/encode/starlette/pull/2409).

---

**Full Changelog**: https://github.com/encode/starlette/compare/0.35.0...0.35.1

0.35.0

Not secure
Added

* Add `*args` to `Middleware` and improve its type hints [2381](https://github.com/encode/starlette/pull/2381).

Fixed

* Use `Iterable` instead `Iterator` on `iterate_in_threadpool` [2362](https://github.com/encode/starlette/pull/2362).

Changes

* Handle `root_path` to keep compatibility with mounted ASGI applications and WSGI [2400](https://github.com/encode/starlette/pull/2400).
* Turn `scope["client"]` to `None` on `TestClient` [2377](https://github.com/encode/starlette/pull/2377).

---

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

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).

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.