pypi fastapi 0.112.3

latest releases: 0.115.0, 0.114.2, 0.114.1...
14 days ago

This release is mainly internal refactors, it shouldn't affect apps using FastAPI in any way. You don't even have to upgrade to this version yet. There are a few bigger releases coming right after. 🚀

Refactors

  • ♻️ Refactor internal check_file_field(), rename to ensure_multipart_is_installed() to clarify its purpose. PR #12106 by @tiangolo.
  • ♻️ Rename internal create_response_field() to create_model_field() as it's used for more than response models. PR #12103 by @tiangolo.
  • ♻️ Refactor and simplify internal data from solve_dependencies() using dataclasses. PR #12100 by @tiangolo.
  • ♻️ Refactor and simplify internal analyze_param() to structure data with dataclasses instead of tuple. PR #12099 by @tiangolo.
  • ♻️ Refactor and simplify dependencies data structures with dataclasses. PR #12098 by @tiangolo.

Docs

  • 📝 Add External Link: Techniques and applications of SQLAlchemy global filters in FastAPI. PR #12109 by @TheShubhendra.
  • 📝 Add note about time.perf_counter() in middlewares. PR #12095 by @tiangolo.
  • 📝 Tweak middleware code sample time.time() to time.perf_counter(). PR #11957 by @domdent.
  • 🔧 Update sponsors: Coherence. PR #12093 by @tiangolo.
  • 📝 Fix async test example not to trigger DeprecationWarning. PR #12084 by @marcinsulikowski.
  • 📝 Update docs_src/path_params_numeric_validations/tutorial006.py. PR #11478 by @MuhammadAshiqAmeer.
  • 📝 Update comma in docs/en/docs/async.md. PR #12062 by @Alec-Gillis.
  • 📝 Update docs about serving FastAPI: ASGI servers, Docker containers, etc.. PR #12069 by @tiangolo.
  • 📝 Clarify response_class parameter, validations, and returning a response directly. PR #12067 by @tiangolo.
  • 📝 Fix minor typos and issues in the documentation. PR #12063 by @svlandeg.
  • 📝 Add note in Docker docs about ensuring graceful shutdowns and lifespan events with CMD exec form. PR #11960 by @GPla.

Translations

  • 🌐 Add Dutch translation for docs/nl/docs/features.md. PR #12101 by @maxscheijen.
  • 🌐 Add Portuguese translation for docs/pt/docs/advanced/testing-events.md. PR #12108 by @ceb10n.
  • 🌐 Add Portuguese translation for docs/pt/docs/advanced/security/index.md. PR #12114 by @ceb10n.
  • 🌐 Add Dutch translation for docs/nl/docs/index.md. PR #12042 by @svlandeg.
  • 🌐 Update Chinese translation for docs/zh/docs/how-to/index.md. PR #12070 by @synthpop123.

Internal

Don't miss a new fastapi release

NewReleases is sending notifications on new releases.