Sourced from starlette's releases.
Version 0.40.0
This release fixes a Denial of service (DoS) via
multipart/form-data
requests.You can view the full security advisory: GHSA-f96h-pmfr-66vw
Fixed
- Add
max_part_size
toMultiPartParser
to limit the size of parts inmultipart/form-data
requests fd038f3.Version 0.39.2
Fixed
- Allow use of
request.url_for
when 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.py
andschemas.py
#2700.- Improve performance of
get_route_path
by removing regular expression usage #2701.- Consider
FileResponse.chunk_size
when handling multiple ranges #2703.- Use
token_hex
for 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
Version 0.38.6
Fixed
- Close unclosed
MemoryObjectReceiveStream
inTestClient
#2693.
Full Changelog: https://github.com/encode/starlette/compare/0.38.5...0.38.6
Sourced from starlette's changelog.
0.40.0 (October 15, 2024)
This release fixes a Denial of service (DoS) via
multipart/form-data
requests.You can view the full security advisory: GHSA-f96h-pmfr-66vw
Fixed
- Add
max_part_size
toMultiPartParser
to limit the size of parts inmultipart/form-data
requests fd038f3.0.39.2 (September 29, 2024)
Fixed
- Allow use of
request.url_for
when 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.py
andschemas.py
#2700.- Improve performance of
get_route_path
by removing regular expression usage #2701.- Consider
FileResponse.chunk_size
when handling multiple ranges #2703.- Use
token_hex
for generating multipart boundary strings #2702.0.39.0 (September 23, 2024)
Added
- Add support for HTTP Range to
FileResponse
#2697.0.38.6 (September 22, 2024)
Fixed
- Close unclosed
MemoryObjectReceiveStream
inTestClient
#2693.
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)