Skip to content

Upgrading pydantic_core 0.15 to 0.16

Unknown0.15.2 → 0.16.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: class CallableValidator(Protocol)
  • removed: class FieldSerializePlainFunction(Protocol)
  • removed: class FieldSerializePlainFunctionSchema(TypedDict)
  • removed: class FieldSerializeWrapFunction(Protocol)
  • removed: class FieldSerializeWrapFunctionSchema(TypedDict)
  • removed: class FunctionAfterSchema(_FunctionSchema)
  • removed: class FunctionBeforeSchema(_FunctionSchema)
  • removed: class FunctionPlainSerSchema(TypedDict)
  • removed: class FunctionWrapSerSchema(TypedDict)
  • removed: class GeneralSerializePlainFunction(Protocol)
  • removed: class GeneralSerializePlainFunctionSchema(TypedDict)
  • removed: class GeneralSerializeWrapFunction(Protocol)
  • removed: class GeneralSerializeWrapFunctionSchema(TypedDict)
  • removed: class PlainFunctionSchema(TypedDict)
  • removed: class SerializeWrapHandler(Protocol)
  • removed: class WrapFunctionSchema(TypedDict)
  • removed: field FieldSerializePlainFunctionSchema.function: FieldSerializePlainFunction
  • removed: field FieldSerializePlainFunctionSchema.type: Literal['field']
  • removed: field FieldSerializeWrapFunctionSchema.function: FieldSerializeWrapFunction
  • removed: field FieldSerializeWrapFunctionSchema.type: Literal['field']
  • removed: field FunctionAfterSchema.type: Required[Literal['function-after']]
  • removed: field FunctionBeforeSchema.type: Required[Literal['function-before']]
  • removed: field FunctionPlainSerSchema.function: Required[Union[GeneralSerializePlainFunctionSchema, FieldSerializePlainFunctionSchema]]
  • removed: field FunctionPlainSerSchema.json_return_type: JsonReturnTypes
  • removed: field FunctionPlainSerSchema.type: Required[Literal['function-plain']]
  • removed: field FunctionPlainSerSchema.when_used: WhenUsed
  • removed: field FunctionWrapSerSchema.function: Required[Union[GeneralSerializeWrapFunctionSchema, FieldSerializeWrapFunctionSchema]]
  • removed: field FunctionWrapSerSchema.json_return_type: JsonReturnTypes
  • removed: field FunctionWrapSerSchema.schema: Required[CoreSchema]
  • removed: field FunctionWrapSerSchema.type: Required[Literal['function-wrap']]
  • removed: field FunctionWrapSerSchema.when_used: WhenUsed
  • removed: field GeneralSerializePlainFunctionSchema.function: GeneralSerializePlainFunction
  • removed: field GeneralSerializePlainFunctionSchema.type: Literal['general']
  • removed: field GeneralSerializeWrapFunctionSchema.function: GeneralSerializeWrapFunction
  • removed: field GeneralSerializeWrapFunctionSchema.type: Literal['general']
  • removed: field ModelSchema.call_after_init: str
  • removed: field PlainFunctionSchema.function: Required[Union[FieldValidatorFunctionSchema, GeneralValidatorFunctionSchema]]
  • removed: field PlainFunctionSchema.metadata: Any
  • removed: field PlainFunctionSchema.ref: str
  • removed: field PlainFunctionSchema.serialization: SerSchema
  • removed: field PlainFunctionSchema.type: Required[Literal['function-plain']]
  • removed: field WrapFunctionSchema.function: Required[Union[GeneralWrapValidatorFunctionSchema, FieldWrapValidatorFunctionSchema]]
  • removed: field WrapFunctionSchema.metadata: Any
  • removed: field WrapFunctionSchema.ref: str
  • removed: field WrapFunctionSchema.schema: Required[CoreSchema]
  • removed: field WrapFunctionSchema.serialization: SerSchema
  • removed: field WrapFunctionSchema.type: Required[Literal['function-wrap']]
  • removed: function field_after_validation_function(function: FieldValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> FunctionAfterSchema
  • removed: function field_before_validation_function(function: FieldValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> FunctionBeforeSchema
  • removed: function field_function_plain_ser_schema(function: FieldSerializePlainFunction, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> FunctionPlainSerSchema
  • removed: function field_function_wrap_ser_schema(function: FieldSerializeWrapFunction, schema: CoreSchema, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> FunctionWrapSerSchema
  • removed: function field_plain_validation_function(function: FieldValidatorFunction, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> PlainFunctionSchema
  • removed: function field_wrap_validation_function(function: FieldWrapValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> WrapFunctionSchema
  • removed: function general_after_validation_function(function: GeneralValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> FunctionAfterSchema
  • removed: function general_before_validation_function(function: GeneralValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> FunctionBeforeSchema
  • removed: function general_function_plain_ser_schema(function: GeneralSerializePlainFunction, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> FunctionPlainSerSchema
  • removed: function general_function_wrap_ser_schema(function: GeneralSerializeWrapFunction, schema: CoreSchema, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> FunctionWrapSerSchema
  • removed: function general_plain_validation_function(function: GeneralValidatorFunction, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> PlainFunctionSchema
  • removed: function general_wrap_validation_function(function: GeneralWrapValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> WrapFunctionSchema
  • changed: function model_schema(cls: Type[Any], schema: CoreSchema, *, call_after_init: str | None=…, strict: 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=…, strict: bool | None=…, config: CoreConfig | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ModelSchema
  • added: class AfterValidatorFunctionSchema(_ValidatorFunctionSchema)
  • added: class BeforeValidatorFunctionSchema(_ValidatorFunctionSchema)
  • added: class FieldPlainSerializerFunction(Protocol)
  • added: class FieldPlainSerializerFunctionSchema(TypedDict)
  • added: class FieldWrapSerializerFunction(Protocol)
  • added: class FieldWrapSerializerFunctionSchema(TypedDict)
  • added: class GeneralPlainSerializerFunction(Protocol)
  • added: class GeneralPlainSerializerFunctionSchema(TypedDict)
  • added: class GeneralWrapSerializerFunction(Protocol)
  • added: class GeneralWrapSerializerFunctionSchema(TypedDict)
  • added: class PlainSerializerFunctionSerSchema(TypedDict)
  • added: class PlainValidatorFunctionSchema(TypedDict)
  • added: class SerializerFunctionWrapHandler(Protocol)
  • added: class ValidatorFunctionWrapHandler(Protocol)
  • added: class WrapSerializerFunctionSerSchema(TypedDict)
  • added: class WrapValidatorFunctionSchema(TypedDict)
  • added: field AfterValidatorFunctionSchema.type: Required[Literal['function-after']]
  • added: field BeforeValidatorFunctionSchema.type: Required[Literal['function-before']]
  • added: field FieldPlainSerializerFunctionSchema.function: FieldPlainSerializerFunction
  • added: field FieldPlainSerializerFunctionSchema.type: Literal['field']
  • added: field FieldWrapSerializerFunctionSchema.function: FieldWrapSerializerFunction
  • added: field FieldWrapSerializerFunctionSchema.type: Literal['field']
  • added: field GeneralPlainSerializerFunctionSchema.function: GeneralPlainSerializerFunction
  • added: field GeneralPlainSerializerFunctionSchema.type: Literal['general']
  • added: field GeneralWrapSerializerFunctionSchema.function: GeneralWrapSerializerFunction
  • added: field GeneralWrapSerializerFunctionSchema.type: Literal['general']
  • added: field ModelSchema.post_init: str
  • added: field PlainSerializerFunctionSerSchema.function: Required[Union[GeneralPlainSerializerFunctionSchema, FieldPlainSerializerFunctionSchema]]
  • added: field PlainSerializerFunctionSerSchema.json_return_type: JsonReturnTypes
  • added: field PlainSerializerFunctionSerSchema.type: Required[Literal['function-plain']]
  • added: field PlainSerializerFunctionSerSchema.when_used: WhenUsed
  • added: field PlainValidatorFunctionSchema.function: Required[Union[FieldValidatorFunctionSchema, GeneralValidatorFunctionSchema]]
  • added: field PlainValidatorFunctionSchema.metadata: Any
  • added: field PlainValidatorFunctionSchema.ref: str
  • added: field PlainValidatorFunctionSchema.serialization: SerSchema
  • added: field PlainValidatorFunctionSchema.type: Required[Literal['function-plain']]
  • added: field WrapSerializerFunctionSerSchema.function: Required[Union[GeneralWrapSerializerFunctionSchema, FieldWrapSerializerFunctionSchema]]
  • added: field WrapSerializerFunctionSerSchema.json_return_type: JsonReturnTypes
  • added: field WrapSerializerFunctionSerSchema.schema: Required[CoreSchema]
  • added: field WrapSerializerFunctionSerSchema.type: Required[Literal['function-wrap']]
  • added: field WrapSerializerFunctionSerSchema.when_used: WhenUsed
  • added: field WrapValidatorFunctionSchema.function: Required[Union[GeneralWrapValidatorFunctionSchema, FieldWrapValidatorFunctionSchema]]
  • added: field WrapValidatorFunctionSchema.metadata: Any
  • added: field WrapValidatorFunctionSchema.ref: str
  • added: field WrapValidatorFunctionSchema.schema: Required[CoreSchema]
  • added: field WrapValidatorFunctionSchema.serialization: SerSchema
  • added: field WrapValidatorFunctionSchema.type: Required[Literal['function-wrap']]
  • added: function field_after_validator_function(function: FieldValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> AfterValidatorFunctionSchema
  • added: function field_before_validator_function(function: FieldValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> BeforeValidatorFunctionSchema
  • added: function field_plain_serializer_function_ser_schema(function: FieldPlainSerializerFunction, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> PlainSerializerFunctionSerSchema
  • added: function field_plain_validator_function(function: FieldValidatorFunction, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> PlainValidatorFunctionSchema
  • added: function field_wrap_serializer_function_ser_schema(function: FieldWrapSerializerFunction, schema: CoreSchema, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> WrapSerializerFunctionSerSchema
  • added: function field_wrap_validator_function(function: FieldWrapValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> WrapValidatorFunctionSchema
  • added: function general_after_validator_function(function: GeneralValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> AfterValidatorFunctionSchema
  • added: function general_before_validator_function(function: GeneralValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> BeforeValidatorFunctionSchema
  • added: function general_plain_serializer_function_ser_schema(function: GeneralPlainSerializerFunction, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> PlainSerializerFunctionSerSchema
  • added: function general_plain_validator_function(function: GeneralValidatorFunction, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> PlainValidatorFunctionSchema
  • added: function general_wrap_serializer_function_ser_schema(function: GeneralWrapSerializerFunction, schema: CoreSchema, *, json_return_type: JsonReturnTypes | None=…, when_used: WhenUsed=…) -> WrapSerializerFunctionSerSchema
  • added: function general_wrap_validator_function(function: GeneralWrapValidatorFunction, schema: CoreSchema, *, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> WrapValidatorFunctionSchema