FastAPI 0.165.0
Release note: FastAPI 0.165.0. Pin the version, smoke /docs, watch p99.
What changed
FastAPI 0.165.0
Upstream release pages mix real fixes with docs and helper text. Treat the link as source of truth, not as a migration guide.
Takeaways
- Source: https://github.com/fastapi/fastapi/releases/tag/0.165.0
- Pin the version in the lockfile before any fleet roll.
- Smoke
/docs, one authenticated read, and one write path. - Watch p99 for ~15 minutes; mean latency hides worker stalls.
Context
Open the upstream release for the full list; this note only covers roll risk.
from fastapi import FastAPI
app = FastAPI()
@app.get("/health")
def health():
return {"ok": True}
Roll note
If the release only changes docs or AI helper text, skip the upgrade. If it touches validation, forms, or request body limits, run contract tests first.