Pydantic-core

Latest version: v2.31.1

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

Scan your dependencies

Page 8 of 22

2.13.0

What's Changed
* PGO build for MacOS M1 by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1063


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.12.0...v2.13.0

2.12.0

What's Changed
* Bump regex from 1.10.1 to 1.10.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1036
* Bump uuid from 1.4.1 to 1.5.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1035
* Bump ahash from 0.8.3 to 0.8.4 by dependabot in https://github.com/pydantic/pydantic-core/pull/1034
* Bump base64 from 0.21.4 to 0.21.5 by dependabot in https://github.com/pydantic/pydantic-core/pull/1033
* Bump ruff from 0.0.292 to 0.1.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1032
* Bump griffe from 0.36.5 to 0.36.7 by dependabot in https://github.com/pydantic/pydantic-core/pull/1031
* Bump pyright from 1.1.331 to 1.1.332 by dependabot in https://github.com/pydantic/pydantic-core/pull/1029
* Bump mypy from 1.6.0 to 1.6.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1030
* Bump black from 23.9.1 to 23.10.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1028
* Don't accept NaN in float and decimal constraints by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1037
* Add lax_str and lax_int support for enum values not inherited from str/int by michaelhly in https://github.com/pydantic/pydantic-core/pull/1015
* Support subclasses in lists in `Union` of `List` types by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1039
* Allow validation against `max_digits` and `decimals` to pass if normalized or non-normalized input is valid by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1049
* fix: proper pluralization in validation error messages by Iipin in https://github.com/pydantic/pydantic-core/pull/1050
* Bump serde from 1.0.189 to 1.0.190 by dependabot in https://github.com/pydantic/pydantic-core/pull/1047
* Bump ahash from 0.8.4 to 0.8.6 by dependabot in https://github.com/pydantic/pydantic-core/pull/1046
* Bump actions/setup-node from 3 to 4 by dependabot in https://github.com/pydantic/pydantic-core/pull/1045
* Bump pytest from 7.4.2 to 7.4.3 by dependabot in https://github.com/pydantic/pydantic-core/pull/1044
* Bump ruff from 0.1.1 to 0.1.3 by dependabot in https://github.com/pydantic/pydantic-core/pull/1043
* Bump griffe from 0.36.7 to 0.36.9 by dependabot in https://github.com/pydantic/pydantic-core/pull/1041
* Bump pyright from 1.1.332 to 1.1.334 by dependabot in https://github.com/pydantic/pydantic-core/pull/1055
* jiter by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/974
* Bump black from 23.10.0 to 23.10.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1057
* Bump serde_json from 1.0.107 to 1.0.108 by dependabot in https://github.com/pydantic/pydantic-core/pull/1058
* Uprev to 2.12.0 by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1061
* uprev speedate, prevent `-` sign as datetime by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1060
* check not type in serialization by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/962
* reduce dependabot frequency by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1059
* fix: nan inf float by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1062

New Contributors
* michaelhly made their first contribution in https://github.com/pydantic/pydantic-core/pull/1015
* Iipin made their first contribution in https://github.com/pydantic/pydantic-core/pull/1050

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.11.0...v2.12.0

2.11.0

What's Changed
* Replace definitions `Vec` with `OnceLock` slots by davidhewitt in https://github.com/pydantic/pydantic-core/pull/992
* Fix type-checking when using deprecated `FieldValidationInfo` by sisp in https://github.com/pydantic/pydantic-core/pull/995
* Fix pydantic 7715 by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1002
* Fix `regex_engine` being rejected by `validate_core_schema` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1011
* Add `SchemaSerializer.__reduce__` method to enable `pickle` serialization by edoakes in https://github.com/pydantic/pydantic-core/pull/1006
* Fix `definition-ref` bug with `Dict` keys by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1014
* Update PyO3 to 0.20 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1003
* feat: add `ser_json_bytes` mode `'hex'` by PrettyWood in https://github.com/pydantic/pydantic-core/pull/1016
* Bump strum_macros from 0.25.2 to 0.25.3 by dependabot in https://github.com/pydantic/pydantic-core/pull/1021
* Bump serde from 1.0.188 to 1.0.189 by dependabot in https://github.com/pydantic/pydantic-core/pull/1019
* Bump regex from 1.9.6 to 1.10.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1020
* Fix bug allowing validation of `bool` types with `coerce_numbers_to_str=True` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1017
* Bump version to 2.11.0 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1027

New Contributors
* sisp made their first contribution in https://github.com/pydantic/pydantic-core/pull/995
* edoakes made their first contribution in https://github.com/pydantic/pydantic-core/pull/1006

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.10.1...v2.11.0

2.10.1

What's Changed
* Bump smallvec from 1.11.0 to 1.11.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/988
* improve quality of too short / too long error messages by davidhewitt in https://github.com/pydantic/pydantic-core/pull/990

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.10.0...v2.10.1

2.10.0

What's Changed
* use `TypedDict` from `typing_extensions` on <3.12 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/978
* add switch to change regex engine from Rust to Python by davidhewitt in https://github.com/pydantic/pydantic-core/pull/983
* 🐛 Fix handling of `UUID` values having `UUID.version=None` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/981
* Add `validate_core_schema` function and remove validation from `SchemaValidator` and `SchemaSerializer` constructors by davidhewitt in https://github.com/pydantic/pydantic-core/pull/982
* add strict flag to validate_core_schema by adriangb in https://github.com/pydantic/pydantic-core/pull/984
* make `field_name` and `data` available on `ValidationInfo` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/980


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.9.0...v2.10.0

2.9.0

What's Changed
* fix function-after validator changing validation mode to Python by davidhewitt in https://github.com/pydantic/pydantic-core/pull/967
* implementing `validate_strings` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/883
* Fix serialization of model subclasses via unions when definition referneces are used by adriangb in https://github.com/pydantic/pydantic-core/pull/977
* ✨ Implement optional `number` to `str` coercion by lig in https://github.com/pydantic/pydantic-core/pull/975
* Add support for hiding input in errors and json by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/973
* 🔖 Bump version to 2.9.0 by lig in https://github.com/pydantic/pydantic-core/pull/979

New Contributors
* sydney-runkle made their first contribution in https://github.com/pydantic/pydantic-core/pull/973

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.8.0...v2.9.0

Page 8 of 22

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.