Core validation logic for pydantic written in rust
int
by @samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1269
int
s with leading unary plus by @cknv in https://github.com/pydantic/pydantic-core/pull/1272
extra != 'ignore'
and from_attributes=True
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1275
Enum
's missing
function as ValidationError
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1274
Iterable
validation by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1271
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.18.1...v2.18.2
coerce_numbers_to_str option
in StringSchema
by @NeevCohen in https://github.com/pydantic/pydantic-core/pull/1262
str
-> int
by @samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1266
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.18.0...v2.18.1
ser_json_inf_nan
inference by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1251
0.2.0
by @samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1250
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.17.0...v2.18.0
smallvec
from 1.11.2 to 1.13.1 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1181
regex
from 1.10.2 to 1.10.3 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1180
uuid
from 1.6.1 to 1.7.0 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1179
serde
from 1.0.195 to 1.0.196 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1177
serde_json
from 1.0.109 to 1.0.114 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1211
ahash
from 0.8.7 to 0.8.10 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1210
strum_macros
from 0.25.3 to 0.26.1 by @dependabot in https://github.com/pydantic/pydantic-core/pull/1208
PyO3
0.21 beta by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1222
pyodide
to 0.25.0 by @samdobson in https://github.com/pydantic/pydantic-core/pull/1199
speedate
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1244
__dict__
changes during iteration by @alexmojaki in https://github.com/pydantic/pydantic-core/pull/1196
TzInfo
equality check based on offset by @13sin in https://github.com/pydantic/pydantic-core/pull/1197
BigInt
from str
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1204
_pydantic_core.pyi
by @Viicos in https://github.com/pydantic/pydantic-core/pull/1217
Input
trait 'a
and 'py
lifetimes by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1227
computed_field
is excluded by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1228
Input
for str
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1229
with_new_extra
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1233
Input
trait to have single as_python
cast for python inputs by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1241
__pydantic_extra__
is None
, even if extra='allow'
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1236
context
to serialization by @ornariece in https://github.com/pydantic/pydantic-core/pull/1215
serialize_as_any
runtime flag support by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1194
speedate
change: Serialize duration to hour minute second, instead of just seconds by @kakilangit in https://github.com/pydantic/speedate/pull/50
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.16.3...v2.17.0
'YYYY-MM-DD'
date
string coerced to datetime
shouldn't infer timezone by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1193
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.16.2...v2.16.3
AsLocItem
trait by @samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1169
UUID
validation from string by @JeanArhancet in https://github.com/pydantic/pydantic-core/pull/1172
tuple
of wrong size in Union
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1174
computed_field
json serialization by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1187
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.16.1...v2.16.2
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.16.0...v2.16.1
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.15.0...v2.16.0
UUID
validation from json with a wrap validator by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1080
clippy
lints into [lints.clippy]
table by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1083
is_instance_schema
docstring by @mariuswinger in https://github.com/pydantic/pydantic-core/pull/1087
ObTypeLookup
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1086
PyString::intern
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1088
general_after_validator_function
by @adamchainz in https://github.com/pydantic/pydantic-core/pull/1090
jiter
behaviour by @samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1092
exclude_none
for json serialization of computed_field
s by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1098
pandas
tests to run on 3.12 by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1097
CallValidator
during gc by @dmontagu in https://github.com/pydantic/pydantic-core/pull/1100
ValidationError
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1119
yyyy-MM-DD
string for datetimes by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1124
PYDANTIC_ERRORS_OMIT_URL
to PYDANTIC_ERRORS_INCLUDE_URL
by @akx in https://github.com/pydantic/pydantic-core/pull/1123
SerializationConfig
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1122
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.6...v2.15.0
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.5...v2.14.6