Skip to content

Releases: pydantic/pydantic-core

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

v0.1.0

03 Aug 13:06
f660cb3
Compare
Choose a tag to compare

And so it begins...

You can install and run pydantic-core with

pip install pydantic-core
python -c 'from pydantic_core import SchemaValidator;print(SchemaValidator("int").validate_python("123"))'

You can also run units test in your browser by following this link - this will download the zip archive of this release, install the was32 wheel attached to this release, and run unit tests.

Please create an issue if you find a problem installing or running the package.