---
title: "pydantic-core 2.50.3 Breaking Changes on PyPI | Since.dev"
description: "What each pydantic-core release removed, renamed or changed: 293 breaking changes in 39 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pydantic-core
last_updated: 2026-12-04
---

# pydantic-core breaking changes

pydantic-core 2.50.3 (November 4, 2026) is its newest release with breaking changes, 6 of them. The first: Removed pydantic_core.MultiHostUrl.\_\_repr\_\_. Every breaking API change we have recorded in pydantic-core on PyPI: 293 breaking changes in 39 versions. Below, its 39 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.50.5`, released November 19, 2026. [Source repository](https://github.com/pydantic/pydantic)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.17.0](#v-2-17-0) to [2.50.3](#v-2-50-3): 280 breaking changes in 38 versions.

## pydantic-core 2.50.3 breaking changes

pydantic-core 2.50.3, released November 4, 2026: 6 breaking changes.

- **Removed** `pydantic_core.MultiHostUrl.__repr__`  

MultiHostUrl.\_\_repr\_\_ was removed in pydantic_core 2.50.3 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.3/)
- **Removed** `pydantic_core.MultiHostUrl.__str__`  

MultiHostUrl.\_\_str\_\_ was removed in pydantic_core 2.50.3 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.3/)
- **Removed** `pydantic_core.Url.__repr__`  

Url.\_\_repr\_\_ was removed in pydantic_core 2.50.3 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.3/)
- **Removed** `pydantic_core.Url.__str__`  

Url.\_\_str\_\_ was removed in pydantic_core 2.50.3 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.3/)
- **Signature changed** `pydantic_core.Some`  

Was class Some(Generic\[\_T\]); now class Some(Generic\[\_T_co\]). [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.3/)
- **Signature changed** `pydantic_core.Some.value`  

Was value: \_T; now value: \_T_co. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.3/)

## pydantic-core 2.50.0 breaking changes

pydantic-core 2.50.0, released October 8, 2026: 2 breaking changes.

- **Signature changed** `pydantic_core.core_schema.fraction_schema`  

Was def fraction_schema(\*, le: Fraction | None = None, ge: Fraction | None = None, lt: Fraction | None = None, gt: Fraction | None = None, strict: bool | None = None, ref: str | None = None, metadata: dict\[str, Any\] | None = None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.0/)
- **Signature changed** `pydantic_core.core_schema.timedelta_schema`  

Was def timedelta_schema(\*, strict: bool | None = None, le: timedelta | None = None, ge: timedelta | None = None, lt: timedelta | None = None, gt: timedelta | None = None, microseconds_precision: Literal\['truncate', 'error'\] = 'truncate'... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.50.0/)

## pydantic-core 2.49.0 breaking changes

pydantic-core 2.49.0, released September 9, 2026: 4 breaking changes.

- **Signature changed** `pydantic_core.core_schema.missing_sentinel_schema`  

Was def missing_sentinel_schema(metadata: dict\[str, Any\] | None = None, serialization: SerSchema | None = None) -> MissingSentinelSchema; now def missing_sentinel_schema(schema: CoreSchema | None = None, \*, metadata: dict\[str, Any\] | None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.49.0/)
- **Signature changed** `pydantic_core.core_schema.str_schema`  

Was def str_schema(\*, pattern: str | Pattern\[str\] | None = None, max_length: int | None = None, min_length: int | None = None, strip_whitespace: bool | None = None, to_lower: bool | None = None, to_upper: bool | None = None, regex_engine... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.49.0/)
- **Signature changed** `pydantic_core.core_schema.TaggedUnionSchema.choices`  

Was choices: Required\[dict\[Hashable, CoreSchema\]\]; now choices: Required\[dict\[Any, CoreSchema\]\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.49.0/)
- **Signature changed** `pydantic_core.core_schema.TaggedUnionSchema.discriminator`  

Was discriminator: Required\[str | list\[str | int\] | list\[list\[str | int\]\] | Callable\[\[Any\], Hashable\]\]; now discriminator: Required\[str | list\[str | int\] | list\[list\[str | int\]\] | Callable\[\[Any\], Any\]\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.49.0/)

## pydantic-core 2.47.0 breaking changes

pydantic-core 2.47.0, released May 22, 2026: 1 breaking change.

- **Removed** `pydantic_core.MultiHostUrl.build`  

MultiHostUrl.build was removed in pydantic_core 2.47.0 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.47.0/)

## pydantic-core 2.45.0 breaking changes

pydantic-core 2.45.0, released March 31, 2026: 1 breaking change.

- **Signature changed** `pydantic_core.core_schema.computed_field`  

Was def computed_field(property_name: str, return_schema: CoreSchema, \*, alias: str | None = None, metadata: dict\[str, Any\] | None = None) -> ComputedField; now def computed_field(property_name: str, return_schema: CoreSchema, \*, alias... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.45.0/)

## pydantic-core 2.42.0 breaking changes

pydantic-core 2.42.0, released February 23, 2026: 8 breaking changes.

- **Signature changed** `pydantic_core.SchemaSerializer.__init__`  

Was def \_\_init\_\_(self, schema: CoreSchema, config: CoreConfig | None = None) -> None; now def \_\_init\_\_(self, schema: CoreSchema, config: CoreConfig | None = None, \_use_prebuilt: bool = True) -> None. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.SchemaSerializer.__new__`  

Was def \_\_new\_\_(cls, schema: CoreSchema, config: CoreConfig | None = None) -> Self; now def \_\_new\_\_(cls, schema: CoreSchema, config: CoreConfig | None = None, \_use_prebuilt: bool = True) -> Self. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.SchemaSerializer.to_json`  

Was def to_json(self, value: Any, \*, indent: int | None = None, ensure_ascii: bool = False, include: \_IncEx | None = None, exclude: \_IncEx | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool =... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.SchemaSerializer.to_python`  

Was def to_python(self, value: Any, \*, mode: str | None = None, include: \_IncEx | None = None, exclude: \_IncEx | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool =... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.SchemaValidator.__init__`  

Was def \_\_init\_\_(self, schema: CoreSchema, config: CoreConfig | None = None) -> None; now def \_\_init\_\_(self, schema: CoreSchema, config: CoreConfig | None = None, \_use_prebuilt: bool = True) -> None. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.SchemaValidator.__new__`  

Was def \_\_new\_\_(cls, schema: CoreSchema, config: CoreConfig | None = None) -> Self; now def \_\_new\_\_(cls, schema: CoreSchema, config: CoreConfig | None = None, \_use_prebuilt: bool = True) -> Self. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.to_json`  

Was def to_json(value: Any, \*, indent: int | None = None, ensure_ascii: bool = False, include: \_IncEx | None = None, exclude: \_IncEx | None = None, by_alias: bool = True, exclude_none: bool = False, round_trip: bool = False... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)
- **Signature changed** `pydantic_core.to_jsonable_python`  

Was def to_jsonable_python(value: Any, \*, include: \_IncEx | None = None, exclude: \_IncEx | None = None, by_alias: bool = True, exclude_none: bool = False, round_trip: bool = False, timedelta_mode: Literal\['iso8601', 'float'\] = 'iso8601'... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.42.0/)

## Older versions

33 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pydantic-core 2.41.5 breaking changes

pydantic-core 2.41.5, released November 4, 2025: 1 breaking change.

- **Behavior changed**  

URL credentials are no longer percent-encoded in this release; the option is to be reintroduced later. Code that relies on encoded credentials may need to handle them itself. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.41.5)

### pydantic-core 2.41.2 breaking changes

pydantic-core 2.41.2, released October 13, 2025: 1 breaking change.

- **Behavior changed**  

Serialization with serialize_as_any=True now uses a field's field_serializer, so output for such fields can differ from earlier versions. Check code that relies on the previous output. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.41.2)

### pydantic-core 2.41.0 breaking changes

pydantic-core 2.41.0, released October 6, 2025: 1 breaking change.

- **Behavior changed** `default_factory`  

If validation has already failed, default factories that take the data argument are not called anymore. Code that relies on those factories running in that case must be updated. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.41.0)

### pydantic-core 2.40.1 breaking changes

pydantic-core 2.40.1, released October 2, 2025: 3 breaking changes.

- **Behavior changed** `SerializationInfo.mode`  

SerializationInfo.mode() now returns the same mode value that model_dump() uses. Code that compares or branches on its return value should be checked. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.40.1)
- **Signature changed** `pydantic_core.core_schema.FieldSerializationInfo.mode`  

Was mode: Literal\['python', 'json'\]; now mode: Literal\['python', 'json'\] | str. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.40.1/)

And 1 more in this version.

### pydantic-core 2.40.0 breaking changes

pydantic-core 2.40.0, released October 1, 2025: 8 breaking changes.

- **Signature changed** `pydantic_core.core_schema.dict_schema`  

Was def dict_schema(keys_schema: CoreSchema | None = None, values_schema: CoreSchema | None = None, \*, min_length: int | None = None, max_length: int | None = None, strict: bool | None = None, ref: str | None = None, metadata: dict\[str... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.40.0/)
- **Signature changed** `pydantic_core.core_schema.multi_host_url_schema`  

Was def multi_host_url_schema(\*, max_length: int | None = None, allowed_schemes: list\[str\] | None = None, host_required: bool | None = None, default_host: str | None = None, default_port: int | None = None, default_path: str | None = None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.40.0/)

And 6 more in this version.

### pydantic-core 2.39.0 breaking changes

pydantic-core 2.39.0, released August 11, 2025: 2 breaking changes.

- **Signature changed** `pydantic_core.SchemaSerializer.to_json`  

Was def to_json(self, value: Any, \*, indent: int | None = None, ensure_ascii: bool = False, include: \_IncEx | None = None, exclude: \_IncEx | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool =... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.39.0/)
- **Signature changed** `pydantic_core.SchemaSerializer.to_python`  

Was def to_python(self, value: Any, \*, mode: str | None = None, include: \_IncEx | None = None, exclude: \_IncEx | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool =... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.39.0/)

### pydantic-core 2.37.2 breaking changes

pydantic-core 2.37.2, released July 26, 2025: 1 breaking change.

- **Signature changed** `pydantic_core.core_schema.missing_sentinel_schema`  

Was def missing_sentinel_schema() -> MissingSentinelSchema; now def missing_sentinel_schema(metadata: dict\[str, Any\] | None = None, serialization: SerSchema | None = None) -> MissingSentinelSchema. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.37.2/)

### pydantic-core 2.36.0 breaking changes

pydantic-core 2.36.0, released July 23, 2025: 5 breaking changes.

- **Signature changed** `pydantic_core.core_schema.dataclass_field`  

Was def dataclass_field(name: str, schema: CoreSchema, \*, kw_only: bool | None = None, init: bool | None = None, init_only: bool | None = None, validation_alias: str | list\[str | int\] | list\[list\[str | int\]\] | None = None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.36.0/)
- **Signature changed** `pydantic_core.core_schema.model_field`  

Was def model_field(schema: CoreSchema, \*, validation_alias: str | list\[str | int\] | list\[list\[str | int\]\] | None = None, serialization_alias: str | None = None, serialization_exclude: bool | None = None, frozen: bool | None = None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.36.0/)

And 3 more in this version.

### pydantic-core 2.35.2 breaking changes

pydantic-core 2.35.2, released June 26, 2025: 2 breaking changes.

- **Signature changed** `pydantic_core.core_schema.FieldSerializationInfo.mode`  

Was mode: str; now mode: Literal\['python', 'json'\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.35.2/)
- **Signature changed** `pydantic_core.core_schema.SerializationInfo.mode`  

Was mode: str; now mode: Literal\['python', 'json'\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.35.2/)

### pydantic-core 2.35.1 breaking changes

pydantic-core 2.35.1, released June 11, 2025: 1 breaking change.

- **Signature changed** `pydantic_core.core_schema.FieldSerializationInfo`  

Was class FieldSerializationInfo(SerializationInfo, Protocol); now class FieldSerializationInfo(SerializationInfo\[ContextT\], Protocol). [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.35.1/)

### pydantic-core 2.35.0 breaking changes

pydantic-core 2.35.0, released June 11, 2025: 20 breaking changes.

- **Removed**  

Support for PyPy 3.9 was dropped and PyPy 3.11 was added. Users on PyPy 3.9 must move to a newer PyPy. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.35.0)
- **Removed** `pydantic_core.PydanticCustomError.__new__`  

PydanticCustomError.\_\_new\_\_ was removed in pydantic_core 2.35.0 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.35.0/)

And 18 more in this version.

### pydantic-core 2.33.0 breaking changes

pydantic-core 2.33.0, released March 26, 2025: 5 breaking changes.

- **Default changed** `to_json`  

The default value of by_alias for to_json() is reverted back, so code that relied on the 2.32.0 default may behave differently again. Pass by_alias explicitly if the default matters. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.33.0)
- **Default changed** `to_jsonable_python`  

The default value of by_alias for to_jsonable_python() is reverted back, so code that relied on the 2.32.0 default may behave differently again. Pass by_alias explicitly if the default matters. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.33.0)

And 3 more in this version.

### pydantic-core 2.31.1 breaking changes

pydantic-core 2.31.1, released March 6, 2025: 1 breaking change.

- **Behavior changed**  

Prebuilt schemas no longer reuse after validators; code relying on the previous reuse behavior may see different validation results. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.31.1)

### pydantic-core 2.31.0 breaking changes

pydantic-core 2.31.0, released March 5, 2025: 1 breaking change.

- **Signature changed** `pydantic_core.core_schema.typed_dict_schema`  

Was def typed_dict_schema(fields: dict\[str, TypedDictField\], \*, cls: type\[Any\] | None = None, computed_fields: list\[ComputedField\] | None = None, strict: bool | None = None, extras_schema: CoreSchema | None = None, extra_behavior... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.31.0/)

### pydantic-core 2.30.0 breaking changes

pydantic-core 2.30.0, released February 25, 2025: 21 breaking changes.

- **Removed** `pydantic_core.core_schema.ArgumentsSchema.populate_by_name`  

pydantic_core.core_schema.arguments_schema().populate_by_name was removed in pydantic_core 2.30.0 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.30.0/)
- **Removed** `pydantic_core.core_schema.DataclassArgsSchema.populate_by_name`  

pydantic_core.core_schema.dataclass_args_schema().populate_by_name was removed in pydantic_core 2.30.0 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.30.0/)

And 19 more in this version.

### pydantic-core 2.28.0 breaking changes

pydantic-core 2.28.0, released January 30, 2025: 2 breaking changes.

- **Removed**  

The package no longer supports Python 3.8. Users on Python 3.8 must stay on an older release or upgrade Python. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.28.0)
- **Signature changed** `pydantic_core.core_schema.SerializationInfo.round_trip`  

Was def round_trip(self) -> bool; now round_trip: bool. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.28.0/)

### pydantic-core 2.27.2 breaking changes

pydantic-core 2.27.2, released December 18, 2024: 7 breaking changes.

- **Signature changed** `pydantic_core.core_schema.no_info_after_validator_function`  

Was def no_info_after_validator_function(function: NoInfoValidatorFunction, schema: CoreSchema, \*, ref: str | None = None, metadata: Dict\[str, Any\] | None = None, serialization: SerSchema | None = None) -> AfterValidatorFunctionSchema; now... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.27.2/)
- **Signature changed** `pydantic_core.core_schema.no_info_before_validator_function`  

Was def no_info_before_validator_function(function: NoInfoValidatorFunction, schema: CoreSchema, \*, ref: str | None = None, metadata: Dict\[str, Any\] | None = None, serialization: SerSchema | None = None) -> BeforeValidatorFunctionSchema... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.27.2/)

And 5 more in this version.

### pydantic-core 2.27.1 breaking changes

pydantic-core 2.27.1, released November 22, 2024: 3 breaking changes.

- **Signature changed** `pydantic_core.core_schema.decimal_schema`  

Was def decimal_schema(\*, allow_inf_nan: bool = None, multiple_of: Decimal | None = None, le: Decimal | None = None, ge: Decimal | None = None, lt: Decimal | None = None, gt: Decimal | None = None, max_digits: int | None = None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.27.1/)
- **Signature changed** `pydantic_core.core_schema.typed_dict_schema`  

Was def typed_dict_schema(fields: Dict\[str, TypedDictField\], \*, cls: Type\[TypedDict\] | None = None, computed_fields: list\[ComputedField\] | None = None, strict: bool | None = None, extras_schema: CoreSchema | None = None, extra_behavior... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.27.1/)

And 1 more in this version.

### pydantic-core 2.27.0 breaking changes

pydantic-core 2.27.0, released November 12, 2024: 4 breaking changes.

- **Removed** `Url`  

The docstrings for Url and MultiHostUrl were removed from pydantic_core because they moved to pydantic. Code that reads these docstrings from pydantic_core will no longer find them. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.27.0)
- **Signature changed** `pydantic_core.SchemaValidator.validate_json`  

Was def validate_json(self, input: str | bytes | bytearray, \*, strict: bool | None = None, context: Any | None = None, self_instance: Any | None = None, allow_partial: bool = False) -> Any; now def validate_json(self, input: str | bytes |... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.27.0/)

And 2 more in this version.

### pydantic-core 2.26.0 breaking changes

pydantic-core 2.26.0, released November 4, 2024: 8 breaking changes.

- **Removed** `pydantic_core.core_schema.MultiHostUrlSchema.cls`  

pydantic_core.core_schema.multi_host_url_schema().cls was removed in pydantic_core 2.26.0 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.26.0/)
- **Removed** `pydantic_core.core_schema.UrlSchema.cls`  

pydantic_core.core_schema.url_schema().cls was removed in pydantic_core 2.26.0 [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.26.0/)

And 6 more in this version.

### pydantic-core 2.25.1 breaking changes

pydantic-core 2.25.1, released October 30, 2024: 7 breaking changes.

- **Signature changed** `pydantic_core.core_schema.multi_host_url_schema`  

Was def multi_host_url_schema(\*, max_length: int | None = None, allowed_schemes: list\[str\] | None = None, host_required: bool | None = None, default_host: str | None = None, default_port: int | None = None, default_path: str | None = None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.25.1/)
- **Signature changed** `pydantic_core.core_schema.url_schema`  

Was def url_schema(\*, max_length: int | None = None, allowed_schemes: list\[str\] | None = None, host_required: bool | None = None, default_host: str | None = None, default_port: int | None = None, default_path: str | None = None, strict... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.25.1/)

And 5 more in this version.

### pydantic-core 2.25.0 breaking changes

pydantic-core 2.25.0, released October 23, 2024: 5 breaking changes.

- **Behavior changed** `host_required`  

The host_required constraint is now enforced for URLs, so URLs that previously passed validation without a host can now fail. Check URL validation for inputs missing a host. [github.com](https://github.com/pydantic/pydantic-core/releases/tag/v2.25.0)
- **Signature changed** `pydantic_core.core_schema.dataclass_schema`  

Was def dataclass_schema(cls: Type\[Any\], schema: CoreSchema, fields: List\[str\], \*, cls_name: str | None = None, post_init: bool | None = None, revalidate_instances: Literal\['always', 'never', 'subclass-instances'\] | None = None, strict... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.25.0/)

And 3 more in this version.

### pydantic-core 2.24.0 breaking changes

pydantic-core 2.24.0, released September 20, 2024: 4 breaking changes.

- **Signature changed** `pydantic_core.core_schema.arguments_schema`  

Was def arguments_schema(arguments: list\[ArgumentsParameter\], \*, populate_by_name: bool | None = None, var_args_schema: CoreSchema | None = None, var_kwargs_schema: CoreSchema | None = None, ref: str | None = None, metadata: Dict\[str, Any\]... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.24.0/)
- **Signature changed** `pydantic_core.CoreConfig.ser_json_timedelta`  

Was ser_json_timedelta: Literal\['iso8601', 'float'\]; now ser_json_timedelta: Literal\['iso8601', 'seconds_float', 'milliseconds_float'\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.24.0/)

And 2 more in this version.

### pydantic-core 2.23.3 breaking changes

pydantic-core 2.23.3, released September 7, 2024: 4 breaking changes.

- **Signature changed** `pydantic_core.SchemaSerializer.to_json`  

Was def to_json(self, value: Any, \*, indent: int | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.23.3/)
- **Signature changed** `pydantic_core.SchemaSerializer.to_python`  

Was def to_python(self, value: Any, \*, mode: str | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.23.3/)

And 2 more in this version.

### pydantic-core 2.23.2 breaking changes

pydantic-core 2.23.2, released September 5, 2024: 3 breaking changes.

- **Signature changed** `pydantic_core.TzInfo.dst`  

Was def dst(self, \_dt: datetime.datetime | None) -> datetime.timedelta; now def dst(self, dt: datetime.datetime | None) -> datetime.timedelta | None. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.23.2/)
- **Signature changed** `pydantic_core.TzInfo.tzname`  

Was def tzname(self, \_dt: datetime.datetime | None) -> str | None; now def tzname(self, dt: datetime.datetime | None) -> str | None. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.23.2/)

And 1 more in this version.

### pydantic-core 2.23.0 breaking changes

pydantic-core 2.23.0, released August 19, 2024: 110 breaking changes.

- **Signature changed** `pydantic_core.core_schema.AfterValidatorFunctionSchema.metadata`  

Was metadata: Any; now metadata: Dict\[str, Any\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.23.0/)
- **Signature changed** `pydantic_core.core_schema.any_schema`  

Was def any_schema(\*, ref: str | None = None, metadata: Any = None, serialization: SerSchema | None = None) -> AnySchema; now def any_schema(\*, ref: str | None = None, metadata: Dict\[str, Any\] | None = None, serialization: SerSchema | None... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.23.0/)

And 108 more in this version.

### pydantic-core 2.21.0 breaking changes

pydantic-core 2.21.0, released August 5, 2024: 3 breaking changes.

- **Signature changed** `pydantic_core.from_json`  

Was def from_json(data: str | bytes | bytearray, \*, allow_inf_nan: bool = True, cache_strings: bool | Literal\['all', 'keys', 'none'\] = True, allow_partial: bool = False) -> Any; now def from_json(data: str | bytes | bytearray, \*... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.21.0/)
- **Signature changed** `pydantic_core.to_json`  

Was def to_json(value: Any, \*, indent: int | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_none: bool = False, round_trip: bool = False, timedelta_mode: Literal\['iso8601', 'float'\] = 'iso8601'... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.21.0/)

And 1 more in this version.

### pydantic-core 2.20.0 breaking changes

pydantic-core 2.20.0, released June 25, 2024: 5 breaking changes.

- **Signature changed** `pydantic_core.core_schema.frozenset_schema`  

Was def frozenset_schema(items_schema: CoreSchema | None = None, \*, min_length: int | None = None, max_length: int | None = None, strict: bool | None = None, ref: str | None = None, metadata: Any = None, serialization: SerSchema | None =... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.20.0/)
- **Signature changed** `pydantic_core.core_schema.list_schema`  

Was def list_schema(items_schema: CoreSchema | None = None, \*, min_length: int | None = None, max_length: int | None = None, strict: bool | None = None, ref: str | None = None, metadata: Any = None, serialization: IncExSeqOrElseSerSchema |... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.20.0/)

And 3 more in this version.

### pydantic-core 2.19.0 breaking changes

pydantic-core 2.19.0, released June 12, 2024: 7 breaking changes.

- **Signature changed** `pydantic_core.core_schema.CoreConfig.ser_json_inf_nan`  

Was ser_json_inf_nan: Literal\['null', 'constants'\]; now ser_json_inf_nan: Literal\['null', 'constants', 'strings'\]. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.19.0/)
- **Signature changed** `pydantic_core.core_schema.str_schema`  

Was def str_schema(\*, pattern: str | None = None, max_length: int | None = None, min_length: int | None = None, strip_whitespace: bool | None = None, to_lower: bool | None = None, to_upper: bool | None = None, regex_engine... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.19.0/)

And 5 more in this version.

### pydantic-core 2.18.4 breaking changes

pydantic-core 2.18.4, released June 3, 2024: 9 breaking changes.

- **Signature changed** `pydantic_core.SchemaSerializer.to_json`  

Was def to_json(self, value: Any, \*, indent: int | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.18.4/)
- **Signature changed** `pydantic_core.SchemaSerializer.to_python`  

Was def to_python(self, value: Any, \*, mode: str | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.18.4/)

And 7 more in this version.

### pydantic-core 2.18.1 breaking changes

pydantic-core 2.18.1, released April 11, 2024: 2 breaking changes.

- **Signature changed** `pydantic_core.SchemaSerializer.to_json`  

Was def to_json(self, value: Any, \*, indent: int | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.18.1/)
- **Signature changed** `pydantic_core.SchemaSerializer.to_python`  

Was def to_python(self, value: Any, \*, mode: str | None = None, include: \_IncEx = None, exclude: \_IncEx = None, by_alias: bool = True, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.18.1/)

### pydantic-core 2.18.0 breaking changes

pydantic-core 2.18.0, released April 2, 2024: 2 breaking changes.

- **Signature changed** `pydantic_core.core_schema.str_schema`  

Was def str_schema(\*, pattern: str | None = None, max_length: int | None = None, min_length: int | None = None, strip_whitespace: bool | None = None, to_lower: bool | None = None, to_upper: bool | None = None, regex_engine... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.18.0/)
- **Signature changed** `pydantic_core.from_json`  

Was def from_json(data: str | bytes | bytearray, \*, allow_inf_nan: bool = True, cache_strings: bool = True) -> Any; now def from_json(data: str | bytes | bytearray, \*, allow_inf_nan: bool = True, cache_strings: bool | Literal\['all'... [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.18.0/)

### pydantic-core 2.17.0 breaking changes

pydantic-core 2.17.0, released March 21, 2024: 13 breaking changes.

- **Signature changed** `pydantic_core.core_schema.FieldSerializationInfo.round_trip`  

Was round_trip: bool; now def round_trip(self) -> bool. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.17.0/)
- **Signature changed** `pydantic_core.core_schema.SerializationInfo.round_trip`  

Was round_trip: bool; now def round_trip(self) -> bool. [pypi.org](https://pypi.org/project/pydantic%5Fcore/2.17.0/)

And 11 more in this version.

## Related packages

- [pydantic](https://since.dev/packages/pypi/pydantic.md)
- [pydantic-ai](https://since.dev/packages/pypi/pydantic-ai.md)
- [pydantic-ai-slim](https://since.dev/packages/pypi/pydantic-ai-slim.md)
- [pydantic-settings](https://since.dev/packages/pypi/pydantic-settings.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
