Skip to content

Commit

Permalink
Prepare release 20.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed May 23, 2020
1 parent 461a09a commit 42147c4
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
14 changes: 14 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
20.5.5 (2020-05-23)
-------------------
- Added version option in the xsdata cli.
- Added generation of missing python __init__ files.
- Added support for default values to inner enum classes.
- Fixed multiple issues with abstract classes and attributes/extension flattening.
- Fixed instance cross references causing codegen unpredictable results.
- Fixed xml serialization of wildcard attributes with user defined model values.
- Fixed issue with redefined/override elements with annotations.
- Fixed expand attribute groups recursively.
- Fixed false positive circular references.
- Fixed enumeration unions detection.
- Refactored ClassAnalyzer to smaller components.

20.5.4 (2020-05-15)
-------------------
- Fix flattening enumeration unions.
Expand Down
17 changes: 13 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,17 @@ Features
- Output: Python Data Classes
- Output: PlantUML class diagram

Changelog: 20.5.4 (2020-05-15)
Changelog: 20.5.5 (2020-05-23)
------------------------------
- Fix flattening enumeration unions.
- Fix generation for enum fields with default/fixed value.
- Fix duplicate attribute names handler to be case insensitive.

- Added version option in the xsdata cli.
- Added generation of missing python __init__ files.
- Added support for default values to inner enum classes.
- Fixed multiple issues with abstract classes and attributes/extension flattening.
- Fixed instance cross references causing codegen unpredictable results.
- Fixed xml serialization of wildcard attributes with user defined model values.
- Fixed issue with redefined/override elements with annotations.
- Fixed expand attribute groups recursively.
- Fixed false positive circular references.
- Fixed enumeration unions detection.
- Refactored ClassAnalyzer to smaller components.
6 changes: 2 additions & 4 deletions docs/architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,11 @@ Promote for generation:
* Classes derived from xsd ``complexType`` with ``abstract`` flag set to ``False``
* Classes derived from xsd ``restiction`` with ``enumeration`` fields

The rest of the classes are marked as common and are used to flatten attributes and
extensions of the promoted classes in the current schema and any upcoming sub-schemas.

Code Writer
------------

:class:`xsdata.writer.CodeWriter`

Code writer is a factory that delegates the code generation with any language and
library conventions to the given format.
Code writer is a factory that delegates the code generation to the formats with their
language conventions.
2 changes: 1 addition & 1 deletion docs/codegen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ result without writing to the target file.
.. admonition:: Examples
:class: hint

Check the :doc:`tests` and the `samples repo <https://github.com/tefra/xsdata-samples>`_ for more ✨✨✨
Check the :doc:`demos` and the `samples repo <https://github.com/tefra/xsdata-samples>`_ for more ✨✨✨
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = xsdata
version = 20.5.4
version = 20.5.5
description = Python XML Binding
long_description = file: README.rst
long_description_content_type = text/x-rst
Expand Down

0 comments on commit 42147c4

Please sign in to comment.