python FastAPI Releases · · 0.139.2

FastAPI 0.139.2 Fixes Router Thread Safety

sdkengineerpython-web
patch

FastAPI version 0.139.2 includes a refactor to make router route building thread-safe. This change primarily benefits tests running in parallel threads, which is an uncommon but impactful scenario for ensuring stability. The update is a patch release and requires no specific prerequisites for users.

Fixes (1)
  • 🐛 Refactor router route building to make it thread-safe, mainly relevant for tests running in parallel threads (uncommon). PR #16013 by @tiangolo

Read the original announcement →

https://github.com/fastapi/fastapi/releases/tag/0.139.2

Related releases