pypi fastapi 0.79.0

latest releases: 0.115.5, 0.115.4, 0.115.3...
2 years ago

Fixes - Breaking Changes

  • 🐛 Fix removing body from status codes that do not support it. PR #5145 by @tiangolo.
    • Setting status_code to 204, 304, or any code below 200 (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.

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

Don't miss a new fastapi release

NewReleases is sending notifications on new releases.