Xsdata

Latest version: v24.6

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

Scan your dependencies

Page 6 of 9

21.3

- Added constant name convention config
[407](https://github.com/tefra/xsdata/issues/407)
- Added naming schemes screaming snake case and original case
- Updated xsi:lookup on xs:any derived elements
[315](https://github.com/tefra/xsdata/issues/315)
- Updated fields restriction inheritance
[417](https://github.com/tefra/xsdata/issues/417)
- Updated cli to allow package override from arguments
[416](https://github.com/tefra/xsdata/issues/416)
- Updated code generation to merge duplicate global types earlier
[406](https://github.com/tefra/xsdata/issues/406)
- Fixed docstrings issue breaking python syntax
[403](https://github.com/tefra/xsdata/issues/403)
- Fixed bindings for nillable content without workarounds
[408](https://github.com/tefra/xsdata/issues/408)
- Fixed resolver to apply aliases on extensions and choice fields
[414](https://github.com/tefra/xsdata/issues/414)
- Fixed schema models limiting xs:appinfo occurrences
[420](https://github.com/tefra/xsdata/issues/420)
- Decoupled core systems from click and lxml

**Notice**: In the next release installation profiles will be introduced that will turn
the cli, lxml and soap features **optional**.

21.2

- Added class name context for user naming schemes
[348](https://github.com/tefra/xsdata/issues/348)
- Added mixed pascal naming scheme [348](https://github.com/tefra/xsdata/issues/348)
- Added access to element/attribute name generators
[381](https://github.com/tefra/xsdata/issues/381)
- Added XmlHexBinary/XmlBase64Binary builtin data types
[387](https://github.com/tefra/xsdata/issues/387)
- Added support for xs:anyType root elements
[399](https://github.com/tefra/xsdata/issues/399)
- Updated JSON binding modules to use the fields local name
[389](https://github.com/tefra/xsdata/issues/389)
- Updated enum classes generation
- Promote all inner enums to root [383](https://github.com/tefra/xsdata/issues/383)
- Fixed issues with producing invalid members
[385](https://github.com/tefra/xsdata/issues/385)
- Added support for list/tuple member values
- Updated parsers accuracy for Union types
- Updated dependency resolution accuracy
- Update base classes generation strategies
- Updated builtin data types with helper constructors/methods
- Fixed inner class names conflicts [375](https://github.com/tefra/xsdata/issues/375)
- Fixed issue not generating fields derived from xs:alternative elements
[393](https://github.com/tefra/xsdata/issues/393)
- Fixed duplicate root class name regression from v20.12
- Fixed issue adding unused lib imports
- Fixed issue adding unused name properties to choice elements

This is a sleeper release ✨✨✨ so many code generation improvements and finally the
JSON binding is aligned with XML.

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)

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.