uvicorn breaking changes
Updated December 4, 2026
On this page
Latest version 0.55.0, released November 28, 2026. Source repository
Its 0.55.0 release drops Python 3.10. Python end of life dates.
uvicorn 0.55.0 breaking changes
- Removed
Uvicorn 0.55.0 no longer supports Python 3.10; the minimum is now Python 3.11, so upgrade Python before updating. github.com - Behavior changed
With the httptools protocol, trailing whitespace in request header values is now stripped before reaching the application, as h11 and zttp already did. github.com - Behavior changed
The access log uses the raw request path, so encoded targets such as %2F and %41 are logged as sent. Update any log parsing that expected decoded paths. github.com - Configuration changed
Users who build uvicorn from source need uv-dynamic-versioning; a GitHub source tarball gets version 0.0.0 unless UV_DYNAMIC_VERSIONING_BYPASS is set to the version. github.com - Signature changed
uvicorn.main.main
Was def main(app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str, http: HTTPProtocolType | str, http2: bool, ws: WSProtocolType | str, ws_max_size: int, ws_max_queue: int, ws_ping_interval: float... pypi.org
uvicorn 0.53.0 breaking changes
- Removed
uvicorn.protocols.http.httptools_impl.CLOSE_HEADER
uvicorn.protocols.http.httptools_impl.CLOSE_HEADER was removed in uvicorn 0.53.0 pypi.org - Removed
uvicorn.protocols.http.zttp_impl.CLOSE_HEADER
uvicorn.protocols.http.zttp_impl.CLOSE_HEADER was removed in uvicorn 0.53.0 pypi.org - Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] |... pypi.org - Signature changed
uvicorn.config.create_ssl_context
Was def create_ssl_context(certfile: str | os.PathLike[str], keyfile: str | os.PathLike[str] | None, password: str | None, ssl_version: int, cert_reqs: int, ca_certs: str | os.PathLike[str] | None, ciphers: str | None) -> ssl.SSLContext... pypi.org - Signature changed
uvicorn.main.main
Was def main(app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str, http: HTTPProtocolType | str, ws: WSProtocolType | str, ws_max_size: int, ws_max_queue: int, ws_ping_interval: float, ws_ping_timeout: float... pypi.org - Signature changed
uvicorn.run
Was def run(app: ASGIApplication | Callable[..., Any] | str, *, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] | HTTPProtocolType... pypi.org
uvicorn 0.52.3 breaking changes
- Removed
uvicorn.server.ZttpProtocol.events
ZttpProtocol.events was removed in uvicorn 0.52.3 pypi.org - Signature changed
uvicorn.server.ZttpProtocol.handle_events
Was def handle_events(self) -> None; now def handle_events(self, event: zttp.Event) -> None. pypi.org
uvicorn 0.51.0 breaking changes
- Removed
uvicorn.main.Multiprocess.target
Multiprocess.target was removed in uvicorn 0.51.0 pypi.org - Removed
uvicorn.supervisors.multiprocess.Process.real_target
Process.real_target was removed in uvicorn 0.51.0 pypi.org - Signature changed
uvicorn.main.Multiprocess.__init__
Was def __init__(self, config: Config, target: Callable[[list[socket] | None], None], sockets: list[socket]) -> None; now def __init__(self, config: Config, sockets: list[socket]) -> None. pypi.org - Signature changed
uvicorn.supervisors.multiprocess.Process.__init__
Was def __init__(self, config: Config, target: Callable[[list[socket] | None], None], sockets: list[socket]) -> None; now def __init__(self, config: Config, sockets: list[socket]) -> None. pypi.org - Signature changed
uvicorn.supervisors.multiprocess.Process.target
Was def target(self, sockets: list[socket] | None = None) -> Any; now def target(self, sockets: list[socket] | None = None) -> None. pypi.org
uvicorn 0.50.0 breaking changes
- Removed
uvicorn.protocols.websockets.auto.WebSocketProtocol
uvicorn.protocols.websockets.auto.WebSocketProtocol was removed in uvicorn 0.50.0 pypi.org - Removed
uvicorn.server.WebSocketsSansIOProtocol.bytes
WebSocketsSansIOProtocol.bytes was removed in uvicorn 0.50.0 pypi.org
uvicorn 0.48.0 breaking changes
- Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] |... pypi.org - Signature changed
uvicorn.main.main
Was def main(app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str, http: HTTPProtocolType | str, ws: WSProtocolType | str, ws_max_size: int, ws_max_queue: int, ws_ping_interval: float, ws_ping_timeout: float... pypi.org - Signature changed
uvicorn.run
Was def run(app: ASGIApplication | Callable[..., Any] | str, *, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] | HTTPProtocolType... pypi.org
Older versions
26 older versions, each with its first changes. Sign up to see every change
Show 26 older versions
uvicorn 0.47.0 breaking changes
- Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] |... pypi.org - Signature changed
uvicorn.run
Was def run(app: ASGIApplication | Callable[..., Any] | str, *, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] | HTTPProtocolType... pypi.org
uvicorn 0.46.0 breaking changes
- Removed
uvicorn.server.WSProtocol.bytes
WSProtocol.bytes was removed in uvicorn 0.46.0 pypi.org - Removed
uvicorn.server.WSProtocol.handle_bytes
WSProtocol.handle_bytes was removed in uvicorn 0.46.0 pypi.org
And 2 more in this version.
uvicorn 0.45.0 breaking changes
- Removed
uvicorn.protocols.http.h11_impl.RequestResponseCycle.shutting_down
RequestResponseCycle.shutting_down was removed in uvicorn 0.45.0 pypi.org - Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] |... pypi.org
And 2 more in this version.
uvicorn 0.43.0 breaking changes
- Removed
uvicorn.protocols.http.httptools_impl.HTTPResponseStartEvent
uvicorn.protocols.http.httptools_impl.HTTPResponseStartEvent was removed in uvicorn 0.43.0 pypi.org - Removed
uvicorn.protocols.websockets.websockets_impl.WebSocketAcceptEvent
uvicorn.protocols.websockets.websockets_impl.WebSocketAcceptEvent was removed in uvicorn 0.43.0 pypi.org
And 14 more in this version.
uvicorn 0.41.0 breaking changes
- Removed
uvicorn.lifespan.on.LifespanOn.error_occured
LifespanOn.error_occured was removed in uvicorn 0.41.0 pypi.org - Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] |... pypi.org
And 13 more in this version.
uvicorn 0.37.0 breaking changes
- Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopFactoryType | str = 'auto', http: type[asyncio.Protocol] |... pypi.org - Signature changed
uvicorn.main.main
Was def main(app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str, http: HTTPProtocolType | str, ws: WSProtocolType | str, ws_max_size: int, ws_max_queue: int, ws_ping_interval: float, ws_ping_timeout: float... pypi.org
And 1 more in this version.
uvicorn 0.36.0 breaking changes
- Removed
uvicorn.config.LOOP_SETUPS
uvicorn.config.LOOP_SETUPS was removed in uvicorn 0.36.0 pypi.org - Removed
uvicorn.config.LoopSetupType
uvicorn.config.LoopSetupType was removed in uvicorn 0.36.0 pypi.org
And 20 more in this version.
uvicorn 0.34.0 breaking changes
- Behavior changed
The wsproto 500 response now includes a content-length header. Python 3.8 is no longer supported, so users on Python 3.8 must upgrade before installing this release. github.com
uvicorn 0.33.0 breaking changes
- Removed
uvicorn.supervisors.watchgodreload
uvicorn.supervisors.watchgodreload was removed in uvicorn 0.33.0 pypi.org - Removed
WatchGod
WatchGod is no longer supported for the --reload option; reloading now uses the built-in watcher, so code or configs that depend on WatchGod must be updated. github.com
uvicorn 0.32.1 breaking changes
- Behavior changed
The httptools HTTP parser now accepts lenient data, so some malformed requests that were previously rejected may now be accepted. Check any code that depends on strict rejection of bad requests. github.com - Behavior changed
The ASGI spec version in the HTTP scope is lowered to 2.3. Code that reads the asgi version from the scope may see a different value. github.com
uvicorn 0.31.1 breaking changes
- Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: ASGIApplication | Callable[..., Any] | str, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopSetupType = 'auto', http: type[asyncio.Protocol] | HTTPProtocolType... pypi.org - Signature changed
uvicorn.run
Was def run(app: ASGIApplication | Callable[..., Any] | str, *, host: str = '127.0.0.1', port: int = 8000, uds: str | None = None, fd: int | None = None, loop: LoopSetupType = 'auto', http: type[asyncio.Protocol] | HTTPProtocolType =... pypi.org
uvicorn 0.31.0 breaking changes
- Removed
uvicorn.config.ProxyHeadersMiddleware.always_trust
ProxyHeadersMiddleware.always_trust was removed in uvicorn 0.31.0 pypi.org - Removed
uvicorn.config.ProxyHeadersMiddleware.get_trusted_client_host
ProxyHeadersMiddleware.get_trusted_client_host was removed in uvicorn 0.31.0 pypi.org
And 2 more in this version.
uvicorn 0.30.3 breaking changes
- Signature changed
uvicorn.protocols.utils.ClientDisconnected
Was class ClientDisconnected(IOError); now class ClientDisconnected(OSError). pypi.org - Signature changed
uvicorn.protocols.websockets.websockets_impl.ClientDisconnected
Was class ClientDisconnected(IOError); now class ClientDisconnected(OSError). pypi.org
And 1 more in this version.
uvicorn 0.30.0 breaking changes
- Removed
uvicorn.main.Multiprocess.pid
Multiprocess.pid was removed in uvicorn 0.30.0 pypi.org - Removed
uvicorn.main.Multiprocess.shutdown
Multiprocess.shutdown was removed in uvicorn 0.30.0 pypi.org
And 12 more in this version.
uvicorn 0.29.0 breaking changes
- Removed
uvicorn.Server.install_signal_handlers
Server.install_signal_handlers was removed in uvicorn 0.29.0 pypi.org
uvicorn 0.28.1 breaking changes
- Removed
uvicorn.protocols.http.h11_impl.ClientDisconnected
uvicorn.protocols.http.h11_impl.ClientDisconnected was removed in uvicorn 0.28.1 pypi.org - Removed
uvicorn.protocols.http.httptools_impl.ClientDisconnected
uvicorn.protocols.http.httptools_impl.ClientDisconnected was removed in uvicorn 0.28.1 pypi.org
uvicorn 0.28.0 breaking changes
- Removed
uvicorn.protocols.http.httptools_impl.HTTPDisconnectEvent
uvicorn.protocols.http.httptools_impl.HTTPDisconnectEvent was removed in uvicorn 0.28.0 pypi.org - Behavior changed
For WebSocket connections, the scheme is now taken from the X-Forwarded-Proto header when the proxy provides it. Code that reads the WebSocket scheme may see a different value behind a proxy. github.com
And 4 more in this version.
uvicorn 0.27.0 breaking changes
- Behavior changed
send
Calling send() after the client disconnected now raises ClientDisconnect, a subclass of IOError. Code that calls send() must handle this exception. github.com
uvicorn 0.26.0 breaking changes
- Behavior changed
--root-path
The --root-path option now includes the root path prefix in the full ASGI path, as the ASGI spec requires. Code that reads scope path under a root path must expect the prefix. github.com - Signature changed
uvicorn.config.create_ssl_context
Was def create_ssl_context(certfile: Union[str, os.PathLike], keyfile: Optional[Union[str, os.PathLike]], password: Optional[str], ssl_version: int, cert_reqs: int, ca_certs: Optional[Union[str, os.PathLike]], ciphers: Optional[str]) ->... pypi.org
And 2 more in this version.
uvicorn 0.25.0 breaking changes
- Removed
uvicorn.protocols.websockets.websockets_impl.WebSocketReceiveEvent.bytes
WebSocketReceiveEvent.bytes was removed in uvicorn 0.25.0 pypi.org - Removed
uvicorn.protocols.websockets.websockets_impl.WebSocketReceiveEvent.text
WebSocketReceiveEvent.text was removed in uvicorn 0.25.0 pypi.org
And 17 more in this version.
uvicorn 0.23.0 breaking changes
- Removed
Python 3.7 is no longer supported. Users on Python 3.7 must upgrade their Python version before installing this release. github.com - Behavior changed
A circular import now raises ImportError instead of being handled silently. Code that relies on circular imports of this package must be restructured. github.com
And 6 more in this version.
uvicorn 0.22.0 breaking changes
- Signature changed
uvicorn.Config.__init__
Was def __init__(self, app: Union[ASGIApplication, Callable, str], host: str = '127.0.0.1', port: int = 8000, uds: Optional[str] = None, fd: Optional[int] = None, loop: LoopSetupType = 'auto', http: Union[Type[asyncio.Protocol]... pypi.org - Signature changed
uvicorn.config.Config.__init__
Was def __init__(self, app: Union[ASGIApplication, Callable, str], host: str = '127.0.0.1', port: int = 8000, uds: Optional[str] = None, fd: Optional[int] = None, loop: LoopSetupType = 'auto', http: Union[Type[asyncio.Protocol]... pypi.org
And 3 more in this version.
uvicorn 0.21.0 breaking changes
- Removed
uvicorn.config.WSGIMiddleware.__call__
WSGIMiddleware.__call__ was removed in uvicorn 0.21.0 pypi.org - Removed
uvicorn.config.WSGIMiddleware.__init__
WSGIMiddleware() was removed in uvicorn 0.21.0 pypi.org
And 25 more in this version.
uvicorn 0.20.0 breaking changes
- Removed
uvicorn.protocols.websockets.wsproto_impl.WSProtocol.handle_no_connect
WSProtocol.handle_no_connect was removed in uvicorn 0.20.0 pypi.org - Removed
uvicorn.server.WSProtocol.handle_no_connect
WSProtocol.handle_no_connect was removed in uvicorn 0.20.0 pypi.org
uvicorn 0.19.0 breaking changes
- Removed
--debug
The --debug flag is gone; code or scripts passing it will fail. Remove the flag from invocations. github.com - Removed
uvicorn.config.Config.debug
Config.debug was removed in uvicorn 0.19.0 pypi.org
And 15 more in this version.
uvicorn 0.18.0 breaking changes
- Removed
uvicorn.logging
uvicorn.logging was removed in uvicorn 0.18.0 pypi.org - Removed
uvicorn.subprocess
uvicorn.subprocess was removed in uvicorn 0.18.0 pypi.org
And 19 more in this version.
Related packages
- uvicorn on Homebrew
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.