Skip to content

Releases: pydantic/pydantic-core

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.