Upgrading fastapi 0.125 to 0.126
Breaking0.125.0 → 0.126.0Breaking1Changed2Other5
BreakingUpgrade verdict
1 breaking change.
In plain terms
- FastAPI no longer works with the original Pydantic v1 library. You must use Pydantic v2, though the pydantic.v1 compatibility module is still supported for a short time.
Must act 1 item needs code or config changes
What you must change
Breaking1
Drops support for Pydantic v1, keeping short temporary support for Pydantic v2's pydantic.v1.
pydantic.v1API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
static method UploadFile.validate(v: Any) -> Any
- removed:
class BaseModelWithConfig.Config - removed:
class Example.Config - removed:
field BaseModelWithConfig.Config.extra - removed:
field Example.Config.extra