Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
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
v0.28.1 2023-05-04
What's Changed
- Fix to_json function by @adriangb in #577
- simplify serialization filtering by @samuelcolvin in #578
- 🙈 Add
/.pdm-python
to git ignore by @lig in #579 - Assume wrap validators produce the same serialization schema by @dmontagu in #573
- support
__pydantic_extra__
when serializing by @samuelcolvin in #576
New Contributors
Full Changelog: v0.28.0...v0.28.1
v0.28.0
What's Changed
- remove
expect_fields_set
by @samuelcolvin in #565 - Use
__pydantic_serializer__
for serializing to JSON by @dmontagu in #557 - use
LiteralString
onPydanticCustomError
by @samuelcolvin in #562 - fix: copy with tzinfo by @JeanArhancet in #567
- separate model fields validator from typed dict validator by @samuelcolvin in #568
- Error URLs by @samuelcolvin in #570
- Rework def ref system to fix various bugs by @adriangb in #571
New Contributors
- @JeanArhancet made their first contribution in #567
Full Changelog: v0.27.1...v0.28.0
v0.27.1
v0.27.0
What's Changed
- allow subclassing of
ValidationError
by @samuelcolvin in #556 - Uprev to 0.27.0 by @dmontagu in #560
Full Changelog: v0.26.0...v0.27.0