Skip to content

Upgrading pydantic_core 0.27 to 0.28

Unknown0.27.1 → 0.28.1

Fetching 2 releases from GitHub…0 / 2
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.

  • removed: field TypedDictField.frozen: bool
  • removed: field TypedDictSchema.from_attributes: bool
  • removed: field TypedDictSchema.return_fields_set: bool
  • changed: 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 → 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=…, extra_behavior: ExtraBehavior | None=…, config: CoreConfig | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ModelSchema
  • changed: function typed_dict_field(schema: CoreSchema, *, required: bool | None=…, validation_alias: str | list[str | int] | list[list[str | int]] | None=…, serialization_alias: str | None=…, serialization_exclude: bool | None=…, frozen: bool | None=…, metadata: Any=…) -> TypedDictField → function typed_dict_field(schema: CoreSchema, *, required: bool | None=…, validation_alias: str | list[str | int] | list[list[str | int]] | None=…, serialization_alias: str | None=…, serialization_exclude: bool | None=…, metadata: Any=…) -> TypedDictField
  • changed: 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… → function typed_dict_schema(fields: Dict[str, TypedDictField], *, computed_fields: list[ComputedField] | None=…, strict: bool | None=…, extra_validator: CoreSchema | None=…, extra_behavior: ExtraBehavior | None=…, total: bool | None=…, populate_by_name: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> TypedDictSchema
  • added: class ModelField(TypedDict)
  • added: class ModelFieldsSchema(TypedDict)
  • added: field ModelField.frozen: bool
  • added: field ModelField.metadata: Any
  • added: field ModelField.schema: Required[CoreSchema]
  • added: field ModelField.serialization_alias: str
  • added: field ModelField.serialization_exclude: bool
  • added: field ModelField.type: Required[Literal['model-field']]
  • added: field ModelField.validation_alias: Union[str, List[Union[str, int]], List[List[Union[str, int]]]]
  • added: field ModelFieldsSchema.computed_fields: List[ComputedField]
  • added: field ModelFieldsSchema.extra_behavior: ExtraBehavior
  • added: field ModelFieldsSchema.extra_validator: CoreSchema
  • added: field ModelFieldsSchema.fields: Required[Dict[str, ModelField]]
  • added: field ModelFieldsSchema.from_attributes: bool
  • added: field ModelFieldsSchema.metadata: Any
  • added: field ModelFieldsSchema.populate_by_name: bool
  • added: field ModelFieldsSchema.ref: str
  • added: field ModelFieldsSchema.serialization: SerSchema
  • added: field ModelFieldsSchema.strict: bool
  • added: field ModelFieldsSchema.type: Required[Literal['model-fields']]
  • added: field ModelSchema.extra_behavior: ExtraBehavior
  • added: function model_field(schema: CoreSchema, *, validation_alias: str | list[str | int] | list[list[str | int]] | None=…, serialization_alias: str | None=…, serialization_exclude: bool | None=…, frozen: bool | None=…, metadata: Any=…) -> ModelField
  • added: function model_fields_schema(fields: Dict[str, ModelField], *, computed_fields: list[ComputedField] | None=…, strict: bool | None=…, extra_validator: CoreSchema | None=…, extra_behavior: ExtraBehavior | None=…, populate_by_name: bool | None=…, from_attributes: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ModelFieldsSchema