Fixes
- 🐛 Fix
allow_inf_nan
option for Param and Body classes. PR #11867 by @giunio-prc. - 🐛 Ensure that
app.include_router
merges nested lifespans. PR #9630 by @Lancetnik.
Refactors
- 🎨 Fix typing annotation for semi-internal
FastAPI.add_api_route()
. PR #10240 by @ordinary-jamie. - ⬆️ Upgrade version of Ruff and reformat. PR #12032 by @tiangolo.
Docs
- 📝 Fix a typo in
docs/en/docs/virtual-environments.md
. PR #12064 by @aymenkrifa. - 📝 Add docs about Environment Variables and Virtual Environments. PR #12054 by @tiangolo.
- 📝 Add Asyncer mention in async docs. PR #12037 by @tiangolo.
- 📝 Move the Features docs to the top level to improve the main page menu. PR #12036 by @tiangolo.
- ✏️ Fix import typo in reference example for
Security
. PR #11168 by @0shah0. - 📝 Highlight correct line in tutorial
docs/en/docs/tutorial/body-multiple-params.md
. PR #11978 by @svlandeg. - 🔥 Remove Sentry link from Advanced Middleware docs. PR #12031 by @alejsdev.
- 📝 Clarify management tasks for translations, multiples files in one PR. PR #12030 by @tiangolo.
- 📝 Edit the link to the OpenAPI "Responses Object" and "Response Object" sections in the "Additional Responses in OpenAPI" section. PR #11996 by @VaitoSoi.
- 🔨 Specify
email-validator
dependency with dash. PR #11515 by @jirikuncar. - 🌐 Add Spanish translation for
docs/es/docs/project-generation.md
. PR #11947 by @alejsdev. - 📝 Fix minor typo. PR #12026 by @MicaelJarniac.
- 📝 Several docs improvements, tweaks, and clarifications. PR #11390 by @nilslindemann.
- 📝 Add missing
compresslevel
parameter on docs forGZipMiddleware
. PR #11350 by @junah201. - 📝 Fix inconsistent response code when item already exists in docs for testing. PR #11818 by @lokomilo.
- 📝 Update
docs/en/docs/tutorial/body.md
with Python 3.10 union type example. PR #11415 by @rangzen.
Translations
- 🌐 Add Portuguese translation for
docs/pt/docs/tutorial/request_file.md
. PR #12018 by @Joao-Pedro-P-Holanda. - 🌐 Add Japanese translation for
docs/ja/docs/learn/index.md
. PR #11592 by @ukwhatn. - 📝 Update Spanish translation docs for consistency. PR #12044 by @alejsdev.
- 🌐 Update Chinese translation for
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #12028 by @xuvjso. - 📝 Update FastAPI People, do not translate to have the most recent info. PR #12034 by @tiangolo.
- 🌐 Update Urdu translation for
docs/ur/docs/benchmarks.md
. PR #10046 by @AhsanSheraz.
Internal
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #12046 by @pre-commit-ci[bot].
- 🔧 Update coverage config files. PR #12035 by @tiangolo.
- 🔨 Standardize shebang across shell scripts. PR #11942 by @gitworkflows.
- ⬆ Update sqlalchemy requirement from <1.4.43,>=1.3.18 to >=1.3.18,<2.0.33. PR #11979 by @dependabot[bot].
- 🔊 Remove old ignore warnings. PR #11950 by @tiangolo.
- ⬆️ Upgrade griffe-typingdoc for the docs. PR #12029 by @tiangolo.
- 🙈 Add .coverage* to
.gitignore
. PR #11940 by @gitworkflows. - ⚙️ Record and show test coverage contexts (what test covers which line). PR #11518 by @slafs.