Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
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
2023-04-25 v0.26.0
What's Changed
- allow running tests on a specific version by @samuelcolvin in #551
- Fix serialization of models with computed fields by @dmontagu in #550
- Support RichComparison, hash and deepcopy for Url and MultiHostUrl by @adriangb in #558
- Uprev to 0.26.0 by @adriangb in #559
Full Changelog: v0.25.0...v0.26.0
v0.25.0 2023-04-18
2023-04-15 v0.24.1
What's Changed
- allow partials to "call" validator by @samuelcolvin in #546
- Fix enum value literals by @adriangb in #544
Full Changelog: v0.24.0...v0.24.1
v0.24.0 2023-04-13
What's Changed
- fix
make build-dev
for local development by @samuelcolvin in #539 - test with debug build on CI by @samuelcolvin in #541
- No info argument by @samuelcolvin in #535
- Fix CoreSchema's workaround by @ytoku in #543
- Add ultra-strict mode for better union decisions by @samuelcolvin in #536
LazyIndexMap
for JSON objects by @samuelcolvin in #522
New Contributors
Full Changelog: v0.23.1...v0.24.0
v0.23.1 2023-04-10
What's Changed
- Fix issue with recursive wrap function serializer schemas by @dmontagu in #530
- Don't recurse into metadata by @dmontagu in #532
- Use
__pydantic_serializer__
in to_jsonable_python by @dmontagu in #533 - use pyo3-signature for serializer defaults arguments by @samuelcolvin in #534
- Skip extra/unknown fields checks when using from_attributes=True by @adriangb in #537
Full Changelog: v0.23.0...v0.23.1
v0.23.0 2023-04-07
What's Changed
- Update pyodide to 0.23.0 by @messense in #520
- Add PyPy wheels for Windows by @aminalaee in #511
- add
*
tocore_schema
functions by @samuelcolvin in #521 - Update pyo3 to 0.18.2, maturin to 0.14.16 by @messense in #519
- simplify error
str()
by @samuelcolvin in #512 - Make validator complete required by @aminalaee in #525
- Better panicing by @samuelcolvin in #526
- Rename
__fields_set__
->__pydantic_fields_set__
by @samuelcolvin in #527 - arguments validation improvements by @samuelcolvin in #523
- Make mypy ignore CoreSchema's typing by @adriangb in #528
Full Changelog: v0.22.0...v0.23.0
v0.22.0 2023-04-02
What's Changed
- move
InitErrorDetails
to be public by @samuelcolvin in #513 - Serialize support
Path
and addfallback
function, JSON improvements by @samuelcolvin in #514 - allow
function-wrap-schema
to use parent schema by @samuelcolvin in #515
Full Changelog: v0.21.0...v0.22.0
v0.21.0 2023-04-01
What's Changed
- Error loc by @samuelcolvin in #507
- Catch recursive cycles in
ValidationError.json()
by @samuelcolvin in #509 - Change args to list by @realDragonium in #508
- support for raising
ValidationError
directly by @samuelcolvin in #510
Full Changelog: v0.20.0...v0.21.0