library upgraded to pydantic version 2. See https://docs.pydantic.dev/2.0/migration/
Breaking changes:
- generic models are no longer inherited from
BaseGenericXmlModel
but fromBaseXmlModel
. - custom root type declaration has been changed. It must inherit
RootXmlModel
from now on. - encoding customization api has been changed. See for more information.
New features:
- element attributes can be bound to
TypedDict
. See for more information. - tagged unions support added. See for more information.
- computed entities support added. See for more information.