Releases: encode/starlette
Releases Β· encode/starlette
Version 0.47.1
Version 0.47.0
Added
- Add support for ASGI
pathsend
extension #2671. - Add
partitioned
attribute toResponse.set_cookie
#2501.
Changed
- Change
methods
parameter type fromlist[str]
toCollection[str]
#2903. - Replace
import typing
byfrom typing import ...
in the whole codebase #2867.
Fixed
- Mark
ExceptionMiddleware.http_exception
as async to prevent thread creation #2922.
New Contributors
- @danlapid made their first contribution in #2922
- @Flecart made their first contribution in #2501
- @AllenSH12 made their first contribution in #2936
- @waketzheng made their first contribution in #2867
- @jonathanberthias made their first contribution in #2903
Full Changelog: 0.46.2...0.47.0
Version 0.46.2
What's Changed
- Use correct index on backwards compatible logic in
TemplateResponse
by @alex-oleshkevich in #2909 - Prevents reraising of exception from
BaseHTTPMiddleware
by @ramannanda9 in #2911
New Contributors
- @ahryniv made their first contribution in #2913
- @ramannanda9 made their first contribution in #2911
Full Changelog: 0.46.1...0.46.2
Version 0.46.1
Fixed
- Allow relative directory path when
follow_symlinks=True
#2896.
Full Changelog: 0.46.0...0.46.1
Version 0.46.0
Added
GZipMiddleware
: Make sureVary
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
: Renamemax_file_size
tospool_max_size
#2780.
Deprecated
- Add deprecated warning to
TestClient(timeout=...)
#2840.
New Contributors
- @musicinmybrain made their first contribution in #2855
- @WilliamDEdwards made their first contribution in #2870
- @mattmess1221 made their first contribution in #2865
Full Changelog: 0.45.3...0.46.0
Version 0.45.3
Version 0.45.2
Fixed
- Make
create_memory_object_stream
compatible with old anyio versions once again, and bump anyio minimum version to 3.6.2 by @graingert in #2833.
Full Changelog: 0.45.1...0.45.2
Version 0.45.1
Fixed
- Collect errors more reliably from WebSocket test client by @graingert in #2814
- Fix unclosed
MemoryObjectReceiveStream
upon exception inBaseHTTPMiddleware
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