Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
v0.41.0 2023-06-21
What's Changed
- 📌 Proper update
Cargo.lock
by @lig in #671 - Docstring fixes for core_schema.py by @tpdorsey in #664
- uprev speedate, add test by @samuelcolvin in #672
- correct MultiHostUrl repr by @davidhewitt in #677
- make Url and MultiHostUrl pickleable by @davidhewitt in #676
- fix panic on empty MultiHostUrl by @davidhewitt in #680
- include debug info in Rust benchmarks by @davidhewitt in #673
- 🐛 Fix crash on serializing a union of RootModel and BaseModel by @lig in #679
- try pyo3_build_config python for schema by @davidhewitt in #674
- fix windows build crash on generate_self_schema.py by @davidhewitt in #682
- add davidhewitt to reviewers by @davidhewitt in #683
- 🔖 Bump version to 0.41.0 by @lig in #685
New Contributors
Full Changelog: v0.40.1...v0.41.0
v0.40.1 2023-06-14
What's Changed
- 🚑 Fix
__pydantic_fields_set__
behavior in validate_construct for RootModel by @lig in #669 - 🔖 Bump version to 0.40.1 by @lig in #670
Full Changelog: v0.40.0...v0.40.1
v0.40.0 2023-06-13
v0.39.0 2023-06-10
v0.38.0 2023-05-30
What's Changed
- Add CoreConfig to TypedDict by @adriangb in #645
- remove strict checks from models directly by @samuelcolvin in #647
- Serialization return schema by @samuelcolvin in #646
- support
from_attributes
at validation time by @samuelcolvin in #648 - New speedate by @samuelcolvin in #651
- Move dataclass config onto dataclass schema by @adriangb in #652
- specific TZ offset constraints by @samuelcolvin in #653
Full Changelog: v0.37.0...v0.38.0
v0.37.0
v0.36.0 2023-05-26
What's Changed
- Add
__pydantic_private__
by @dmontagu in #640 - rename
hide_input_in_errors
->hide_input
onValidationError
by @samuelcolvin in #641
Full Changelog: v0.35.0...v0.36.0
v0.35.0 2023-05-26
What's Changed
- nicer error when hitting recursion error while serializing by @samuelcolvin in #630
- Add slots to dataclass schema by @hramezani in #617
- Add hide_input to ValidationError by @hramezani in #633
- fix for model subclass serialization in unions by @samuelcolvin in #632
- adding
tools.rs
, addextract_i64
by @samuelcolvin in #635 - Use
PyInt
for inequality and multiple of checks by @samuelcolvin in #634 - Add error messages for json by @Kludex in #637
New Contributors
Full Changelog: v0.34.0...v0.35.0
v0.34.0 2023-05-25
What's Changed
- Upgrade maturin to 0.15 by @messense in #621
- Int validation performance improvement by @samuelcolvin in #620
- cleanup string validation a little by @samuelcolvin in #624
- Support negative indices in serializer include/exclude by @adriangb in #627
- Bump version to 0.34.0 by @adriangb in #631
Full Changelog: v0.33.0...v0.34.0
v0.33.0 2023-05-05
What's Changed
Full Changelog: v0.32.0...v0.33.0