Xsdata

Latest version: v24.3.1

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

Scan your dependencies

Page 1 of 9

24.3.1

**Fixes**

- Unnest class with circular reference
([974](https://github.com/tefra/xsdata/pull/974))

24.3

**Features**

- Avoid flattening root elements ([945](https://github.com/tefra/xsdata/pull/945))
- Avoid generating ambiguous choices ([946](https://github.com/tefra/xsdata/pull/946))
- Added various type reference validations
([966](https://github.com/tefra/xsdata/pull/966),
[967](https://github.com/tefra/xsdata/pull/967),
[968](https://github.com/tefra/xsdata/pull/968))
- Calculate circular references more accurately
([969](https://github.com/tefra/xsdata/pull/969))
- Prettify codegen errors ([970](https://github.com/tefra/xsdata/pull/970))
- Use Ruff to sort imports ([972](https://github.com/tefra/xsdata/pull/972))

**Fixes**

- Move ruff format in the code generator
([964](https://github.com/tefra/xsdata/pull/964))

24.2.1

- Fixed FieldInfo type errors ([949](https://github.com/tefra/xsdata/pull/949))
- Fixed private package names ([950](https://github.com/tefra/xsdata/pull/950))

24.2

- Added Dict encoder/decoder ([921](https://github.com/tefra/xsdata/pull/921))
- Deprecated Serializer config pretty_print/pretty_print_indentation
([942](https://github.com/tefra/xsdata/pull/942))
- Fixed lxml event writer to respect the encoding configuration
([940](https://github.com/tefra/xsdata/pull/940))
- Migrated documentation to mkdocs with markdown
- Refactored project docstrings

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))

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.