What's Changed
- Fix bug with
UUID
validation from json with a wrap validator by @davidhewitt in #1080 - move all
clippy
lints into[lints.clippy]
table by @davidhewitt in #1083 - Remove lifetime from errors by @davidhewitt in #1084
- Fix typo in
is_instance_schema
docstring by @mariuswinger in #1087 - Don't build dummy objects when populating
ObTypeLookup
by @davidhewitt in #1086 - Remove needless uses of
PyString::intern
by @davidhewitt in #1088 - Correct deprecation message for
general_after_validator_function
by @adamchainz in #1090 - support newest
jiter
behaviour by @samuelcolvin in #1092 - Fixing
exclude_none
for json serialization ofcomputed_field
s by @sydney-runkle in #1098 - Bump
pandas
tests to run on 3.12 by @davidhewitt in #1097 - Fix memory leak caused by not visiting the function in a
CallValidator
during 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
ValidationError
by @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-DD
string 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_URL
toPYDANTIC_ERRORS_INCLUDE_URL
by @akx in #1123 - Support serialization mode specification from model config and
SerializationConfig
by @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