Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
v0.6.0 2022-10-27
- fix linting for newest clippy #309
- uprev-deps #308
- Error changes #307
- tests to confirm "loc" on errors with an alias #310
Full Changelog: v0.5.3...v0.6.0
v0.5.3 2022-10-20
- Change how arguments are defined to use
{'__args__': (...), '__kwargs__': {}}, and allow simple list/tuple for just args
Full Changelog: v0.5.2...v0.5.3
v0.5.2 2022-10-18
What's Changed
Full Changelog: v0.5.1...v0.5.2
v0.5.1 2022-10-18
What's Changed
- support future and past dates and datetimes #295
- Tweak type annotations for
PydanticCustomErrorandPydanticKindError7029215 - Ci tweaks #297
- combine
literal_single_errorandliteral_multiple_error#298 - Allow
Sequenceandtupletois_instancevalidator #299 - fix repr for single literals #300
Full Changelog: v0.5.0...v0.5.1
v0.5.0 2022-10-16
- fix float
multiple_ofcalc #286 - python types for
ErrorKind#289 - add
CustomErrorValidator#290 - Add
JsonValidator#291 Literal[None]->NoneValidator5a65c11- correct use of
StrValidatorandStrConstrainedValidatore671f33 - Schema extra #292
- add
json_functiontoIsInstanceValidator#293 - Logic for instances of subclasses of strings #294
Full Changelog: v0.4.0...v0.5.0
v0.4.0 2022-10-13
What's Changed
- tweak typing by @PrettyWood in #271
- add
outer_locationargument toValidatorCallableby @samuelcolvin in #277 - Generator type by @samuelcolvin in #276
is_instanceJSON support by @samuelcolvin in #278- fix
JsonTypecopy by @samuelcolvin in #279 - validator title and optionally omit context by @samuelcolvin in #283
- Improve errors by @sanders41 in #270
- support
dequeinput to list, tuple etc., change how lengths are validated by @samuelcolvin in #275 - adding
PydanticOmitexception by @samuelcolvin in #282 - unique error kinds by @samuelcolvin in #285
- Custom error kind by @samuelcolvin in #284
New Contributors
- @sanders41 made their first contribution in #270
Full Changelog: v0.3.1...v0.4.0
v0.3.1 2022-09-30
Full Changelog: v0.3.0...v0.3.1
v0.3.0 2022-09-29
- Rename core #248
- stop allowing str as basic input to validators #256
- Chain type #255
- limit sdist contents #257
- add
validator_instanceto function validators #258 - replace
*_items->*_length#259 - use
clsforis-instanceandnew-class#261 - build binaries for 3.11 #247
- helper functions for creating schemas #263
- custom errors on
unionandtagged-union#262
Full Changelog: v0.2.1...v0.3.0
v0.2.1 2022-09-24
- Improve asking/answering questions #244
- add
call_after_inittonew-classvalidators #245 - add
slotstoSchemaValidator.__repr__#246
Full Changelog: v0.2.0...v0.2.1
v0.2.0 2022-09-22
- add tests for validation context #220
- feat: allow fields to be
frozenand addstrict+contextsupport tovalidate_assignmentby @PrettyWood in #221 - rename
GenericListLikeintoGenericCollection+ improve coverage by @PrettyWood in #222 - update pyodide to 0.21.0 release version by @messense in #226
- build wheels with stable rust #227
- Support
dict_itemsfor list like fields by @ytmimi in #225 - Fix coverage export #233
- add flag to allow only finite float values by @PrettyWood in #228
- bump pyo3 to 0.17.1 by @PrettyWood in #236
- rename
_typesto be public by @MatthijsKok in #240 - Default validator #242
- Only use
RecursiveContainerValidatorwhen necessary #243
Full Changelog: v0.1.0...v0.2.0