Releases: Kludex/uvicorn
Releases · Kludex/uvicorn
Release list
Version 0.51.0
Version 0.50.1
What's Changed
- Split comma-separated
Sec-WebSocket-Protocolvalues in the websockets-sansio implementation by @Aayush7352 in #3019
New Contributors
- @Aayush7352 made their first contribution in #3019
Full Changelog: 0.50.0...0.50.1
Version 0.50.0
What's Changed
- Memoize trusted host checks to avoid re-parsing the client IP per request by @Kludex in #2970
- Cache the
asgiscope sub-dict per connection by @Kludex in #2976 - Build a fresh
asgiscope dict per request by @Kludex in #2977 - Replace click.style with an internal ANSI style helper by @Kludex in #2981
- Avoid copying single-frame WebSocket payloads in websockets-sansio by @Kludex in #2983
- Deprecate the legacy websockets implementation and default
autoto websockets-sansio by @Kludex in #2985 - Exit with a dedicated code on startup failure and stop the supervisor when a worker can't boot by @Kludex in #3001
- Skip the eager app import in the parent when spawning workers by @Kludex in #3012
Full Changelog: 0.49.0...0.50.0
Version 0.49.0
What's Changed
- Bump httptools minimum version to 0.8.0 by @Kludex in #2962
- Consume duplicate forwarding headers in ProxyHeadersMiddleware (reverses the 0.48.0 behavior of ignoring them) by @Kludex in #2971
Full Changelog: 0.48.0...0.49.0
Version 0.48.0
What's Changed
- Default
ssl_cipherstoNoneand use OpenSSL defaults by @Kludex in #2940 - Ignore duplicate forwarding headers in
ProxyHeadersMiddlewareby @Kludex in #2944
Full Changelog: 0.47.0...0.48.0
Version 0.47.0
Version 0.46.0
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