Overview

Uvicorn 0.36, released on September 20, 2025, adds support for a custom event loop (IOLOOP).

Main Features

Custom IOLOOP

It is now possible to specify a custom event loop via the --loop parameter, allowing the use of uvloop, asyncio, or any compatible implementation.

python
# Use with uvloop
# uvicorn app:app --loop uvloop

# Use with standard asyncio
# uvicorn app:app --loop asyncio

# Configuration via code
import uvicorn

uvicorn.run('app:app', loop='uvloop', port=8000)

Sources