Core validation logic for pydantic written in rust
?
with get_item
to handle unhashable inputs properly by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1089
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.4...v2.14.5
custom_init
on members of Union
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1076
Literal
from JSON keys when used as dict
key by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1075
multiple_of
by @Viicos in https://github.com/pydantic/pydantic-core/pull/1077
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.3...v2.14.4
This release is required to fix issues with uploading to PyPI, see https://github.com/pypi/support/issues/3367.
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.2...v2.14.3
Note: ⚠️ this release partially failed to upload to PyPI since we hit the 10gb limit on a project, see https://github.com/pypi/support/issues/3367. I (@samuelcolvin) therefore deleted that release from PyPI along with two early releases to make space for 2.14.3.
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.1...v2.14.2
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.14.0...v2.14.1
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.13.0...v2.14.0
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.12.0...v2.13.0
Union
of List
types by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1039
max_digits
and decimals
to pass if normalized or non-normalized input is valid by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1049
-
sign as datetime by @samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1060
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.11.0...v2.12.0
Vec
with OnceLock
slots by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/992
FieldValidationInfo
by @sisp in https://github.com/pydantic/pydantic-core/pull/995
regex_engine
being rejected by validate_core_schema
by @davidhewitt in https://github.com/pydantic/pydantic-core/pull/1011
SchemaSerializer.__reduce__
method to enable pickle
serialization by @edoakes in https://github.com/pydantic/pydantic-core/pull/1006
definition-ref
bug with Dict
keys by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1014
ser_json_bytes
mode 'hex'
by @PrettyWood in https://github.com/pydantic/pydantic-core/pull/1016
bool
types with coerce_numbers_to_str=True
by @sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1017
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.10.1...v2.11.0
Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.10.0...v2.10.1