Xsdata

Latest version: v24.5

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

Scan your dependencies

Page 2 of 9

24.1

- Fixed XmlParser to ignore xsi attrs when fail on unknown attributes is enabled
([846](https://github.com/tefra/xsdata/pull/846))
- Fixed parsing mandatory byte elements with no value
([873](https://github.com/tefra/xsdata/pull/873))
- Fixed issue in json binding with union fields
([864](https://github.com/tefra/xsdata/pull/864))
- Fixed PycodeSerializer to escape unicode characters in string values
([877](https://github.com/tefra/xsdata/pull/877))
- Fixed compound field choices with forward references
([886](https://github.com/tefra/xsdata/pull/886))
- Fixed google style docstrings to add missing colon
([884](https://github.com/tefra/xsdata/pull/884))
- Fixed deprecation warnings for datetime.datetime.utcnow()
- Fixed XmlSerializer to ignore empty non-nillable/required tokens
([902](https://github.com/tefra/xsdata/pull/902))
- Fixed issue with invalid variable names when using originalCase naming convention
([881](https://github.com/tefra/xsdata/pull/881))
- Added type hints for compound fields
([858](https://github.com/tefra/xsdata/pull/858),
[885](https://github.com/tefra/xsdata/pull/885))
- Added http header when loading remote resources
([867](https://github.com/tefra/xsdata/pull/867))
- Added warning when converting parent field to a list
([871](https://github.com/tefra/xsdata/pull/871))
- Added ruff to format generated code ([892](https://github.com/tefra/xsdata/pull/892))
- Added option to use substitution group names for compound field name
([905](https://github.com/tefra/xsdata/pull/905))
- Updated base64 decoding to enable validation
([875](https://github.com/tefra/xsdata/pull/875))
- Updated generator to render prohibited parent fields with restriction extensions
([908](https://github.com/tefra/xsdata/pull/908))
- Updated generator so plugins can easily override templates

23.8

- Removed Python 3.7 support
- Fixed PycodeSerializer not adding imports for nested classes
- Fixed imports ordering
- Added support for strict content wildcard processing
([803](https://github.com/tefra/xsdata/pull/803))

23.7

- Fixed decimal converter to avoid scientific notations
([826](https://github.com/tefra/xsdata/pull/826))
- Fixed nympy parameter docstring format
([827](https://github.com/tefra/xsdata/pull/827))
- Fixed optional/required override validation
([820](https://github.com/tefra/xsdata/pull/820))
- Fixed WSDL mapper to respect the elements original location
([832](https://github.com/tefra/xsdata/pull/832))
- Added Python 3.12 support

23.6

- Fixed conflicting enum values leading to wrong default values
([806](https://github.com/tefra/xsdata/pull/806))
- Added support for custom decorators and base classes
([793](https://github.com/tefra/xsdata/pull/793))
- Added parser config to load external dtd to resolve entities
([797](https://github.com/tefra/xsdata/pull/797))
- Added requests sessions on the wsdl client transport
([798](https://github.com/tefra/xsdata/pull/798))
- Added support subscriptable types and UnionType
([801](https://github.com/tefra/xsdata/pull/801))
- Added option to restrict models package for auto-locator
([809](https://github.com/tefra/xsdata/pull/809))
- Updated context to only cache supported classes
([796](https://github.com/tefra/xsdata/pull/796))
- Removed tox requirement ([800](https://github.com/tefra/xsdata/pull/800))
- Converted to pyproject.toml ([802](https://github.com/tefra/xsdata/pull/802))

23.5

- Fixed XML meta var index conflicts.
- Fixed mixed content handling for DTD elements.
([749](https://github.com/tefra/xsdata/pull/749),
[762](https://github.com/tefra/xsdata/pull/762))
- Fixed an issue with required attributes turning into optional ones.
- Fixed calculation of min/max occurs when parsing XML/JSON documents.
([756](https://github.com/tefra/xsdata/pull/756))
- Fixed calculation of min/max occurs when parsing DTD choice content types.
([760](https://github.com/tefra/xsdata/pull/760))
- Fixed an issue when parsing tail content for compound wildcard elements.
- Fixed an issue with the code analyzer not fully processing some classes.
- Fixed an issue with the code analyzer taking forever to process very large
enumerations. ([776](https://github.com/tefra/xsdata/issue/776))
- Fixed an issue in the JSON parser with optional choice elements.
- Updated the transformer to silently ignore malformed JSON files.
([750](https://github.com/tefra/xsdata/pull/750))
- Updated the override attribute handler to fix naming conflicts.
- Updated the override attribute handler to allow wildcard overrides.
- Updated conditions on extensions flattening (over-flattening).
([754](https://github.com/tefra/xsdata/pull/754))
- Updated Group, AttributeGroup handling, skipping a few cases.
- Updated how min/max occurs are calculated with nested containers.
- Updated handling of element substitutions to treat them as choices.
([786](https://github.com/tefra/xsdata/pull/786))
- Updated Pycodeserializer to skip default field values.
- Updated flattening restriction base classes when sequence elements are out of order.
- Updated docformatter to v1.6.5.
- Added support to override compound fields.
- Added support for multiple sequential groups in a class.
- Added support for non-list compound fields.
- Added support to mix list and non-list fields with sequence groups.
- Added an option to include headers in generated files.
([746](https://github.com/tefra/xsdata/pull/746))
- Added an option to cache the initial load and mapping of resources.
- Added support for regular expressions in config substitutions.
([755](https://github.com/tefra/xsdata/pull/755))
- Added a pretty print indentation option in the serializer config.
([780](https://github.com/tefra/xsdata/pull/780))
- Added an option to set the encoding in the SOAP Client.
([773](https://github.com/tefra/xsdata/pull/773))
- Added a CLI flag to show debug messages.
- Added a debug message for possible circular references during code generation.
- Added support to generate prohibited fields when they restrict parent fields.
([781](https://github.com/tefra/xsdata/pull/781))

This release is bigger than intended and includes many major changes, that's why it took
so long.

22.12

- Added option to ignore xml pattern restrictions
[727](https://github.com/tefra/xsdata/pull/727)
- Added globalns support via SerializerConfig
[724](https://github.com/tefra/xsdata/pull/724)
- Pinned docformatter version to v1.5.0 [729](https://github.com/tefra/xsdata/pull/729)

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.