Migrating to FastAPI 0.131.0
Version 0.131.0 introduces 1 breaking change. This guide details how to update your code.
Released: 2/22/2026
1
Breaking Changes
2
Migration Steps
2
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
ORJSONResponseUJSONResponseBreaking Changes
●Issue #1
The classes `ORJSONResponse` and `UJSONResponse` have been deprecated. Users should migrate to the standard `JSONResponse` or use alternative serialization methods if specific performance requirements necessitate them.
Migration Steps
- 1Replace usage of `ORJSONResponse` with `JSONResponse` or an equivalent alternative.
- 2Replace usage of `UJSONResponse` with `JSONResponse` or an equivalent alternative.
Release Summary
This release primarily focuses on deprecating the `ORJSONResponse` and `UJSONResponse` classes, signaling a shift away from these specific response types.
Need More Details?
View the full release notes and all changes for FastAPI 0.131.0.
View Full Changelog