Path to this page:
Subject: CVS commit: pkgsrc/devel/py-pydantic
From: Adam Ciarcinski
Date: 2024-12-04 12:25:32
Message id: 20241204112532.3A84AFC1C@cvs.NetBSD.org
Log Message:
py-pydantic: updated to 2.10.3
v2.10.3 (2024-12-03)
Fixes
* Set fields when `defer_build` is set on Pydantic dataclasses
* Do not resolve the JSON Schema reference for `dict` core schema keys
* Use the globals of the function when evaluating the return type for \
`PlainSerializer` and `WrapSerializer` functions
* Fix host required enforcement for urls to be compatible with v2.9 behavior
* Add a `default_factory_takes_validated_data` property to `FieldInfo`
* Fix url json schema in `serialization` mode
v2.10.2 (2024-11-25)
Fixes
* Only evaluate FieldInfo annotations if required during schema building
* Do not evaluate annotations for private fields
* Support serialization as any for `Secret` types and `Url` types
* Fix type hint of `Field.default` to be compatible with Python 3.8 and 3.9
* Add hashing support for URL types
* Hide `BaseModel.__replace__` definition from type checkers
Files: