Releases: encode/starlette
Releases Β· encode/starlette
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
Version 0.45.0
Version 0.44.0
Version 0.43.0
Removed
- Remove deprecated
allow_redirects
argument fromTestClient
#2808.
Added
- Make UUID path parameter conversion more flexible #2806.
New Contributors
- @AbduazizZiyodov made their first contribution in #2799
- @edthrn made their first contribution in #2806
Full Changelog: 0.42.0...0.43.0
Version 0.42.0
Added
- Raise
ClientDisconnect
onStreamingResponse
#2732.
Fixed
- Use ETag from headers when parsing If-Range in FileResponse #2761.
- Follow directory symlinks in
StaticFiles
whenfollow_symlinks=True
#2711. - Bump minimum
python-multipart
version to0.0.18
0ba8395. - Bump minimum
httpx
version to0.27.0
#2773.
New Contributors
- @logan-connolly made their first contribution in #2763
- @eltoder made their first contribution in #2768
- @hanxi made their first contribution in #2711
- @viccie30 made their first contribution in #2761
- @dbowring made their first contribution in #2782
- @lealre made their first contribution in #2793
Full Changelog: 0.41.3...0.42.0
Version 0.41.3
Fixed
- Exclude the query parameters from the
scope[raw_path]
on theTestClient
#2716. - Replace
dict
byMapping
onHTTPException.headers
#2749. - Correct middleware argument passing and improve factory pattern #2752.
Full Changelog: 0.41.2...0.41.3