Skip to content

Commit

Permalink
Preparing v24.1 (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra authored Jan 4, 2024
1 parent b48987e commit 2fa5c5e
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ jobs:
- {name: Python 3.9, python: '3.9', os: ubuntu}
- {name: Python 3.10, python: '3.10', os: ubuntu}
- {name: Python 3.11, python: '3.11', os: ubuntu}
- {name: Python 3.12, python: '3.12-dev', os: ubuntu}
- {name: Python 3.12, python: '3.12', os: ubuntu}
- {name: Python 3.13, python: '3.13-dev', os: ubuntu}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install libxml2
if: startsWith(matrix.python, 'pypy')
if: startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.13')
run: |
sudo apt-get install libxml2-dev libxslt-dev
- name: Install dependencies
Expand Down
21 changes: 21 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
24.1 (2023-01-04)
-----------------
- Fixed XmlParser to ignore xsi attrs when fail on unknown attributes is enabled (`#846 <https://github.com/tefra/xsdata/pull/846>`_)
- Fixed parsing mandatory byte elements with no value (`#873 <https://github.com/tefra/xsdata/pull/873>`_)
- Fixed issue in json binding with union fields (`#864 <https://github.com/tefra/xsdata/pull/864>`_)
- Fixed PycodeSerializer to escape unicode characters in string values (`#877 <https://github.com/tefra/xsdata/pull/877>`_)
- Fixed compound field choices with forward references (`#886 <https://github.com/tefra/xsdata/pull/886>`_)
- Fixed google style docstrings to add missing colon (`#884 <https://github.com/tefra/xsdata/pull/884>`_)
- Fixed deprecation warnings for datetime.datetime.utcnow()
- Fixed XmlSerializer to ignore empty non-nillable/required tokens (`#902 <https://github.com/tefra/xsdata/pull/902>`_)
- Fixed issue with invalid variable names when using originalCase naming convention (`#881 <https://github.com/tefra/xsdata/pull/881>`_)
- Added type hints for compound fields (`#858 <https://github.com/tefra/xsdata/pull/858>`_, `#885 <https://github.com/tefra/xsdata/pull/885>`_)
- Added http header when loading remote resources (`#867 <https://github.com/tefra/xsdata/pull/867>`_)
- Added warning when converting parent field to a list (`#871 <https://github.com/tefra/xsdata/pull/871>`_)
- Added ruff to format generated code (`#892 <https://github.com/tefra/xsdata/pull/892>`_)
- Added option to use substitution group names for compound field name (`#905 <https://github.com/tefra/xsdata/pull/905>`_)
- Updated base64 decoding to enable validation (`#875 <https://github.com/tefra/xsdata/pull/875>`_)
- Updated generator to render prohibited parent fields with restriction extensions (`#908 <https://github.com/tefra/xsdata/pull/908>`_)
- Updated generator so plugins can easily override templates


23.8 (2023-08-12)
-----------------
- Removed Python 3.7 support
Expand Down
23 changes: 18 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,22 @@ Features



Changelog: 23.8 (2023-08-12)
Changelog: 24.1 (2023-01-04)
----------------------------
- Removed Python 3.7 support
- Fixed PycodeSerializer not adding imports for nested classes
- Fixed imports ordering
- Added support for strict content wildcard processing (`#803 <https://github.com/tefra/xsdata/pull/803>`_)
- Fixed XmlParser to ignore xsi attrs when fail on unknown attributes is enabled (`#846 <https://github.com/tefra/xsdata/pull/846>`_)
- Fixed parsing mandatory byte elements with no value (`#873 <https://github.com/tefra/xsdata/pull/873>`_)
- Fixed issue in json binding with union fields (`#864 <https://github.com/tefra/xsdata/pull/864>`_)
- Fixed PycodeSerializer to escape unicode characters in string values (`#877 <https://github.com/tefra/xsdata/pull/877>`_)
- Fixed compound field choices with forward references (`#886 <https://github.com/tefra/xsdata/pull/886>`_)
- Fixed google style docstrings to add missing colon (`#884 <https://github.com/tefra/xsdata/pull/884>`_)
- Fixed deprecation warnings for datetime.datetime.utcnow()
- Fixed XmlSerializer to ignore empty non-nillable/required tokens (`#902 <https://github.com/tefra/xsdata/pull/902>`_)
- Fixed issue with invalid variable names when using originalCase naming convention (`#881 <https://github.com/tefra/xsdata/pull/881>`_)
- Added type hints for compound fields (`#858 <https://github.com/tefra/xsdata/pull/858>`_, `#885 <https://github.com/tefra/xsdata/pull/885>`_)
- Added http header when loading remote resources (`#867 <https://github.com/tefra/xsdata/pull/867>`_)
- Added warning when converting parent field to a list (`#871 <https://github.com/tefra/xsdata/pull/871>`_)
- Added ruff to format generated code (`#892 <https://github.com/tefra/xsdata/pull/892>`_)
- Added option to use substitution group names for compound field name (`#905 <https://github.com/tefra/xsdata/pull/905>`_)
- Updated base64 decoding to enable validation (`#875 <https://github.com/tefra/xsdata/pull/875>`_)
- Updated generator to render prohibited parent fields with restriction extensions (`#908 <https://github.com/tefra/xsdata/pull/908>`_)
- Updated generator so plugins can easily override templates
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Code Generators",
Expand Down
2 changes: 1 addition & 1 deletion xsdata/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "23.8"
__version__ = "24.1"

0 comments on commit 2fa5c5e

Please sign in to comment.