Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
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
v0.7.0 2022-11-03
v0.6.0 2022-10-27
- 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
- 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
What's Changed
Full Changelog: v0.5.1...v0.5.2
v0.5.1 2022-10-18
What's Changed
- support future and past dates and datetimes #295
- Tweak type annotations for
PydanticCustomError
andPydanticKindError
7029215 - Ci tweaks #297
- combine
literal_single_error
andliteral_multiple_error
#298 - Allow
Sequence
andtuple
tois_instance
validator #299 - fix repr for single literals #300
Full Changelog: v0.5.0...v0.5.1
v0.5.0 2022-10-16
- 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
andStrConstrainedValidator
e671f33 - Schema extra #292
- add
json_function
toIsInstanceValidator
#293 - Logic for instances of subclasses of strings #294
Full Changelog: v0.4.0...v0.5.0
v0.4.0 2022-10-13
What's Changed
- tweak typing by @PrettyWood in #271
- add
outer_location
argument toValidatorCallable
by @samuelcolvin in #277 - Generator type by @samuelcolvin in #276
is_instance
JSON support by @samuelcolvin in #278- fix
JsonType
copy by @samuelcolvin in #279 - validator title and optionally omit context by @samuelcolvin in #283
- Improve errors by @sanders41 in #270
- support
deque
input to list, tuple etc., change how lengths are validated by @samuelcolvin in #275 - adding
PydanticOmit
exception by @samuelcolvin in #282 - unique error kinds by @samuelcolvin in #285
- Custom error kind by @samuelcolvin in #284
New Contributors
- @sanders41 made their first contribution in #270
Full Changelog: v0.3.1...v0.4.0