📝 Update release notes

This commit is contained in:
Sebastián Ramírez 2026-02-23 18:54:18 +01:00
parent 5c863d0718
commit acdf52e0c8
1 changed files with 3 additions and 0 deletions

View 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