Skip to content

Upgrading pydantic_core 0.18 to 0.19

Unknown0.18.1 → 0.19.0

Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export to_jsonable_python
  • removed: field CoreConfig.revalidate_models: bool
  • changed: function dataclass_schema(cls: Type[Any], schema: CoreSchema, *, post_init: bool | None=…, strict: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> DataclassSchema → function dataclass_schema(cls: Type[Any], schema: CoreSchema, *, post_init: bool | None=…, revalidate_instances: Literal['always', 'never', 'subclass-instances'] | None=…, strict: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> DataclassSchema
  • changed: function model_schema(cls: Type[Any], schema: CoreSchema, *, post_init: str | None=…, strict: bool | None=…, frozen: bool | None=…, config: CoreConfig | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ModelSchema → function model_schema(cls: Type[Any], schema: CoreSchema, *, post_init: str | None=…, revalidate_instances: Literal['always', 'never', 'subclass-instances'] | None=…, strict: bool | None=…, frozen: bool | None=…, config: CoreConfig | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ModelSchema
  • added: field CoreConfig.revalidate_instances: Literal['always', 'never', 'subclass-instances']
  • added: field DataclassSchema.revalidate_instances: Literal['always', 'never', 'subclass-instances']
  • added: field ModelSchema.revalidate_instances: Literal['always', 'never', 'subclass-instances']