pypi fastapi 0.37.0

latest releases: 0.110.2, 0.110.1, 0.110.0...
4 years ago
  • Add support for custom route classes for advanced use cases. PR #468 by @dmontagu.
  • Allow disabling Google fonts in ReDoc. PR #481 by @b1-luettje.
  • Fix security issue: when returning a sub-class of a response model and using skip_defaults it could leak information. PR #485 by @dmontagu.
  • Enable tests for Python 3.8-dev. PR #465 by @Jamim.
  • Add support and tests for Pydantic dataclasses in response_model. PR #454 by @dconathan.
  • Fix typo in OAuth2 JWT tutorial. PR #447 by @pablogamboa.
  • Use the media_type parameter in Body() params to set the media type in OpenAPI for requestBody. PR #439 by @divums.
  • Add article Deploying a scikit-learn model with ONNX and FastAPI by [https://www.linkedin.com/in/nico-axtmann](Nico Axtmann). PR #438 by @naxty.
  • Allow setting custom 422 (validation error) response/schema in OpenAPI.
    • And use media type from response class instead of fixed application/json (the default).
    • PR #437 by @divums.
  • Fix using "default" extra response with status codes at the same time. PR #489.
  • Allow additional responses to use status code ranges (like 5XX and 4XX) and "default". PR #435 by @divums.

Don't miss a new fastapi release

NewReleases is sending notifications on new releases.