Sourced from starlette's releases.
Version 0.40.0
This release fixes a Denial of service (DoS) via
multipart/form-datarequests.You can view the full security advisory: GHSA-f96h-pmfr-66vw
Fixed
- Add
max_part_sizetoMultiPartParserto limit the size of parts inmultipart/form-datarequests fd038f3.Version 0.39.2
Fixed
- Allow use of
request.url_forwhen only "app" scope is available #2672.- Fix internal type hints to support
python-multipart==0.0.12#2708.
Full Changelog: https://github.com/encode/starlette/compare/0.39.1...0.39.2
Version 0.39.1
Fixed
- Avoid regex re-compilation in
responses.pyandschemas.py#2700.- Improve performance of
get_route_pathby removing regular expression usage #2701.- Consider
FileResponse.chunk_sizewhen handling multiple ranges #2703.- Use
token_hexfor generating multipart boundary strings #2702.
Full Changelog: https://github.com/encode/starlette/compare/0.39.0...0.39.1
Version 0.39.0
Added
- Add support for HTTP Range to
FileResponse#2697
Full Changelog: https://github.com/encode/starlette/compare/0.38.6...0.39.0
Sourced from starlette's changelog.
0.40.0 (October 15, 2024)
This release fixes a Denial of service (DoS) via
multipart/form-datarequests.You can view the full security advisory: GHSA-f96h-pmfr-66vw
Fixed
- Add
max_part_sizetoMultiPartParserto limit the size of parts inmultipart/form-datarequests fd038f3.0.39.2 (September 29, 2024)
Fixed
- Allow use of
request.url_forwhen only "app" scope is available #2672.- Fix internal type hints to support
python-multipart==0.0.12#2708.0.39.1 (September 25, 2024)
Fixed
- Avoid regex re-compilation in
responses.pyandschemas.py#2700.- Improve performance of
get_route_pathby removing regular expression usage #2701.- Consider
FileResponse.chunk_sizewhen handling multiple ranges #2703.- Use
token_hexfor generating multipart boundary strings #2702.0.39.0 (September 23, 2024)
Added
- Add support for HTTP Range to
FileResponse#2697.
4ded4b7
Version 0.40.0 (#2728)fd038f3
Merge commit from forke116840
Bump the python-packages group with 6 updates (#2713)0b50b9c
Version 0.39.2 (#2710)fe46d99
Support request.url_for when only "app" scope is
avaialable (#2672)1a6018e
Support python-multipart 0.0.12 (#2708)fa7b382
Version 0.39.1 (#2706)075efd0
generate boundary with token_hex (#2702)b8139f9
Consider FileResponse.chunk_size when handling multiple
ranges (#2703)4fbf766
test: add tests in test_requests (#2677)