release 2.0.0a1
Pre-release
Pre-release
library upgraded to pydantic version 2.
Breaking changes:
- custom root type declaration has been changed. It must inherit
RootXmlModelfrom now on. See for more details. - generic models are no longer inherited from
BaseGenericXmlModelbut fromBaseXmlModel. See. - encoding customization api has been changed. See.
New features:
- element attributes can be bound to TypedDict
- similar to pydantic computed fields it is possible to declare computed entities.