1.3.0
Version 1.3.0
Added 1
- Add httpx2 to the full extra
Changed 4
- Adjust testclient typing and warnings
- Annotate URLPath protocol parameter with Literal
- Use removeprefix to strip weak ETag indicator in is_not_modified
- Build request.url from structured components
Fixed 4
- Clamp oversized suffix ranges in FileResponse
- Catch OSError alongside MultiPartException when closing temp files
- Fix IndexError in URL.replace() on a URL with no authority
- Avoid collapsing exception groups from user code
What's Changed
- Clamp oversized suffix ranges in
FileResponseby @jiyujie2006 in https://github.com/Kludex/starlette/pull/3307 - Catch
OSErroralongsideMultiPartExceptionwhen closing temp files by @N3XT3R1337 in https://github.com/Kludex/starlette/pull/3191 - Add
httpx2to thefullextra by @Kludex in https://github.com/Kludex/starlette/pull/3323 - Adjust testclient typing and warnings by @waketzheng in https://github.com/Kludex/starlette/pull/3322
- Fix IndexError in URL.replace() on a URL with no authority by @LeSingh1 in https://github.com/Kludex/starlette/pull/3317
- Annotate URLPath protocol parameter with Literal by @Chang-LeHung in https://github.com/Kludex/starlette/pull/3285
- avoid collapsing exception groups from user code by @graingert in https://github.com/Kludex/starlette/pull/2830
- Use
removeprefixto strip weak ETag indicator inis_not_modifiedby @gnosyslambda in https://github.com/Kludex/starlette/pull/3193 - Build
request.urlfrom structured components by @Kludex in https://github.com/Kludex/starlette/pull/3326
New Contributors
- @jiyujie2006 made their first contribution in https://github.com/Kludex/starlette/pull/3307
- @N3XT3R1337 made their first contribution in https://github.com/Kludex/starlette/pull/3191
- @leestana01 made their first contribution in https://github.com/Kludex/starlette/pull/3319
- @LeSingh1 made their first contribution in https://github.com/Kludex/starlette/pull/3317
- @EmmanuelNiyonshuti made their first contribution in https://github.com/Kludex/starlette/pull/3204
- @Chang-LeHung made their first contribution in https://github.com/Kludex/starlette/pull/3285
- @gnosyslambda made their first contribution in https://github.com/Kludex/starlette/pull/3193
Full Changelog: https://github.com/Kludex/starlette/compare/1.2.1...1.3.0