Releases: Kludex/uvicorn
Releases Β· Kludex/uvicorn
Version 0.45.0
What's Changed
- Preserve forwarded client ports in proxy headers middleware by @Kludex in #2903
- Accept
os.PathLikeforlog_configby @Kludex in #2905 - Accept
log_levelstrings case-insensitively by @Kludex in #2907 - Raise helpful
ImportErrorwhen PyYAML is missing for YAML log config by @Kludex in #2906 - Revert empty context for ASGI runs by @Kludex in #2911
- Add
--reset-contextvarsflag to isolate ASGI request context by @Kludex in #2912 - Revert "Emit
http.disconnecton server shutdown for streaming responses" (#2829) by @Kludex in #2913
New Contributors
- @Krishnachaitanyakc made their first contribution in #2870
Full Changelog: 0.44.0...0.45.0
Version 0.44.0
What's Changed
Full Changelog: 0.43.0...0.44.0
Version 0.43.0
Changed
- Emit
http.disconnectASGIreceive()event on server shutting down for streaming responses (#2829) - Use native
contextparameter forcreate_taskon Python 3.11+ (#2859) - Drop cast in ASGI types (#2875)
Full Changelog: 0.42.0...0.43.0
Version 0.42.0
Changed
- Use
bytearrayfor request body accumulation to avoid O(n^2) allocation on fragmented bodies (#2845)
Fixed
- Escape brackets and backslash in httptools
HEADER_REregex (#2824) - Fix multiple issues in websockets sans-io implementation (#2825)
New Contributors
Full Changelog: 0.41.0...0.42.0
Version 0.41.0
Added
- Add
--limit-max-requests-jitterto stagger worker restarts (#2707) - Add socket path to
scope["server"](#2561)
Changed
- Rename
LifespanOn.error_occuredtoerror_occurred(#2776)
Fixed
- Ignore permission denied errors in watchfiles reloader (#2817)
- Ensure lifespan shutdown runs when
should_exitis set during startup (#2812) - Reduce the log level of 'request limit exceeded' messages (#2788)
New Contributors
- @t-kawasumi made their first contribution in #2776
- @fardyn made their first contribution in #2800
- @ewie made their first contribution in #2807
- @shevron made their first contribution in #2788
- @jonashaag made their first contribution in #2707
Full Changelog: 0.40.0...0.41.0
Version 0.40.0
Version 0.39.0
Version 0.38.0
What's Changed
New Contributors
- @NGANAMODEIJunior made their first contribution in #2713
Full Changelog: 0.37.0...0.38.0
Version 0.37.0
What's Changed
- Add
--timeout-worker-healthchecksetting by @Kludex in #2711 - Add
os.PathLike[str]type tossl_ca_certsby @rnv812 in #2676
New Contributors
- @LincolnPuzey made their first contribution in #2669
- @rnv812 made their first contribution in #2676
Full Changelog: 0.36.1...0.37.0
Version 0.36.1
What's Changed
Full Changelog: 0.36.0...0.36.1