Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
v0.2.1 2022-09-24
- Improve asking/answering questions #244
- add
call_after_init
tonew-class
validators #245 - add
slots
toSchemaValidator.__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
frozen
and addstrict
+context
support tovalidate_assignment
by @PrettyWood in #221 - rename
GenericListLike
intoGenericCollection
+ 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
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.