这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: dapper91/pydantic-xml

Tags

v2.2.1

Toggle v2.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #112 from dapper91/dev

- model level skip_empty parameter added.
- wrapped element extra entities checking bugs fixed.

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #107 from dapper91/dev

- pydantic extra='forbid' parameter is being applied to xml elements too.

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #104 from dapper91/dev

- raw element typed fields support added. See #14.
- pydantic field exclude flag bug fixed (works only for serialization now).

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #97 from dapper91/dev

- library upgraded to pydantic version 2. See https://docs.pydantic.dev/2.0/migration/
- generic models are no longer inherited from BaseGenericXmlModel but from BaseXmlModel.
- custom root type declaration has been changed. It must inherit RootXmlModel from now on.
- encoding customization api has been changed. See https://pydantic-xml.readthedocs.io/en/v2.0.0/pages/misc.html#encoding
- element attributes can be bound to TypedDict. See https://pydantic-xml.readthedocs.io/en/v2.0.0/pages/data-binding/mappings.html#typed-dict
- tagged unions support added. See https://pydantic-xml.readthedocs.io/en/v2.0.0/pages/data-binding/unions.html#discriminated-unions
- computed entities support added. See https://pydantic-xml.readthedocs.io/en/v2.0.0/pages/misc.html#computed-entities

v2.0.0b3

Toggle v2.0.0b3's commit message
bump version 2.0.0b3.

v2.0.0b2

Toggle v2.0.0b2's commit message
bump version 2.0.0b2.

v2.0.0b1

Toggle v2.0.0b1's commit message
bump version 2.0.0b1.

v2.0.0a2

Toggle v2.0.0a2's commit message
bump version 2.0.0a2.

v2.0.0a1

Toggle v2.0.0a1's commit message
bump version 2.0.0a1.

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #76 from dapper91/dev

- library api stabilized
- custom root type serialization format changed.