Fixes - Breaking Changes
- 🐛 Fix removing body from status codes that do not support it. PR #5145 by @tiangolo.
- Setting
status_code
to204
,304
, or any code below200
(1xx) will remove the body from the response. - This fixes an error in Uvicorn that otherwise would be thrown:
RuntimeError: Response content longer than Content-Length
. - This removes
fastapi.openapi.constants.STATUS_CODES_WITH_NO_BODY
, it is replaced by a function in utils.
- Setting
Translations
- 🌐 Start of Hebrew translation. PR #5050 by @itay-raveh.
- 🔧 Add config for Swedish translations notification. PR #5147 by @tiangolo.
- 🌐 Start of Swedish translation. PR #5062 by @MrRawbin.
- 🌐 Add Japanese translation for
docs/ja/docs/advanced/index.md
. PR #5043 by @wakabame. - 🌐🇵🇱 Add Polish translation for
docs/pl/docs/tutorial/first-steps.md
. PR #5024 by @Valaraucoo.
Internal
- 🔧 Update translations notification for Hebrew. PR #5158 by @tiangolo.
- 🔧 Update Dependabot commit message. PR #5156 by @tiangolo.
- ⬆ Bump actions/upload-artifact from 2 to 3. PR #5148 by @dependabot[bot].
- ⬆ Bump actions/cache from 2 to 3. PR #5149 by @dependabot[bot].
- 🔧 Update sponsors badge configs. PR #5155 by @tiangolo.
- 👥 Update FastAPI People. PR #5154 by @tiangolo.
- 🔧 Update Jina sponsor badges. PR #5151 by @tiangolo.
- ⬆ Bump actions/checkout from 2 to 3. PR #5133 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #5030 by @pre-commit-ci[bot].
- ⬆ Bump nwtgck/actions-netlify from 1.1.5 to 1.2.3. PR #5132 by @dependabot[bot].
- ⬆ Bump codecov/codecov-action from 2 to 3. PR #5131 by @dependabot[bot].
- ⬆ Bump dawidd6/action-download-artifact from 2.9.0 to 2.21.1. PR #5130 by @dependabot[bot].
- ⬆ Bump actions/setup-python from 2 to 4. PR #5129 by @dependabot[bot].
- 👷 Add Dependabot. PR #5128 by @tiangolo.
- ♻️ Move from
Optional[X]
toUnion[X, None]
for internal utils. PR #5124 by @tiangolo. - 🔧 Update sponsors, remove Dropbase, add Doist. PR #5096 by @tiangolo.
- 🔧 Update sponsors, remove Classiq, add ImgWhale. PR #5079 by @tiangolo.