Releases: Kludex/starlette
Releases · Kludex/starlette
Release list
Version 1.6.0
What's Changed
- Add
max_body_sizetoStarletteand route classes by @Kludex in #3431 - Expose
http.response.debuginfo via response extensions by @y2kbugger in #3130
New Contributors
- @y2kbugger made their first contribution in #3130
Full Changelog: 1.5.1...1.6.0
Version 1.5.1
What's Changed
- Reject inverted single-byte Range like
bytes=5-4by @nikolauspschuetz in #3389 - Limit
FileResponseto 100 ranges by @Kludex in #3430
Full Changelog: 1.5.0...1.5.1
Version 1.5.0
This release is all about giving GZipMiddleware some love. 🗜️
What's Changed
- Add
exclude_content_typesparameter toGZipMiddlewareby @Kludex in #3418 - Flush GZip output for each streamed chunk by @Kludex in #3419
- Skip compression of partial responses in
GZipMiddlewareby @Kludex in #3420 - Expand default excluded content types in
GZipMiddlewareby @Kludex in #3421
Full Changelog: 1.4.1...1.5.0
Version 1.4.1
What's Changed
Full Changelog: 1.4.0...1.4.1
Version 1.4.0
What's Changed
- Lazily allocate GZipMiddleware compression resources by @Kludex in #3407
- Use
zlib.compressobjinstead ofGzipFileinGZipMiddlewareby @Kludex in #3411 - Offload large GZip compression by @Kludex in #3410
New Contributors
- @benberryallwood made their first contribution in #3334
- @lkk7 made their first contribution in #3359
Full Changelog: 1.3.1...1.4.0
Version 1.3.1
Version 1.3.0
What's Changed
- Clamp oversized suffix ranges in
FileResponseby @jiyujie2006 in #3307 - Catch
OSErroralongsideMultiPartExceptionwhen closing temp files by @N3XT3R1337 in #3191 - Add
httpx2to thefullextra by @Kludex in #3323 - Adjust testclient typing and warnings by @waketzheng in #3322
- Fix IndexError in URL.replace() on a URL with no authority by @LeSingh1 in #3317
- Annotate URLPath protocol parameter with Literal by @Chang-LeHung in #3285
- avoid collapsing exception groups from user code by @graingert in #2830
- Use
removeprefixto strip weak ETag indicator inis_not_modifiedby @gnosyslambda in #3193 - Build
request.urlfrom structured components by @Kludex in #3326
New Contributors
- @jiyujie2006 made their first contribution in #3307
- @N3XT3R1337 made their first contribution in #3191
- @leestana01 made their first contribution in #3319
- @LeSingh1 made their first contribution in #3317
- @EmmanuelNiyonshuti made their first contribution in #3204
- @Chang-LeHung made their first contribution in #3285
- @gnosyslambda made their first contribution in #3193
Full Changelog: 1.2.1...1.3.0
Version 1.2.1
What's Changed
- Use
httpx2for type checking in thetestclientmodule by @leifwar in #3304 - Add assert error for requires() when request param is not Request type by @KeeganOP in #3298
New Contributors
- @leifwar made their first contribution in #3304
- @diskeu made their first contribution in #3243
- @KeeganOP made their first contribution in #3298
Full Changelog: 1.2.0...1.2.1
Version 1.2.0
Version 1.1.0
What's Changed
- Use
"application/octet-stream"as theFileResponsemedia type fallback by @ATOM00blue in #3283 - Only dispatch standard HTTP verbs in
HTTPEndpointby @Kludex in #3286 - Reject absolute paths in
StaticFiles.lookup_pathby @Kludex in #3287
New Contributors
- @ATOM00blue made their first contribution in #3283
Full Changelog: 1.0.1...1.1.0