]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update release notes 0.132.0
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 23 Feb 2026 17:54:18 +0000 (18:54 +0100)
committerSebastián Ramírez <tiangolo@gmail.com>
Mon, 23 Feb 2026 17:54:18 +0000 (18:54 +0100)
docs/en/docs/release-notes.md

index 7ea70eceb9ef3bcb2734c4af4a86338eeaa74a78..08826adff6af9bad4e0eca6708f344c6673f0f6e 100644 (file)
@@ -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