Xsdata

Latest version: v24.11

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

Scan your dependencies

Page 7 of 10

21.1

- Fixed XmlWriter converting attribute keys to QName.
[346](https://github.com/tefra/xsdata/issues/346)
- Set empty complexType base to anySimpleType
[349](https://github.com/tefra/xsdata/issues/349)
- Improve duplicate attr names detection
[351](https://github.com/tefra/xsdata/issues/351)
- Add SerializerConfig::xml_declaration option
[357](https://github.com/tefra/xsdata/issues/357)
- Generate default value/factory for compound fields
[359](https://github.com/tefra/xsdata/issues/359)
- Fixed default value for token fields
[360](https://github.com/tefra/xsdata/issues/360)
- Add doc metadata for compound fields
[362](https://github.com/tefra/xsdata/issues/362)
- JsonParser: handle class and primitive unions
[369](https://github.com/tefra/xsdata/issues/369)
- Update python mappings [366](https://github.com/tefra/xsdata/issues/366)
- Map xs:hexBinary and xs:base64Binary to bytes
- Map xs:date/time types to builtin types XmlDate/Time
- Map xs:duration to builtin type XmlDuration
- Map xs:g[Year[Month[Day]]] to builtin type XmlPeriod
- Map xs:Notation to QName
- Add converter adapters for datetime.date/time
- Add fields metadata key 'format' for time/date/binary types
- Fixed issues with default literal values
- Fixed issue with random field types order

20.12

- Added SerializerConfig with new options.
[268](https://github.com/tefra/xsdata/issues/268),
[320](https://github.com/tefra/xsdata/issues/320)
- Added docstring styles: rst, google, numpy, accessible.
[318](https://github.com/tefra/xsdata/issues/318),
[340](https://github.com/tefra/xsdata/issues/340)
- Added `max line length` generator configuration.
[342](https://github.com/tefra/xsdata/issues/342)
- Added dynamic type locator for parsers.
[332](https://github.com/tefra/xsdata/issues/332)
- Fixed multiple issues with json binding.
`98[7%](https://github.com/tefra/xsdata-w3c-tests/actions) successful roundtrips

20.11.1

- Catch all type errors on xsi cache build
[316](https://github.com/tefra/xsdata/issues/316)

20.11

- Added sub command to download remote schemas and definitions.
[279](https://github.com/tefra/xsdata/issues/279)
- Added new optional xml type `Elements` to maintain ordering for repeatable choices.
[296](https://github.com/tefra/xsdata/issues/296)
- Added xsi:type lookup procedure for xs:anyType derived elements.
[306](https://github.com/tefra/xsdata/issues/306)
- Updated simple type flattening detection.
[286](https://github.com/tefra/xsdata/issues/286)
- Updated generator to allow namespace structure on schemas without target namespace.
- Updated generator to avoid writing min/max occurs metadata for implied values.
[297](https://github.com/tefra/xsdata/issues/297)
- Update generator to use literal dictionary initialization.
- Updated parser security, disable lxml network and entities resolve.
- Fixed field types detection for elements with xs:alternative children.
[284](https://github.com/tefra/xsdata/issues/284)
- Fixed file generation to enforce default charset UTF-8.
[302](https://github.com/tefra/xsdata/issues/302)
- Fixed jinja2 undefined namespace var collision.
[298](https://github.com/tefra/xsdata/issues/298)
- Fixed import class name collision. [300](https://github.com/tefra/xsdata/issues/300)
- Fixed restriction inheritance on xs:group elements.
[301](https://github.com/tefra/xsdata/issues/301)

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)

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.