FastAPI 0.131.0 includes Pydantic's Rust-based JSON serialization by default (PR #14962), making ORJSONResponse unnecessary. The new default serialization is 2x faster than the previous approach and eliminates the need for explicit orjson configuration. Changes: - Upgrade FastAPI from 0.130.0 to 0.131.0 - Remove orjson dependency (deprecated in 0.131.0) - Remove ORJSONResponse import and configuration - Use FastAPI's new default Pydantic-based serialization Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
1.8 KiB
1.8 KiB