Update dependency fastapi to v0.112.1
This MR contains the following updates:
Package | Update | Change |
---|---|---|
fastapi (changelog) | minor |
==0.111.1 -> ==0.112.1
|
fastapi (changelog) | minor |
==0.111.0 -> ==0.112.1
|
Release Notes
fastapi/fastapi (fastapi)
v0.112.1
Upgrades
-
⬆ ️ Allow Starlette 0.38.x, update the pin to>=0.37.2,<0.39.0
. MR #11876 by @musicinmybrain.
Docs
-
📝 Update docs section about "Don't Translate these Pages". MR #12022 by @tiangolo. -
📝 Add documentation for non-translated pages and scripts to verify them. MR #12020 by @tiangolo. -
📝 Update docs about discussions questions. MR #11985 by @tiangolo.
Translations
-
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/bigger-applications.md
. MR #11971 by @marcelomarkus. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/testing-websockets.md
. MR #11994 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/testing-dependencies.md
. MR #11995 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/using-request-directly.md
. MR #11956 by @ceb10n. -
🌐 Add French translation fordocs/fr/docs/tutorial/body-multiple-params.md
. MR #11796 by @pe-brian. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/query-params.md
. MR #11557 by @caomingpei. -
🌐 Update typo in Chinese translation fordocs/zh/docs/advanced/testing-dependencies.md
. MR #11944 by @bestony. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/sub-applications.md
anddocs/pt/docs/advanced/behind-a-proxy.md
. MR #11856 by @marcelomarkus. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/cors.md
anddocs/pt/docs/tutorial/middleware.md
. MR #11916 by @wesinalves. -
🌐 Add French translation fordocs/fr/docs/tutorial/path-params-numeric-validations.md
. MR #11788 by @pe-brian.
Internal
-
⬆ Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0. MR #11727 by @dependabot[bot]. -
🔧 Add changelog URL topyproject.toml
, shows in PyPI. MR #11152 by @Pierre-VF. -
👷 Do not sync labels as it overrides manually added labels. MR #12024 by @tiangolo. -
👷🏻 Update Labeler GitHub Actions. MR #12019 by @tiangolo. -
🔧 Update configs for MkDocs for languages and social cards. MR #12016 by @tiangolo. -
👷 Update permissions and config for labeler GitHub Action. MR #12008 by @tiangolo. -
👷🏻 Add GitHub Action label-checker. MR #12005 by @tiangolo. -
👷 Add label checker GitHub Action. MR #12004 by @tiangolo. -
👷 Update GitHub Action add-to-project. MR #12002 by @tiangolo. -
🔧 Update labeler GitHub Action. MR #12001 by @tiangolo. -
👷 Add GitHub Action labeler. MR #12000 by @tiangolo. -
👷 Add GitHub Action add-to-project. MR #11999 by @tiangolo. -
📝 Update admonitions in docs missing. MR #11998 by @tiangolo. -
🔨 Update docs.py script to enable dirty reload conditionally. MR #11986 by @tiangolo. -
🔧 Update MkDocs instant previews. MR #11982 by @tiangolo. -
🐛 Fix deploy docs previews script to handle mkdocs.yml files. MR #11984 by @tiangolo. -
💡 Add comment about custom Termynal line-height. MR #11976 by @tiangolo. -
👷 Add alls-green for test-redistribute. MR #11974 by @tiangolo. -
👷 Update docs-previews to handle no docs changes. MR #11975 by @tiangolo. -
🔨 Refactor scriptdeploy_docs_status.py
to account for deploy URLs with or without trailing slash. MR #11965 by @tiangolo. -
🔒 ️ Update permissions for deploy-docs action. MR #11964 by @tiangolo. -
👷🏻 Add deploy docs status and preview links to MRs. MR #11961 by @tiangolo. -
🔧 Update docs setup with latest configs and plugins. MR #11953 by @tiangolo. -
🔇 Ignore warning from attrs in Trio. MR #11949 by @tiangolo.
v0.112.0
Breaking Changes
-
♻ ️ Add support forpip install "fastapi[standard]"
with standard dependencies andpython -m fastapi
. MR #11935 by @tiangolo.
Summary
Install with:
pip install "fastapi[standard]"
Other Changes
- This adds support for calling the CLI as:
python -m fastapi
- And it upgrades
fastapi-cli[standard] >=0.0.5
.
Technical Details
Before this, fastapi
would include the standard dependencies, with Uvicorn and the fastapi-cli
, etc.
And fastapi-slim
would not include those standard dependencies.
Now fastapi
doesn't include those standard dependencies unless you install with pip install "fastapi[standard]"
.
Before, you would install pip install fastapi
, now you should include the standard
optional dependencies (unless you want to exclude one of those): pip install "fastapi[standard]"
.
This change is because having the standard optional dependencies installed by default was being inconvenient to several users, and having to install instead fastapi-slim
was not being a feasible solution.
Discussed here: #11522 and here: #11525
Docs
-
✏ ️ Fix typos in docs. MR #11926 by @jianghuyiyuan. -
📝 Tweak management docs. MR #11918 by @tiangolo. -
🚚 Rename GitHub links from tiangolo/fastapi to fastapi/fastapi. MR #11913 by @tiangolo. -
📝 Add docs about FastAPI team and project management. MR #11908 by @tiangolo. -
📝 Re-structure docs main menu. MR #11904 by @tiangolo. -
📝 Update Speakeasy URL. MR #11871 by @ndimares.
Translations
-
🌐 Update Portuguese translation fordocs/pt/docs/alternatives.md
. MR #11931 by @ceb10n. -
🌐 Add Russian translation fordocs/ru/docs/tutorial/dependencies/sub-dependencies.md
. MR #10515 by @AlertRED. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/response-change-status-code.md
. MR #11863 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/reference/background.md
. MR #11849 by @lucasbalieiro. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
. MR #11848 by @Joao-Pedro-P-Holanda. -
🌐 Add Portuguese translation fordocs/pt/docs/reference/apirouter.md
. MR #11843 by @lucasbalieiro.
Internal
-
🔧 Update sponsors: add liblab. MR #11934 by @tiangolo. -
👷 Update GitHub Action label-approved permissions. MR #11933 by @tiangolo. -
👷 Refactor GitHub Action to comment docs deployment URLs and update token. MR #11925 by @tiangolo. -
👷 Update tokens for GitHub Actions. MR #11924 by @tiangolo. -
👷 Update token permissions to comment deployment URL in docs. MR #11917 by @tiangolo. -
👷 Update token permissions for GitHub Actions. MR #11915 by @tiangolo. -
👷 Update GitHub Actions token usage. MR #11914 by @tiangolo. -
👷 Update GitHub Action to notify translations with labelapproved-1
. MR #11907 by @tiangolo. -
🔧 Update sponsors, remove Reflex. MR #11875 by @tiangolo. -
🔧 Update sponsors: remove TalkPython. MR #11861 by @tiangolo. -
🔨 Update docs Termynal scripts to not include line nums for local dev. MR #11854 by @tiangolo.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.