Skip to content

Releases: Kludex/starlette

Version 0.49.1

Choose a tag to compare

@Kludex Kludex released this 28 Oct 17:33
7e4b742

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

Choose a tag to compare

@Kludex Kludex released this 28 Oct 08:10
7d88ea6

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

Choose a tag to compare

@Kludex Kludex released this 13 Sep 08:40
e18637c

Added

  • Add official Python 3.14 support #3013.

Changed


New Contributors

Full Changelog: 0.47.3...0.48.0

Version 0.47.3

Choose a tag to compare

@Kludex Kludex released this 24 Aug 07:08
cb8f84f

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

Choose a tag to compare

@Kludex Kludex released this 20 Jul 17:31
6ee94f2

Fixed

  • Make UploadFile check for future rollover #2962.

New Contributors

Full Changelog: 0.47.1...0.47.2

Version 0.47.1

Choose a tag to compare

@Kludex Kludex released this 21 Jun 03:39
fa53554

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

Choose a tag to compare

@Kludex Kludex released this 29 May 15:44
739321d

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

Version 0.46.2

Choose a tag to compare

@Kludex Kludex released this 13 Apr 13:54
4a81176

What's Changed

New Contributors

Full Changelog: 0.46.1...0.46.2

Version 0.46.1

Choose a tag to compare

@Kludex Kludex released this 08 Mar 10:54
df754ca

Fixed

  • Allow relative directory path when follow_symlinks=True #2896.

Full Changelog: 0.46.0...0.46.1

Version 0.46.0

Choose a tag to compare

@Kludex Kludex released this 22 Feb 17:33
a404872

Added

  • GZipMiddleware: Make sure Vary header is always added if a response can be compressed #2865.

Fixed

  • Raise exception from background task on BaseHTTPMiddleware #2812.
  • GZipMiddleware: Don't compress on server sent events #2871.

Changed

  • MultiPartParser: Rename max_file_size to spool_max_size #2780.

Deprecated

  • Add deprecated warning to TestClient(timeout=...) #2840.

New Contributors

Full Changelog: 0.45.3...0.46.0