Upgrading pydantic_core 0.24 to 0.25
Review needed0.24.1 → 0.25.0New1Changed1Fixed1
Review neededUpgrade verdict
1 changed default.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
function dataclass_args_schema(dataclass_name: str, fields: list[DataclassField], *, populate_by_name: bool | None=…, collect_init_only: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…, extra_behavior: ExtraBehavior | None=…) -> DataclassArgsSchema → function dataclass_args_schema(dataclass_name: str, fields: list[DataclassField], *, computed_fields: List[ComputedField] | None=…, populate_by_name: bool | None=…, collect_init_only: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…, extra_behavior: ExtraBehavior | None=…) -> DataclassArgsSchema - changed:
function typed_dict_schema(fields: Dict[str, TypedDictField], *, strict: bool | None=…, extra_validator: CoreSchema | None=…, return_fields_set: bool | None=…, extra_behavior: ExtraBehavior | None=…, total: bool | None=…, populate_by_name: bool | None=…, from_attributes: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> TypedDictSchema → function typed_dict_schema(fields: Dict[str, TypedDictField], *, computed_fields: list[ComputedField] | None=…, strict: bool | None=…, extra_validator: CoreSchema | None=…, return_fields_set: bool | None=…, extra_behavior: ExtraBehavior | None=…, total: bool | None=…, populate_by_name: bool | None=…, from_attributes: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | No… - added:
class ComputedField(TypedDict) - added:
field ComputedField.alias: str - added:
field ComputedField.json_return_type: JsonReturnTypes - added:
field ComputedField.property_name: Required[str] - added:
field ComputedField.type: Required[Literal['computed-field']] - added:
field DataclassArgsSchema.computed_fields: List[ComputedField] - added:
field TypedDictSchema.computed_fields: List[ComputedField] - added:
function computed_field(property_name: str, *, json_return_type: JsonReturnTypes | None=…, alias: str | None=…) -> ComputedField