From 5eaf612469fd1c3bcd51c3822b8643468d43675c Mon Sep 17 00:00:00 2001 From: Chris Tsou Date: Sun, 21 May 2023 13:05:53 +0300 Subject: [PATCH] Releasing v23.5 (#791) --- CHANGES.rst | 38 ++++++++++++++++++++++++++++++++++++++ README.rst | 41 ++++++++++++++++++++++++++++++++++++----- setup.cfg | 2 +- xsdata/__init__.py | 2 +- 4 files changed, 76 insertions(+), 7 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 7225d455b..662205a38 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,41 @@ +23.5 (2023-05-21) +------------------ +- Fixed XML meta var index conflicts. +- Fixed mixed content handling for DTD elements. (`#749 `_, `#762 `_) +- Fixed an issue with required attributes turning into optional ones. +- Fixed calculation of min/max occurs when parsing XML/JSON documents. (`#756 `_) +- Fixed calculation of min/max occurs when parsing DTD choice content types. (`#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 `_) +- Fixed an issue in the JSON parser with optional choice elements. +- Updated the transformer to silently ignore malformed JSON files. (`#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 `_) +- 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 `_) +- 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 `_) +- Added an option to cache the initial load and mapping of resources. +- Added support for regular expressions in config substitutions. (`#755 `_) +- Added a pretty print indentation option in the serializer config. (`#780 `_) +- Added an option to set the encoding in the SOAP Client. (`#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 `_) + +This release is bigger than intended and includes many major changes, +that's why it took so long. + + 22.12 (2022-12-17) ------------------ - Added option to ignore xml pattern restrictions `#727 `_ diff --git a/README.rst b/README.rst index 5b45c992d..777e06e48 100644 --- a/README.rst +++ b/README.rst @@ -99,8 +99,39 @@ Features -Changelog: 22.12 (2022-12-17) ------------------------------ -- Added option to ignore xml pattern restrictions `#727 `_ -- Added globalns support via SerializerConfig `#724 `_ -- Pinned docformatter version to v1.5.0 `#729 `_ +Changelog: 23.5 (2023-05-21) +---------------------------- +- Fixed XML meta var index conflicts. +- Fixed mixed content handling for DTD elements. (`#749 `_, `#762 `_) +- Fixed an issue with required attributes turning into optional ones. +- Fixed calculation of min/max occurs when parsing XML/JSON documents. (`#756 `_) +- Fixed calculation of min/max occurs when parsing DTD choice content types. (`#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 `_) +- Fixed an issue in the JSON parser with optional choice elements. +- Updated the transformer to silently ignore malformed JSON files. (`#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 `_) +- 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 `_) +- 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 `_) +- Added an option to cache the initial load and mapping of resources. +- Added support for regular expressions in config substitutions. (`#755 `_) +- Added a pretty print indentation option in the serializer config. (`#780 `_) +- Added an option to set the encoding in the SOAP Client. (`#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 `_) + +This release is bigger than intended and includes many major changes, +that's why it took so long. diff --git a/setup.cfg b/setup.cfg index e09762719..eac83c53b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -46,7 +46,7 @@ console_scripts = cli = click>=5.0 click-default-group>=1.2 - docformatter>=1.5.1 + docformatter==1.6.5 jinja2>=2.10 toposort>=1.5 docs = diff --git a/xsdata/__init__.py b/xsdata/__init__.py index 3bff640c8..0e8c575ae 100644 --- a/xsdata/__init__.py +++ b/xsdata/__init__.py @@ -1 +1 @@ -__version__ = "22.12" +__version__ = "23.5"