I track FastAPI runtime improvements here, including response-model performance and a long-running router refactor.
I said declaring a return type gives many FastAPI features and now also “the best performance possible.”
I described the router refactor as a difficult project and said I started working on it in 2022.
I said the completed router work will unlock so many cool things.
I wrote, “I can't believe it's finally done.”
The router work is a FastAPI release milestone, alongside the updates I track in fastapi release maintenance.
Related: streaming responses, fastapi release maintenance, opentelemetry and diagnostics