pypi fastapi 0.117.0

latest release: 0.117.1
18 hours ago

Features

  • ✨ Allow None as return type for bodiless responses. PR #9425 by @hofrob.
  • ✨ Allow array values for OpenAPI schema type field. PR #13639 by @sammasak.
  • ✨ Add OpenAPI external_docs parameter to FastAPI. PR #13713 by @cmtoro.

Fixes

  • ⚡️ Fix default_factory for response model field with Pydantic V1. PR #9704 by @vvanglro.
  • 🐛 Fix inconsistent processing of model docstring formfeed char with Pydantic V1. PR #6039 by @MaxwellPayne.
  • 🐛 Fix jsonable_encoder alters json_encoders of Pydantic v1 objects. PR #4972 by @aboubacs.
  • 🐛 Reenable allow_arbitrary_types when only 1 argument is used on the API endpoint. PR #13694 by @rmawatson.
  • 🐛 Fix inspect.getcoroutinefunction() can break testing with unittest.mock.patch(). PR #14022 by @secrett2633.

Refactors

  • ♻️ Create dependency-cache dict in solve_dependencies only if None (don't re-create if empty). PR #13689 by @bokshitsky.
  • ✅ Enable test case for duplicated headers in test_tutorial/test_header_params/test_tutorial003.py. PR #13864 by @Amogha-ark.
  • 📌 Pin httpx to >=0.23.0,<1.0.0. PR #14086 by @YuriiMotov.

Docs

  • 📝 Add note about Cookies and JavaScript on tutorial/cookie-params.md. PR #13510 by @Kludex.
  • 📝 Remove outdated formatting from path-params-numeric-validations.md for languages en, es and uk.. PR #14059 by @svlandeg.
  • 📝 Fix and Improve English Documentation. PR #14048 by @nilslindemann.

Translations

Internal

Don't miss a new fastapi release

NewReleases is sending notifications on new releases.