Skip to content

Upgrading pydantic_core 0.20 to 0.21

Safe0.20.0 → 0.21.0New1Fixed1

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

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

  • changed: function arguments_schema(*arguments: ArgumentsParameter, populate_by_name: bool | None=…, var_args_schema: CoreSchema | None=…, var_kwargs_schema: CoreSchema | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ArgumentsSchema → function arguments_schema(arguments: list[ArgumentsParameter], populate_by_name: bool | None=…, var_args_schema: CoreSchema | None=…, var_kwargs_schema: CoreSchema | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ArgumentsSchema
  • changed: function chain_schema(*steps: CoreSchema, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ChainSchema → function chain_schema(steps: list[CoreSchema], ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> ChainSchema
  • changed: function literal_schema(*expected: Any, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> LiteralSchema → function literal_schema(expected: list[Any], ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> LiteralSchema
  • changed: function tuple_positional_schema(*items_schema: CoreSchema, extra_schema: CoreSchema | None=…, strict: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: IncExSeqOrElseSerSchema | None=…) -> TuplePositionalSchema → function tuple_positional_schema(items_schema: list[CoreSchema], extra_schema: CoreSchema | None=…, strict: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: IncExSeqOrElseSerSchema | None=…) -> TuplePositionalSchema
  • changed: function union_schema(*choices: CoreSchema, auto_collapse: bool | None=…, custom_error_type: str | None=…, custom_error_message: str | None=…, custom_error_context: dict[str, str | int] | None=…, strict: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> UnionSchema → function union_schema(choices: list[CoreSchema], auto_collapse: bool | None=…, custom_error_type: str | None=…, custom_error_message: str | None=…, custom_error_context: dict[str, str | int] | None=…, strict: bool | None=…, ref: str | None=…, metadata: Any=…, serialization: SerSchema | None=…) -> UnionSchema
  • added: field CoreConfig.loc_by_alias: bool