- Added first‑class support for Pydantic v2 while retaining compatibility with v1
- Introduced new Field() parameters and replaced the deprecated `regex` argument with `pattern`; model config now uses a simple dict and adds `json_schema_extra`
- `fastapi[all]` now includes Pydantic Settings and extra types, requiring imports from `pydantic_settings`