Change8

Migrating to FastAPI 0.132.0

Version 0.132.0 introduces 1 breaking change. This guide details how to update your code.

Released: 2/23/2026

1
Breaking Changes
1
Migration Steps
0
Affected Symbols

Breaking Changes

Issue #1

FastAPI now checks by default that JSON requests have a Content-Type header with a valid JSON value (like application/json) and rejects requests that do not. If clients do not send a valid Content-Type header, disable this behavior by setting `strict_content_type=False`.

Migration Steps

  1. 1
    If your clients do not send a valid Content-Type header for JSON requests, you must set `strict_content_type=False` when initializing FastAPI or configuring the endpoint to maintain previous behavior.

Release Summary

This release introduces strict checking for JSON Content-Type headers by default, enhancing request validation. Internal dependencies were also updated.

Need More Details?

View the full release notes and all changes for FastAPI 0.132.0.

View Full Changelog