Skip to content

Releases: Kludex/starlette

Version 0.44.0

28 Dec 07:32
edfb48f

Choose a tag to compare

Added

  • Add max_part_size parameter to Request.form() by @iudeen in #2815
  • Add client parameter to TestClient by @iudeen in #2810

New Contributors

Full Changelog: 0.43.0...0.44.0

Version 0.43.0

25 Dec 09:12
4e625bb

Choose a tag to compare

Removed

  • Remove deprecated allow_redirects argument from TestClient #2808.

Added

  • Make UUID path parameter conversion more flexible #2806.

New Contributors

Full Changelog: 0.42.0...0.43.0

Version 0.42.0

14 Dec 09:00
28991b7

Choose a tag to compare

Added

  • Raise ClientDisconnect on StreamingResponse #2732.

Fixed

  • Use ETag from headers when parsing If-Range in FileResponse #2761.
  • Follow directory symlinks in StaticFiles when follow_symlinks=True #2711.
  • Bump minimum python-multipart version to 0.0.18 0ba8395.
  • Bump minimum httpx version to 0.27.0 #2773.

New Contributors

Full Changelog: 0.41.3...0.42.0

Version 0.41.3

18 Nov 19:44
1a8efba

Choose a tag to compare

Fixed

  • Exclude the query parameters from the scope[raw_path] on the TestClient #2716.
  • Replace dict by Mapping on HTTPException.headers #2749.
  • Correct middleware argument passing and improve factory pattern #2752.

Full Changelog: 0.41.2...0.41.3

Version 0.41.2

27 Oct 08:19
afeb7c2

Choose a tag to compare

What's Changed


Full Changelog: 0.41.1...0.41.2

Version 0.41.1

24 Oct 14:40
18bbb5c

Choose a tag to compare

What's Changed

  • Change python-multipart import to python_multipart by @Kludex in #2733
  • Bump minimum python-multipart version to 0.0.13 by @Kludex in #2734

Full Changelog: 0.41.0...0.41.1

Version 0.41.0

15 Oct 17:31
46131a1

Choose a tag to compare

Added

  • Allow to raise HTTPException before websocket.accept() #2725

Version 0.40.0

15 Oct 06:51
4ded4b7

Choose a tag to compare

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 to MultiPartParser to limit the size of parts in multipart/form-data
    requests fd038f3.

Version 0.39.2

29 Sep 10:34
0b50b9c

Choose a tag to compare

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: 0.39.1...0.39.2

Version 0.39.1

25 Sep 15:25
fa7b382

Choose a tag to compare

Fixed

  • Avoid regex re-compilation in responses.py and schemas.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: 0.39.0...0.39.1