From f3b11f59321f298903b6733ab5f687c2f30660b5 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 2 Oct 2020 19:35:34 +0300 Subject: [PATCH] Update docs & bump version v20.10 --- CHANGES.rst | 23 +++++++++++++++++++++++ MANIFEST.in | 2 +- README.rst | 45 ++++++++++++++++++++++++++------------------- docs/demos.rst | 2 +- setup.cfg | 4 ++-- 5 files changed, 53 insertions(+), 23 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 2c16e31ad..6bfca164d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,26 @@ +20.10 (2020-10-02) +------------------ +- Fixed generator adding multiple default value fields. `#249 `_ +- Fixed generator not applying nested container restrictions. `#263 `_ +- Fixed generator to avoid case insensitive class name conflicts. `#269 `_ +- Fixed generator rendering unused simple types. +- Fixed generator unsorted libraries imports. +- Fixed JsonParser trying to parse init=False fields. `#253 `_ +- Fixed NodeParser binding tail content more than once with mixed vars. `#256 `_ +- Added XmlWriter interface to decouple serialize from lxml. `#247 `_ +- Added native python xml content writer XmlEventWriter. ✨✨✨ +- Added lxml based content writer LxmlEventWriter. +- Added generator config with options to control naming cases and aliases. `#265 `_ +- Updated field xml type auto detection to be more flexible. `#246 `_ +- Updated EnumConverter to resort to canonical form matching as last resort. `#273 `_ +- Updated support for derived elements. `#267 `_ + + +This is my favorite release so far, maybe because xsdata reached one year of development +✨✨✨ or maybe because some of the last original components finally got the rewrite they +deserved. + + 20.9 (2020-09-03) ----------------- - Added field metadata key `tokens` for xs:list or xs:NMTOKENS derived elements. diff --git a/MANIFEST.in b/MANIFEST.in index f49187cc2..75070b1dc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,7 +6,7 @@ recursive-include xsdata * prune docs/_build prune docs/_static -prune docs/reference/*.rst +prune docs/reference prune docs/demo exclude .travis.yml exclude .readthedocs.yml diff --git a/README.rst b/README.rst index 26113247f..0f9ce0abe 100644 --- a/README.rst +++ b/README.rst @@ -35,13 +35,12 @@ bindings. It produces simple dataclasses with type hints that don't depend on th library itself in order to reduce the learning curve for users that have to write the binding models manually. -The included parser is highly optimized and adaptable with 4 available handlers based -on native python and lxml. The parser configuration offers the ability to skip unknown -properties and to process xinclude statements. +The included xml parser and serializer are highly optimized and adaptable with handlers +based on native python and lxml. The parser configuration offers the ability to skip +unknown properties and to process xinclude statements. -The parser and serializer are constantly tested against the -`W3C XML Schema 1.1 test suite `_ and -passes more than 99% of the valid instance cases. +xsData is constantly tested against the +`W3C XML Schema 1.1 test suite `_. .. image:: https://github.com/tefra/xsdata/raw/master/docs/_static/demo.svg @@ -61,16 +60,24 @@ Features - Pluggable code writer that supports python dataclasses and PlantUML class diagrams. -Changelog: 20.9 (2020-09-03) ----------------------------- -- Added field metadata key `tokens` for xs:list or xs:NMTOKENS derived elements. -- Added datatype factory to register custom converters. -- Added XmlHandler interface to decouple parsing from lxml. -- Added lxml based content handlers: LxmlEventHandler, LxmlSaxHandler -- Added native python xml content handlers: XmlEventHandler, XmlSaxHandler -- Added support for python >= 3.6 `#241 `_ -- Added codegen for soap 1.1 fault messages. -- Fixed converting to enum members derived from xs:NMTOKENS. -- Fixed package level import naming conflicts. `#228 `_ -- Fixed xml serializing to allow empty strings in attribute values. `#230 `_ -- Fixed xml serializing for mixed content with non generics. `#238 `_ +Changelog: 20.10 (2020-10-02) +----------------------------- +- Fixed generator adding multiple default value fields. `#249 `_ +- Fixed generator not applying nested container restrictions. `#263 `_ +- Fixed generator to avoid case insensitive class name conflicts. `#269 `_ +- Fixed generator rendering unused simple types. +- Fixed generator unsorted libraries imports. +- Fixed JsonParser trying to parse init=False fields. `#253 `_ +- Fixed NodeParser binding tail content more than once with mixed vars. `#256 `_ +- Added XmlWriter interface to decouple serialize from lxml. `#247 `_ +- Added native python xml content writer XmlEventWriter. ✨✨✨ +- Added lxml based content writer: LxmlEventWriter. +- Added generator config with options to control naming cases and aliases. `#265 `_ +- Updated field xml type auto detection to be more flexible. `#246 `_ +- Updated EnumConverter to resort to canonical form matching as last resort. `#273 `_ +- Updated support for derived elements. `#267 `_ + + +This is my favorite release so far, maybe because xsdata reached one year of development +✨✨✨ or maybe because some of the last original components finally got the rewrite they +deserved. diff --git a/docs/demos.rst b/docs/demos.rst index c88ea3b3a..b5c9ecb4e 100644 --- a/docs/demos.rst +++ b/docs/demos.rst @@ -50,7 +50,7 @@ Schema 1.0 and 1.1. Report ------ -**27** failed, **14547** passed, **102** skipped @ +**14** failed, **14573** passed, **88** skipped @ `travis-ci `_ ✨✨✨✨ diff --git a/setup.cfg b/setup.cfg index b0575ceb5..b6f432ca6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = xsdata -version = 20.9 +version = 20.10 description = Python XML Binding long_description = file: README.rst long_description_content_type = text/x-rst @@ -22,7 +22,7 @@ classifiers = Programming Language :: Python :: 3.9 Topic :: Software Development :: Code Generators Topic :: Text Processing :: Markup :: XML -keywords = xml,binding,xsd,schema,cli,dataclass +keywords = xsd,wsdl,schema,binding,xml,json,dataclasses,generator,cli project_urls = Source=https://github.com/tefra/xsdata Documentation=https://xsdata.readthedocs.io/