Xsdata

Latest version: v24.5

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

Scan your dependencies

Page 1 of 9

24.5

**Features**

- Rewrite TreeSerializer, drop support for native python ElementTree
([1032](https://github.com/tefra/xsdata/pull/1032))
- Validate fields fixed values ([1013](https://github.com/tefra/xsdata/pull/1013))
- Detect optional fields in dict mapper
- Refactor typing annotations analyze process
- Generate ForwardRef() instead of Type[]

**Fixes**

- Allow soap client config subclassing
([1010](https://github.com/tefra/xsdata/pull/1010))
- Avoid recursive error on nested group references
([1016](https://github.com/tefra/xsdata/pull/1016))
- Add warning for same module designation
([1018](https://github.com/tefra/xsdata/pull/1018))

24.4

**Features**

- Add xml and lxml tree serializers ([975](https://github.com/tefra/xsdata/pull/975))
- Capture namespace prefixes in user dicts
([978](https://github.com/tefra/xsdata/pull/978))
- Add cli option to generate wrapper fields
([982](https://github.com/tefra/xsdata/pull/982))
- Support wrapper fields in JSON data bindings
([982](https://github.com/tefra/xsdata/pull/982))
- Use abstract suffixes to resolve class name conflicts
([985](https://github.com/tefra/xsdata/pull/985))
- Add the version number in the cli cache key
([990](https://github.com/tefra/xsdata/pull/990))
- Use unicodedata.name for attrs with only special characters
([993](https://github.com/tefra/xsdata/pull/993))
- Add src code excerpts on ruff errors
([996](https://github.com/tefra/xsdata/pull/996))
- Detect circular imports and raise appropriate error
([999](https://github.com/tefra/xsdata/pull/999))
- Add support for Python 3.13 ([1001](https://github.com/tefra/xsdata/pull/1001))
- Add cli debug messages with performance stats

**Fixes**

- Use deepcopy to clone codegen models
([980](https://github.com/tefra/xsdata/pull/980))
- Generate type hints for compound fields with token elements
([997](https://github.com/tefra/xsdata/pull/997))
- Protect prohibited attrs from turning into lists
([998](https://github.com/tefra/xsdata/pull/998))
- Convert child attr to list when parent is list
([998](https://github.com/tefra/xsdata/pull/998))

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

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.