From: Sebastián Ramírez Date: Mon, 23 Feb 2026 17:54:18 +0000 (+0100) Subject: 📝 Update release notes X-Git-Tag: 0.132.0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acdf52e0c89f81952ab17bb7b34d67deb0d533dd;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update release notes --- diff --git a/docs/en/docs/release-notes.md b/docs/en/docs/release-notes.md index 7ea70eceb9..08826adff6 100644 --- a/docs/en/docs/release-notes.md +++ b/docs/en/docs/release-notes.md @@ -12,6 +12,9 @@ hide: ### Breaking Changes * 🔒️ Add `strict_content_type` checking for JSON requests. PR [#14978](https://github.com/fastapi/fastapi/pull/14978) by [@tiangolo](https://github.com/tiangolo). + * Now FastAPI checks, by default, that JSON requests have a `Content-Type` header with a valid JSON value, like `application/json`, and rejects requests that don't. + * If the clients for your app don't send a valid `Content-Type` header you can disable this with `strict_content_type=False`. + * Check the new docs: [Strict Content-Type Checking](https://fastapi.tiangolo.com/advanced/strict-content-type/). ### Internal