Releases: encode/uvicorn
Releases Β· encode/uvicorn
Version 0.25.0
Added
- Support the WebSocket Denial Response ASGI extension (#1916) 17/12/23
Fixed
- Allow explicit hidden file paths on
--reload-include
(#2176) 08/12/23 - Properly annotate
uvicorn.run()
(#2158) 22/11/23
Full Changelog: 0.24.0...0.25.0
Version 0.24.0.post1
Fixed
- Revert mkdocs-material from 9.1.21 to 9.2.6 (#2148) 05/11/23
Version 0.24.0
Version 0.23.2
Fixed
- Maintain the same behavior of
websockets
from 10.4 on 11.0 (#2061) 30/07/23
Full Changelog: 0.23.1...0.23.2
Version 0.23.1
Fixed
- Add
typing_extensions
for Python 3.10 and lower (#2053) 18/07/23
Full Changelog: 0.23.0...0.23.1
Version 0.23.0
Added
- Add
--ws-max-queue
parameter WebSockets (#2033) 10/07/23
Removed
Fixed
- Set
scope["scheme"]
tows
orwss
instead ofhttp
orhttps
onProxyHeadersMiddleware
for WebSockets (#2043) 12/07/23
Changed
- Raise
ImportError
on circular import (#2040) 09/07/23 - Use
logger.getEffectiveLevel()
instead oflogger.level
to check if log level isTRACE
(#1966) 01/06/23
Full Changelog: 0.22.0...0.23.0
Version 0.22.0
Added
Fixed
- Shutdown event is now being triggered on Windows when using hot reload (#1584)
--reload-delay
is effectively used on thewatchfiles
reloader (#1930)
Full Changelog: 0.21.1...0.22.0
Version 0.21.1
Fixed
- Reset lifespan state on each request (#1903) 16/03/23
Version 0.21.0
Added
- Introduce lifespan state (#1818) 05/03/23
- Allow headers to be sent as iterable on H11 implementation (#1782) 27/11/22
- Improve discoverability when --port=0 is used (#1890) 09/03/23
Changed
- Avoid importing
h11
andpyyaml
when not needed to improve import time (#1846) 07/02/23 - Replace current native
WSGIMiddleware
implementation bya2wsgi
(#1825) 16/01/23 - Change default
--app-dir
from "." (dot) to "" (empty string) (#1835) 06/01/23
Fixed
- Send code 1012 on shutdown for WebSockets (#1816) 06/01/23
- Use
surrogateescape
to encode headers onwebsockets
implementation (#1005) 12/12/22 - Fix warning message on reload failure (#1784) 29/11/22
Full Changelog: 0.20.0...0.21.0
Version 0.20.0
Added
- Check if handshake is completed before sending frame on
wsproto
shutdown (#1737) - Add default headers to WebSockets implementations (#1606 & #1747) 28/10/22
- Warn user when
reload
andworkers
flag are used together (#1731) 31/10/22
Fixed
- Use correct
WebSocket
error codes onclose
(#1753) 20/11/22 - Send disconnect event on connection lost for
wsproto
(#996) 29/10/22 - Add
SIGQUIT
handler toUvicornWorker
(#1710) 01/11/22 - Fix crash on exist with "--uds" if socket doesn't exist (#1725) 27/10/22
- Annotate
CONFIG_KWARGS
inUvicornWorker
class (#1746) 31/10/22