This release has no breaking changes. π
It upgrades the version ranges of sub-dependencies to allow applications using FastAPI to easily upgrade them.
Soon there will be a new FastAPI release upgrading Starlette to take advantage of recent improvements, but as that has a higher chance of having breaking changes, it will be in a separate release.
Features
- β¬Increase supported version of aiofiles to suppress warnings. PR #2899 by @SnkSynthesis.
- β Do not require backports in Python >= 3.7. PR #1880 by @FFY00.
- β¬ Upgrade required Python version to >= 3.6.1, needed by typing.Deque, used by Pydantic. PR #2733 by @hukkin.
- β¬οΈ Bump Uvicorn max range to 0.15.0. PR #3345 by @Kludex.
Docs
- π Update GraphQL docs, recommend Strawberry. PR #3981 by @tiangolo.
- π Re-write and extend Deployment guide: Concepts, Uvicorn, Gunicorn, Docker, Containers, Kubernetes. PR #3974 by @tiangolo.
- π Upgrade HTTPS guide with more explanations and diagrams. PR #3950 by @tiangolo.
Translations
- π Add Turkish translation for
docs/features.md
. PR #1950 by @ycd. - π Add Turkish translation for
docs/benchmarks.md
. PR #2729 by @Telomeraz. - π Add Turkish translation for
docs/index.md
. PR #1908 by @ycd. - π Add French translation for
docs/tutorial/body.md
. PR #3671 by @Smlep. - π Add French translation for
deployment/docker.md
. PR #3694 by @rjNemo. - π Add Portuguese translation for
docs/tutorial/path-params.md
. PR #3664 by @FelipeSilva93. - π Add Portuguese translation for
docs/deployment/https.md
. PR #3754 by @lsglucas. - π Add German translation for
docs/features.md
. PR #3699 by @mawassk.
Internal
- β¨ Update GitHub Action: notify-translations, to avoid a race conditions. PR #3989 by @tiangolo.
- β¬οΈ Upgrade development
autoflake
, supporting multi-line imports. PR #3988 by @tiangolo. - β¬οΈ Increase dependency ranges for tests and docs: pytest-cov, pytest-asyncio, black, httpx, sqlalchemy, databases, mkdocs-markdownextradata-plugin. PR #3987 by @tiangolo.
- π₯ Update FastAPI People. PR #3986 by @github-actions[bot].
- π Fix badges in README and main page. PR #3979 by @ghandic.
- β¬ Upgrade internal testing dependencies: mypy to version 0.910, add newly needed type packages. PR #3350 by @ArcLightSlavik.
- β¨ Add Deepset Sponsorship. PR #3976 by @tiangolo.
- π¨ Tweak CSS styles for shell animations. PR #3888 by @tiangolo.
- π§ Add new Sponsor Calmcode.io. PR #3777 by @tiangolo.