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 13 of 22

0.40.0

What's Changed
* Make Url and MultiHostUrl subclassable by dmontagu in https://github.com/pydantic/pydantic-core/pull/660
* 🐛 Fix `__pydantic_fields_set__` behavior on `RootModel` by lig in https://github.com/pydantic/pydantic-core/pull/661
* 🔖 Bump version to 0.40.0 by lig in https://github.com/pydantic/pydantic-core/pull/668


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v0.39.0...v0.40.0

0.39.0

What's Changed
* Add tagged union benchmarks by adriangb in https://github.com/pydantic/pydantic-core/pull/656
* update to PyO3 0.19.0 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/658
* use default allocator by adriangb in https://github.com/pydantic/pydantic-core/pull/662
* Allow non-scalar values as tagged union keys by adriangb in https://github.com/pydantic/pydantic-core/pull/655
* Uprev version to 0.39.0 by adriangb in https://github.com/pydantic/pydantic-core/pull/665


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v0.38.0...v0.39.0

0.38.0

What's Changed
* Add CoreConfig to TypedDict by adriangb in https://github.com/pydantic/pydantic-core/pull/645
* remove strict checks from models directly by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/647
* Serialization return schema by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/646
* support `from_attributes` at validation time by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/648
* New speedate by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/651
* Move dataclass config onto dataclass schema by adriangb in https://github.com/pydantic/pydantic-core/pull/652
* specific TZ offset constraints by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/653


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v0.37.0...v0.38.0

0.37.0

What's Changed
* fix error for long int input by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/642
* Add SchemaValidator.get_default_value() by adriangb in https://github.com/pydantic/pydantic-core/pull/643
* Uprev version to 0.37.0 by adriangb in https://github.com/pydantic/pydantic-core/pull/644


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v0.36.0...v0.37.0

0.36.0

What's Changed
* Add `__pydantic_private__` by dmontagu in https://github.com/pydantic/pydantic-core/pull/640
* rename `hide_input_in_errors` -> `hide_input` on `ValidationError` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/641


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v0.35.0...v0.36.0

0.35.0

What's Changed
* nicer error when hitting recursion error while serializing by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/630
* Add slots to dataclass schema by hramezani in https://github.com/pydantic/pydantic-core/pull/617
* Add hide_input to ValidationError by hramezani in https://github.com/pydantic/pydantic-core/pull/633
* fix for model subclass serialization in unions by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/632
* adding `tools.rs`, add `extract_i64` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/635
* Use `PyInt` for inequality and multiple of checks by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/634
* Add error messages for json by Kludex in https://github.com/pydantic/pydantic-core/pull/637

New Contributors
* Kludex made their first contribution in https://github.com/pydantic/pydantic-core/pull/637

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v0.34.0...v0.35.0

Page 13 of 22

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.