python FastAPI Releases · · 0.138.0

FastAPI 0.138.0: Frontend support and documentation updates

sdkengineerpython-web
feature patch

FastAPI version 0.138.0 introduces support for serving frontend applications directly from `app.frontend()` and `router.frontend()`. This release also includes numerous documentation improvements, translations, and internal fixes. The changes are relevant for developers using FastAPI to build web applications, particularly those integrating static frontend assets.

  • ✨ Add support for app.frontend("/", directory="dist") and router.frontend("/", directory="dist"). PR #15800 by @tiangolo
  • Read the docs: Frontend
  • 📝 Fix typo in release notes. PR #15807 by @tiangolo
  • 📝 Add app.frontend() instructions to Agent Library Skill. PR #15805 by @tiangolo
  • 📝 Update release notes link. PR #15802 by @tiangolo
Features (2)
  • ✨ Add support for app.frontend("/", directory="dist") and router.frontend("/", directory="dist"). PR #15800 by @tiangolo
  • Read the docs: Frontend
Maintenance (10)
  • 📝 Fix typo in release notes. PR #15807 by @tiangolo
  • 📝 Add app.frontend() instructions to Agent Library Skill. PR #15805 by @tiangolo
  • 📝 Update release notes link. PR #15802 by @tiangolo
  • ✏️ Update white space characters in bigger apps. PR #15801 by @tiangolo
  • ✏️ Fix grammar, typos, and broken links in docs. PR #15694 by @YuriiMotov
  • 🐛 Fix failing test, update format for raised errors. PR #15804 by @tiangolo
  • 👷 Fix test-alls-green. PR #15803 by @tiangolo
  • 🔧 Enable checking release-notes.md for typos. PR #15796 by @YuriiMotov
  • 📝 Tweak wording about deploying to FastAPI Cloud. PR #15793 by @tiangolo
  • 🔨 Use gpt-5.5 model in translate.py, specify -chat to avoid warnings. PR #15792 by @YuriiMotov
Read the original announcement →

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

Related releases