Releases: pydantic/pydantic-core
Releases ยท pydantic/pydantic-core
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
v0.32.0
What's Changed
- Add set benchmarks with duplicates by @adriangb in #606
- Fix swapped test names in test_micro_benchmarks.py by @adriangb in #607
- Make ValidationError constructor a non-init method by @adriangb in #601
- Add ability to specify dataclass name in dataclass_schema by @dmontagu in #603
- Fix reversal of loc when building errors from Python by @adriangb in #609
- Do not inherit config in model fields that are themselves of type model by @dmontagu in #612
- eager length checks by @samuelcolvin in #610
- Bump version to 0.32.0 by @adriangb in #618
Full Changelog: v0.31.0...v0.32.0
v0.31.0
v0.30.0 2023-05-05
What's Changed
- Remove warning for mutable default by @dmontagu in #594
- RootModel by @samuelcolvin in #592
Full Changelog: v0.29.0...v0.30.0
v0.29.0 2023-05-05
What's Changed
- ๐ Deepcopy mutable defaults by @lig in #582
- Add hooky to pydantic core by @dmontagu in #581
- Don't generate URLs for custom errors by @dmontagu in #586
- Call cls for custom init by @dmontagu in #574
- add griffe to linting by @samuelcolvin in #587
- Uprev to 0.29.0 by @dmontagu in #588
Full Changelog: v0.28.1...v0.29.0