Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
v2.16.0 2024-01-17
What's Changed
- Group dependencies on dependabot updates by @Kludex in #1149
- simplify instantiation of undefined type by @samuelcolvin in #1157
- unify 'profile.profiling' configuration by @davidhewitt in #1158
- Bump the python-packages group with 4 updates by @dependabot in #1154
- Bump base64 from 0.21.5 to 0.21.7 by @dependabot in #1153
- Bump pyo3 from 0.20.1 to 0.20.2 by @dependabot in #1152
- Bump pyo3-build-config from 0.20.1 to 0.20.2 by @dependabot in #1151
- Bump serde from 1.0.193 to 1.0.195 by @dependabot in #1150
- correct build-profiling make command by @davidhewitt in #1160
- Int extraction by @samuelcolvin in #1155
- improve performance of recursion guard by @samuelcolvin in #1156
- dataclass serialization speedups by @samuelcolvin in #1162
- Add support for dataclass fields init by @dmontagu in #1163
- uprev to jiter v0.0.6, uprev pydantic-core by @samuelcolvin in #1165
Full Changelog: v2.15.0...v2.16.0
v2.15.0 2024-01-10
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
v2.14.6 2023-12-21
What's Changed
- fix memory leak with recursive definitions creating reference cycles by @davidhewitt in #1125
Full Changelog: v2.14.5...v2.14.6
v2.14.5
What's Changed
- Avoid using
?
withget_item
to handle unhashable inputs properly by @sydney-runkle in #1089
Full Changelog: v2.14.4...v2.14.5
v2.14.4
What's Changed
- Fix bug re
custom_init
on members ofUnion
by @sydney-runkle in #1076 - Fix validation of
Literal
from JSON keys when used asdict
key by @sydney-runkle in #1075 - Update ci for Rust 1.74 by @davidhewitt in #1079
- Fix validation of negative floats when using
multiple_of
by @Viicos in #1077
Full Changelog: v2.14.3...v2.14.4
v2.14.3 2023-11-14
This release is required to fix issues with uploading to PyPI, see pypi/support#3367.
Full Changelog: v2.14.2...v2.14.3
v2.14.2 2023-11-14
Note:
What's Changed
- Fix invalid link in docstring by @samuelcolvin in #1070
- restore pypy builds for x86_64 by @davidhewitt in #1072
Full Changelog: v2.14.1...v2.14.2
v2.14.1 2023-11-09
What's Changed
- Restore manylinux-compatible PGO builds by @davidhewitt in #1068
New Contributors
- @Luca-Blight made their first contribution in #1051
Full Changelog: v2.14.0...v2.14.1
v2.14.0 2023-11-08
What's Changed
- run pydantic integration tests with lax xfail by @davidhewitt in #1054
- replace ultra_strict with new union implementation by @davidhewitt in #867
Full Changelog: v2.13.0...v2.14.0