Skip to content

Releases: pydantic/pydantic-core

v0.6.0 2022-10-27

27 Oct 11:31
bcf799f
Compare
Choose a tag to compare
  • 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

20 Oct 15:45
5731c23
Compare
Choose a tag to compare
  • 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

18 Oct 17:43
fc42f4f
Compare
Choose a tag to compare

What's Changed

  • Add IsSubclassValidator #301
  • add name to function validators #303

Full Changelog: v0.5.1...v0.5.2

v0.5.1 2022-10-18

18 Oct 13:20
72caae4
Compare
Choose a tag to compare

What's Changed

  • support future and past dates and datetimes #295
  • Tweak type annotations for PydanticCustomError and PydanticKindError 7029215
  • Ci tweaks #297
  • combine literal_single_error and literal_multiple_error #298
  • Allow Sequence and tuple to is_instance validator #299
  • fix repr for single literals #300

Full Changelog: v0.5.0...v0.5.1

v0.5.0 2022-10-16

16 Oct 14:25
800114b
Compare
Choose a tag to compare
  • fix float multiple_of calc #286
  • python types for ErrorKind #289
  • add CustomErrorValidator #290
  • Add JsonValidator #291
  • Literal[None] -> NoneValidator 5a65c11
  • correct use of StrValidator and StrConstrainedValidator e671f33
  • Schema extra #292
  • add json_function to IsInstanceValidator #293
  • Logic for instances of subclasses of strings #294

Full Changelog: v0.4.0...v0.5.0

v0.4.0 2022-10-13

13 Oct 10:08
b2afe83
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.4.0

v0.3.1 2022-09-30

30 Sep 16:00
837a6ce
Compare
Choose a tag to compare
  • Fix strip whitespace ordering by @huyta55 in #264
  • Core schema improvements #265

Full Changelog: v0.3.0...v0.3.1

v0.3.0 2022-09-29

29 Sep 16:46
bb13fda
Compare
Choose a tag to compare
  • Rename core #248
  • stop allowing str as basic input to validators #256
  • Chain type #255
  • limit sdist contents #257
  • add validator_instance to function validators #258
  • replace *_items -> *_length #259
  • use cls for is-instance and new-class #261
  • build binaries for 3.11 #247
  • helper functions for creating schemas #263
  • custom errors on union and tagged-union #262

Full Changelog: v0.2.1...v0.3.0

v0.2.1 2022-09-24

24 Sep 18:35
6c15c92
Compare
Choose a tag to compare
  • Improve asking/answering questions #244
  • add call_after_init to new-class validators #245
  • add slots to SchemaValidator.__repr__ #246

Full Changelog: v0.2.0...v0.2.1

v0.2.0 2022-09-22

22 Sep 12:52
ec3533a
Compare
Choose a tag to compare
  • add tests for validation context #220
  • feat: allow fields to be frozen and add strict + context support to validate_assignment by @PrettyWood in #221
  • rename GenericListLike into GenericCollection + 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_items for 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 _types to be public by @MatthijsKok in #240
  • Default validator #242
  • Only use RecursiveContainerValidator when necessary #243

Full Changelog: v0.1.0...v0.2.0