What's Changed
- Fix bug with
UUIDvalidation from json with a wrap validator by @davidhewitt in #1080 - move all
clippylints into[lints.clippy]table by @davidhewitt in #1083 - Remove lifetime from errors by @davidhewitt in #1084
- Fix typo in
is_instance_schemadocstring by @mariuswinger in #1087 - Don't build dummy objects when populating
ObTypeLookupby @davidhewitt in #1086 - Remove needless uses of
PyString::internby @davidhewitt in #1088 - Correct deprecation message for
general_after_validator_functionby @adamchainz in #1090 - support newest
jiterbehaviour by @samuelcolvin in #1092 - Fixing
exclude_nonefor json serialization ofcomputed_fields by @sydney-runkle in #1098 - Bump
pandastests to run on 3.12 by @davidhewitt in #1097 - Fix memory leak caused by not visiting the function in a
CallValidatorduring gc by @dmontagu in #1100 - Pass extra argument in arguments validator by @andresliszt in #1094
- Use input type json when validating a json schema by @dmontagu in #1117
- Implement pickling for
ValidationErrorby @davidhewitt in #1119 - Bump uuid from 1.5.0 to 1.6.1 by @dependabot in #1105
- Bump url from 2.4.1 to 2.5.0 by @dependabot in #1102
- Bump smallvec from 1.11.1 to 1.11.2 by @dependabot in #1103
- Bump serde from 1.0.190 to 1.0.193 by @dependabot in #1104
- Support
yyyy-MM-DDstring for datetimes by @sydney-runkle in #1124 - Support indirect definition references by @dmontagu in #1130
- drop Python 3.7, and PyPy 3.7 and 3.8 by @davidhewitt in #1129
- Bump ahash from 0.8.6 to 0.8.7 by @dependabot in #1135
- Bump pyo3 from 0.20.0 to 0.20.1 by @dependabot in #1136
- Bump serde_json from 1.0.108 to 1.0.109 by @dependabot in #1134
- Rework
PYDANTIC_ERRORS_OMIT_URLtoPYDANTIC_ERRORS_INCLUDE_URLby @akx in #1123 - Support serialization mode specification from model config and
SerializationConfigby @sydney-runkle in #1122 - Bump idna from 0.4.0 to 0.5.0 by @dependabot in #1101
- Add unified tuple validator that can handle "variadic" tuples via PEP-646 by @dmontagu in #865
- Use stricter serializer for unions of simple types by @alexdrydew in #1132
New Contributors
- @mariuswinger made their first contribution in #1087
- @adamchainz made their first contribution in #1090
- @andresliszt made their first contribution in #1094
- @akx made their first contribution in #1123
- @alexdrydew made their first contribution in #1132
Full Changelog: v2.14.6...v2.15.0