Xsdata

Latest version: v24.6

Safety actively analyzes 640549 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

20.10

- Fixed generator adding multiple default value fields.
[249](https://github.com/tefra/xsdata/issues/249)
- Fixed generator not applying nested container restrictions.
[263](https://github.com/tefra/xsdata/issues/253)
- Fixed generator to avoid case insensitive class name conflicts.
[269](https://github.com/tefra/xsdata/issues/269)
- Fixed generator rendering unused simple types.
- Fixed generator unsorted libraries imports.
- Fixed JsonParser trying to parse init=False fields.
[253](https://github.com/tefra/xsdata/issues/253)
- Fixed NodeParser binding tail content more than once with mixed vars.
[256](https://github.com/tefra/xsdata/issues/256)
- Added XmlWriter interface to decouple serialize from lxml.
[247](https://github.com/tefra/xsdata/issues/247)
- Added native python xml content writer XmlEventWriter. ✨✨✨
- Added lxml based content writer LxmlEventWriter.
- Added generator config with options to control naming cases and aliases.
[265](https://github.com/tefra/xsdata/issues/265)
- Updated field xml type auto-detection to be more flexible.
[246](https://github.com/tefra/xsdata/issues/246)
- Updated EnumConverter to resort to canonical form matching as last resort.
[273](https://github.com/tefra/xsdata/issues/273)
- Updated support for derived elements.
[267](https://github.com/tefra/xsdata/issues/267)

This is my favorite release so far, maybe because xsdata reached one year of development
✨✨✨ or maybe because some of the last original components finally got the rewrite
they deserved.

20.9

- Added field metadata key `tokens` for xs:list or xs:NMTOKENS derived elements.
- Added datatype factory to register custom converters.
- Added XmlHandler interface to decouple parsing from lxml.
- Added lxml based content handlers: LxmlEventHandler, LxmlSaxHandler
- Added native python xml content handlers: XmlEventHandler, XmlSaxHandler
- Added support for python >= 3.6 [241](https://github.com/tefra/xsdata/issues/241)
- Added codegen for soap 1.1 fault messages.
- Fixed converting to enum members derived from xs:NMTOKENS.
- Fixed package level import naming conflicts.
[228](https://github.com/tefra/xsdata/issues/206)
- Fixed xml serializing to allow empty strings in attribute values.
[230](https://github.com/tefra/xsdata/issues/230)
- Fixed xml serializing for mixed content with non generics.
[238](https://github.com/tefra/xsdata/issues/238)

20.8

- Added codegen support for **WSDL 1.1 and SOAP 1.1** bindings.
- Added experimental web services client.
- Added cli flag `--ns-struct` to group classes by target namespaces.
[206](https://github.com/tefra/xsdata/issues/206)
- Added parser config to support xinclude statements.
[207](https://github.com/tefra/xsdata/issues/207)
- Added new xml union node to improve bindings for fields with union type.
[207](https://github.com/tefra/xsdata/issues/207)
- Fixed class resolve issue with mixed namespaces.
[204](https://github.com/tefra/xsdata/issues/204)
- Fixed attribute comparison issue. [209](https://github.com/tefra/xsdata/issues/209)
- Fixed data type mapping for various schema elements.
[221](https://github.com/tefra/xsdata/issues/221)
- Fixed mixed content handling. [213](https://github.com/tefra/xsdata/issues/213)
- Code cleanup & 100% coverage.

20.7

- Updated analyzer to allow abstract types to be generated.
[199](https://github.com/tefra/xsdata/issues/199)
- Removed support to generate code from multiple sources.
[172](https://github.com/tefra/xsdata/issues/172)
- Fixed naming conflict with AttributeGroup analyzer handler.
[194](https://github.com/tefra/xsdata/issues/194)
- Fixed analyzer to merge redefined attribute groups.
[196](https://github.com/tefra/xsdata/issues/196)
- Fixed analyzer to block inheritance on xs:override derived types.
[198](https://github.com/tefra/xsdata/issues/198)
- Refactored code to prepare for wsdl support.

20.6

- Updated XmlSerializer to render default namespace whenever possible.
- Fixed issue generating modules outside the target package.
- Fixed issue not creating nested package **init** files.
- Code cleanup & docstrings

20.5.5

- Added version option in the xsdata cli.
- Added generation of missing python **init** files.
- Added support for default values to inner enum classes.
- Fixed multiple issues with abstract classes and attributes/extension flattening.
- Fixed instance cross references causing codegen unpredictable results.
- Fixed xml serialization of wildcard attributes with user defined model values.
- Fixed issue with redefined/override elements with annotations.
- Fixed expand attribute groups recursively.
- Fixed false positive circular references.
- Fixed enumeration unions detection.
- Refactored ClassAnalyzer to smaller components.

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.