Skip to content

Releases: Kludex/starlette

Version 0.50.0

01 Nov 15:24
4941b4a

Choose a tag to compare

Removed

  • Drop Python 3.9 support #3061.

Full Changelog: 0.49.3...0.50.0

Version 0.49.3

01 Nov 15:11
de3ffec

Choose a tag to compare

Fixed

  • Relax strictness on Middleware type #3059.

Full Changelog: 0.49.2...0.49.3

Version 0.49.2

01 Nov 11:38
85bf027

Choose a tag to compare

Fixed

  • Ignore if-modified-since header if if-none-match is present in StaticFiles #3044.

Full Changelog: 0.49.1...0.49.2

Version 0.49.1

28 Oct 17:33
7e4b742

Choose a tag to compare

This release fixes a security vulnerability in the parsing logic of the Range header in FileResponse.

You can view the full security advisory: GHSA-7f5h-v6xp-fcq8

Fixed


Full Changelog: 0.49.0...0.49.1

Version 0.49.0

28 Oct 08:10
7d88ea6

Choose a tag to compare

Added

  • Add encoding parameter to Config class #2996.
  • Support multiple cookie headers in Request.cookies #3029.
  • Use Literal type for WebSocketEndpoint encoding values #3027.

Changed

  • Do not pollute exception context in Middleware when using BaseHTTPMiddleware #2976.

New Contributors

Full Changelog: 0.48.0...0.49.0

Version 0.48.0

13 Sep 08:40
e18637c

Choose a tag to compare

Added

  • Add official Python 3.14 support #3013.

Changed


New Contributors

Full Changelog: 0.47.3...0.48.0

Version 0.47.3

24 Aug 07:08
cb8f84f

Choose a tag to compare

Fixed

  • Use asyncio.iscoroutinefunction for Python 3.12 and older by @mjpieters in #2984

New Contributors

Full Changelog: 0.47.2...0.47.3

0.47.2

20 Jul 17:31
6ee94f2

Choose a tag to compare

Fixed

  • Make UploadFile check for future rollover #2962.

New Contributors

Full Changelog: 0.47.1...0.47.2

Version 0.47.1

21 Jun 03:39
fa53554

Choose a tag to compare

Fixed

  • Use Self in TestClient.__enter__ #2951
  • Allow async exception handlers to type-check #2949

Full Changelog: 0.47.0...0.47.1

Version 0.47.0

29 May 15:44
739321d

Choose a tag to compare

Added

  • Add support for ASGI pathsend extension #2671.
  • Add partitioned attribute to Response.set_cookie #2501.

Changed

  • Change methods parameter type from list[str] to Collection[str] #2903.
  • Replace import typing by from typing import ... in the whole codebase #2867.

Fixed

  • Mark ExceptionMiddleware.http_exception as async to prevent thread creation #2922.

New Contributors

Full Changelog: 0.46.2...0.47.0