Breaking Changes
- 🔒️ Add
strict_content_typechecking for JSON requests. PR #14978 by @tiangolo.- Now FastAPI checks, by default, that JSON requests have a
Content-Typeheader with a valid JSON value, likeapplication/json, and rejects requests that don't. - If the clients for your app don't send a valid
Content-Typeheader you can disable this withstrict_content_type=False. - Check the new docs: Strict Content-Type Checking.
- Now FastAPI checks, by default, that JSON requests have a
Internal
- ⬆ Bump flask from 3.1.2 to 3.1.3. PR #14949 by @dependabot[bot].
- ⬆ Update all dependencies to use
griffelibinstead ofgriffe. PR #14973 by @svlandeg. - 🔨 Fix
FastAPI Peopleworkflow. PR #14951 by @YuriiMotov. - 👷 Do not run codspeed with coverage as it's not tracked. PR #14966 by @tiangolo.
- 👷 Do not include benchmark tests in coverage to speed up coverage processing. PR #14965 by @tiangolo.