Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
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
v0.20.0 2023-03-31
What's Changed
- fix
list_all_errors
by @samuelcolvin in #506 - Implement frozen and extra_behavior for dataclasses by @adriangb in #505
Full Changelog: v0.19.0...v0.20.0
v0.19.0 2023-03-30
What's Changed
- Fix Validator::complete not being implemented properly for all validator types by @dmontagu in #494
- Model subclass instances by @samuelcolvin in #492
- Allow instances of subclasses in strict mode by @samuelcolvin in #498
- add
ValidationError.json()
method as per V1 by @samuelcolvin in #499 - adding
to_jsonable_python
method by @samuelcolvin in #500 - Uprev to 0.19.0 by @dmontagu in #502
- Different error messages for JSON input by @samuelcolvin in #501
Full Changelog: v0.18.1...v0.19.0
v0.18.1 2023-03-30
What's Changed
Full Changelog: v0.18.0...v0.18.1
v0.18.0 2023-03-29
What's Changed
- Remove duplicate test case from test_arguments by @hramezani in #490
- Remove duplicate code from field_after_validator_function doc by @hramezani in #491
- Make validate_assignment a part of the Validator trait by @adriangb in #478
- Uncomment some assertion by @hramezani in #493
New Contributors
- @hramezani made their first contribution in #490
Full Changelog: v0.17.1...v0.18.0