Skip to content

Releases: encode/starlette

Version 0.45.1

30 Dec 21:08
7c0d1e6
Compare
Choose a tag to compare

Fixed

  • Collect errors more reliably from WebSocket test client by @graingert in #2814
  • Fix unclosed MemoryObjectReceiveStream upon exception in BaseHTTPMiddleware children by @Kludex in #2813

Refactor

  • Use a pair of memory object streams instead of two queues by @graingert in #2829

Full Changelog: 0.45.0...0.45.1

Version 0.45.0

29 Dec 09:26
31d182c
Compare
Choose a tag to compare

Removed

  • Drop Python 3.8 by @Kludex in #2823
  • Remove ExceptionMiddleware import proxy from starlette.exceptions module by @Kludex in #2826
  • Remove deprecated WS_1004_NO_STATUS_RCVD and WS_1005_ABNORMAL_CLOSURE by @Kludex in #2827

Full Changelog: 0.44.0...0.45.0

Version 0.44.0

28 Dec 07:32
edfb48f
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Added

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

Version 0.40.0

15 Oct 06:51
4ded4b7
Compare
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.