0.45.0
Version 0.45.0
Added 3
- Accept os.PathLike for log_config
- Raise helpful ImportError when PyYAML is missing for YAML log config
- Add --reset-contextvars flag to isolate ASGI request context
Changed 2
- Preserve forwarded client ports in proxy headers middleware
- Accept log_level strings case-insensitively
Fixed 2
- Revert empty context for ASGI runs
- Revert emission of http.disconnect on server shutdown for streaming responses
What's Changed
- Preserve forwarded client ports in proxy headers middleware by @Kludex in https://github.com/Kludex/uvicorn/pull/2903
- Accept
os.PathLikeforlog_configby @Kludex in https://github.com/Kludex/uvicorn/pull/2905 - Accept
log_levelstrings case-insensitively by @Kludex in https://github.com/Kludex/uvicorn/pull/2907 - Raise helpful
ImportErrorwhen PyYAML is missing for YAML log config by @Kludex in https://github.com/Kludex/uvicorn/pull/2906 - Revert empty context for ASGI runs by @Kludex in https://github.com/Kludex/uvicorn/pull/2911
- Add
--reset-contextvarsflag to isolate ASGI request context by @Kludex in https://github.com/Kludex/uvicorn/pull/2912 - Revert "Emit
http.disconnecton server shutdown for streaming responses" (#2829) by @Kludex in https://github.com/Kludex/uvicorn/pull/2913
New Contributors
- @Krishnachaitanyakc made their first contribution in https://github.com/Kludex/uvicorn/pull/2870
Full Changelog: https://github.com/Kludex/uvicorn/compare/0.44.0...0.45.0