Changelog#
0.6.1 (2023-04-15)#
model parameters inheritance bug fixed. See https://github.com/dapper91/pydantic-xml/issues/51
0.6.0 (2023-02-05)#
union types support added
xml model encoding api unified with pydantic json encoding api
root model validation raises exception instead of returning None
xml model params inheritance implemented
multiple element search strategies implemented
0.5.0 (2023-01-11)#
ipaddress objects serialization support added
py.typed file added
distutils dependency removed
default namespace redefinition during serialization fixed (for lxml only). See https://github.com/dapper91/pydantic-xml/issues/27.
0.4.0 (2022-12-19)#
field default parameter support added.
field default_factory parameter support added.
root model validation added.
pydantic field alias support implemented.
0.3.0 (2022-11-10)#
recursive (self-referencing) models support added.
inherit_ns flag dropped due to recursive models implementation details.
0.2.2 (2022-10-07)#
attribute default namespace bug fixed.
0.2.1 (2022-10-06)#
default namespace support added.
0.2.0 (2022-08-19)#
generic models support
namespace inheritance bug fixed.
0.1.0 (2022-08-17)#
Initial release