Skip to content

Commit

Permalink
Bump version 22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Jan 23, 2022
1 parent b556601 commit b8c50fe
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
22.1 (2022-01-23)
-----------------
- Added recursive glob for cli dir source `#643 <https://github.com/tefra/xsdata/issues/643>`_
- Added cfg options to change/force compound field names `#639 <https://github.com/tefra/xsdata/issues/639>`_

21.12 (2021-12-05)
------------------
- Fixed wsdl generator to use operation name for rpc input messages `#609 <https://github.com/tefra/xsdata/issues/609>`_
Expand Down
11 changes: 3 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,7 @@ Features
- Customize behaviour through config


Changelog: 21.12 (2021-12-05)
Changelog: 22.1 (2022-01-23)
-----------------------------
- Fixed wsdl generator to use operation name for rpc input messages `#609 <https://github.com/tefra/xsdata/issues/609>`_
- Fixed wsdl generator to check for qualified elements for message part types `#612 <https://github.com/tefra/xsdata/issues/612>`_
- Fixed compound field matcher to prefer exact types over derived `#617 <https://github.com/tefra/xsdata/issues/617>`_
- Added async to the reserved keywords `#600 <https://github.com/tefra/xsdata/issues/600>`_
- Added generator config for search & replace substitutions `#624 <https://github.com/tefra/xsdata/issues/624>`_
- Updated code generator to remove abstract elements from class attrs `#627 <https://github.com/tefra/xsdata/issues/627>`_
- Updated code generator to filter out all unused types `#629 <https://github.com/tefra/xsdata/issues/629>`_
- Added recursive glob for cli dir source `#643 <https://github.com/tefra/xsdata/issues/643>`_
- Added cfg options to change/force compound field names `#639 <https://github.com/tefra/xsdata/issues/639>`_
4 changes: 2 additions & 2 deletions tests/fixtures/stripe/.xsdata.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<Config xmlns="http://pypi.org/project/xsdata" version="21.11">
<Config xmlns="http://pypi.org/project/xsdata" version="22.1">
<Output maxLineLength="79">
<Package>tests.fixtures.stripe.models.balance</Package>
<Format repr="true" eq="true" order="true" unsafeHash="false" frozen="true" slots="false" kwOnly="false">dataclasses</Format>
<Structure>single-package</Structure>
<DocstringStyle>reStructuredText</DocstringStyle>
<RelativeImports>true</RelativeImports>
<CompoundFields>false</CompoundFields>
<CompoundFields defaultName="choice" forceDefaultName="false">false</CompoundFields>
</Output>
<Conventions>
<ClassName case="pascalCase" safePrefix="type"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/models/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_create(self):

expected = (
'<?xml version="1.0" encoding="UTF-8"?>\n'
'<Config xmlns="http://pypi.org/project/xsdata" version="21.12">\n'
f'<Config xmlns="http://pypi.org/project/xsdata" version="{__version__}">\n'
' <Output maxLineLength="79">\n'
" <Package>generated</Package>\n"
' <Format repr="true" eq="true" order="false" unsafeHash="false" frozen="false" slots="false" kwOnly="false">dataclasses</Format>\n'
Expand Down
2 changes: 1 addition & 1 deletion xsdata/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "21.12"
__version__ = "22.1"

0 comments on commit b8c50fe

Please sign in to comment.