Overview

Uvicorn 0.34, released on December 15, 2024, drops Python 3.8 support and cleans up the codebase.

Main Features

Dropped Python 3.8

Python 3.8, which reached end of life, is no longer supported. Internal code now uses Python 3.9+ features like dict | dict and removeprefix().

python
# Python 3.9+ required
# pip install uvicorn>=0.34

import uvicorn

# Modern syntax used internally
config = {'host': '0.0.0.0'} | {'port': 8000}
uvicorn.run('app:app', **config)

Sources