Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
v0.12.1 2023-03-15
What's Changed
- make all getters for Rust objects read only by @adriangb in #429
- Fix typehint for discriminator; add test by @dmontagu in #441
- Update repr of SchemaValidator by @dmontagu in #442
- Convert tuples from *args into lists in schemas by @adriangb in #431
- Support dict keys, values and items on PyPy by @adriangb in #448
- Uprev version to 0.12.1 by @adriangb in #449
Full Changelog: v0.12.0...v0.12.1
v0.12.0 2023-03-09
What's Changed
Full Changelog: v0.11.1...v0.12.0
v0.11.1 2023-03-07
v0.11.0 2023-03-02
What's Changed
- add ErrorDetails to public interface by @ddneilson in #384
- Support include/exclude arguments with
__contains__
by @dmontagu in #409 - tests for serializing dataclasses with
InitVar
andClassVar
by @samuelcolvin in #411 - adding more string benchmarks by @samuelcolvin in #412
- Adding definitions support by @samuelcolvin in #406
- uprev to 0.11.0 by @dmontagu in #414
New Contributors
- @ddneilson made their first contribution in #384
Full Changelog: v0.10.0...v0.11.0
v0.10.0 2023-02-23
What's Changed
- Add min-length support for GeneratorSchema by @dmontagu in #394
- Add some notes to the documentation of some of the arguments of certain CoreSchema types by @dmontagu in #391
- Use
ChoiceKey
inTaggedUnionValidator
for int keys by @philhchen in #405 - uprev to 0.10.0 by @dmontagu in #408
Full Changelog: v0.9.0...v0.10.0
v0.9.0 2023-02-10
What's Changed
- add pydantic framework classifier by @samuelcolvin in #379
- Update pyo3 to 0.18.1 by @cdce8p in #388
- Add
CoreSchemaType
Literal
by @dmontagu in #389 - Rename
extra
->metadata
by @samuelcolvin in #396
New Contributors
Full Changelog: v0.8.2...v0.9.0
v0.8.2 2023-02-02
What's Changed
- More Serialization changes by @samuelcolvin in #374
- implement
function-wrap
serializer type to supportdeque
and similar by @samuelcolvin in #376
Full Changelog: v0.8.1...v0.8.2
v0.8.1 2023-01-26
What's Changed
- Integrate codspeed, #332
- add s390x & ppc64le linux binaries, #333
- switch
flake8
->ruff
, #334 - Improve PyMapping related function by @tushushu in #314
- Enable CodSpeed tokenless uploads by @art049 in #335
- Upgrade maturin to 0.14 by @messense in #336
- Fix the Compile time RNG seed when running the benchmarks by @art049 in #338
- Upgrade pytest-codspeed to 1.2.0 by @art049 in #337
- Implement
LaxOrStrictValidator
, #330 - Investigate seg. faults with PyPy on CI, #341
- disable coverage on CI with PyPy, #344
- Implement datetime timezone constraints by @antonagestam in #343
- Uprev linting, #346
- add
strip = true
to release profile, #348 - update pyodide to 0.22.0 by @messense in #351
- Serialization, #327
- add docstrings and docstring tests by @philhchen in #350
- Upgrade pyo3 to 0.18.0 by @messense in #361
- Add python bindings for constructors for Url and MultiHostUrl by @philhchen in #349
- utf8 error fixed on pypy with pyo3 0.18, #364
- try
mimalloc/local_dynamic_tls
, #363 - Support
kwargs
withfrom_attributes
by @jcsho in #306 - Test on other OSs, remove CI benchmarks, #366
- feat: remove usage of nohash_hasher in favor of ahash by @czotomo in #360
- Union Serialization, #357
- rename 'new-class' and similar to 'model' by @czotomo in #368
- add build tests on ppc64le, simplify, #369
- Serialize improvements, #370
- fix
is_enum
, #373 - general
to_json
method and more inferred types, #372
New Contributors
- @tushushu made their first contribution in #314
- @art049 made their first contribution in #335
- @antonagestam made their first contribution in #343
- @philhchen made their first contribution in #350
- @jcsho made their first contribution in #306
Full Changelog: v0.7.1...v0.8.1
v0.7.1 2022-11-07
What's Changed
Full Changelog: v0.7.0...v0.7.1