Pydantic-core

Latest version: v2.33.1

Safety actively analyzes 723607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 22

2.33.1

2.33.0

What's Changed
* Add support for extra keys validation for model fields by Viicos in https://github.com/pydantic/pydantic-core/pull/1671
* Revert `by_alias` default value change for `to_json()` and `to_jsonable_python()` by Viicos in https://github.com/pydantic/pydantic-core/pull/1672


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.32.0...v2.33.0

2.32.0

What's Changed
* bump jiter to 0.9, pyo3 to 0.24 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1667
* update authors by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1668
* Add new `arguments-v3` schema by Viicos in https://github.com/pydantic/pydantic-core/pull/1641
* Add `TzInfo.__new__` stub method by Viicos in https://github.com/pydantic/pydantic-core/pull/1611
* Bump version to v2.32.0 by Viicos in https://github.com/pydantic/pydantic-core/pull/1670


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.31.1...v2.32.0

2.31.1

What's Changed
* Skip reusing after validators in prebuilt schemas by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1663

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.31.0...v2.31.1

2.31.0

What's Changed

Packaging

* Bump `serde` from 1.0.217 to 1.0.218 by dependabot in https://github.com/pydantic/pydantic-core/pull/1657
* Bump `uuid` from 1.12.1 to 1.15.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1655
* Bump `smallvec` from 1.13.2 to 1.14.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1654

Performance

* Clean up `PydanticUnexpectedValueError` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1652

Fixes

* Skip reusing wrap validators / serializers for prebuilt variants by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1660
* Add `cls_name` to `typed-dict` schema by Viicos in https://github.com/pydantic/pydantic-core/pull/1659
* Coerce validator constraints to their valid type by Viicos in https://github.com/pydantic/pydantic-core/pull/1661


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.30.0...v2.31.0

2.30.0

What's Changed
* Use core schema fns to initalize `SchemaValidator`s in the test suite. by mikeedjones in https://github.com/pydantic/pydantic-core/pull/1631
* Bump url from 2.5.2 to 2.5.4 by dependabot in https://github.com/pydantic/pydantic-core/pull/1585
* Fix enum strict JSON validation when validators are present by Viicos in https://github.com/pydantic/pydantic-core/pull/1632
* Add support for validating v7 UUIDs by astei in https://github.com/pydantic/pydantic-core/pull/1634
* Refactor `LookupKey` logic to reduce redundancy by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1635
* Add support for UUIDv6 and UUIDv8 validation by astei in https://github.com/pydantic/pydantic-core/pull/1636
* Remove unneeded `Option` map in `PyMultiHostUrl.build` by Viicos in https://github.com/pydantic/pydantic-core/pull/1643
* Add API documentation for `ErrorDetails.url` by Viicos in https://github.com/pydantic/pydantic-core/pull/1642
* Fix typo in `InitErrorDetails.type` documentation by sobolevn in https://github.com/pydantic/pydantic-core/pull/1645
* bump to PyO3 0.23.5, support PyPy 3.11 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1646
* Fix strict behavior for unions by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1638
* Update python3-dll-a for PyPy 3.11 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1647
* Improving the alias configuration API for validation and serialization by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1640

New Contributors
* astei made their first contribution in https://github.com/pydantic/pydantic-core/pull/1634
* sobolevn made their first contribution in https://github.com/pydantic/pydantic-core/pull/1645

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.29.0...v2.30.0

Page 1 of 22

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.