Skip to content

Commit

Permalink
Bump version v24.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Sep 21, 2024
1 parent 16d7b8e commit 3d196cf
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 12 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 24.9 (2024-09-21)

**Fixes**

- Fix typing annotations deprecation warning in Python 3.13
([#1077](https://github.com/tefra/xsdata/pull/1077))

**Features**

- Allow generators as array elements
([#1074](https://github.com/tefra/xsdata/pull/1074))

## 24.7 (2024-07-28)

**Features**
Expand Down
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,14 @@ Check the [documentation](https://xsdata.readthedocs.io) for more ✨✨✨
- Support xinclude statements and unknown properties
- Customize behaviour through config

## Changelog: 24.7 (2024-07-28)
## Changelog: 24.9 (2024-09-21)

**Features**
**Fixes**

- Improve XML parsing performance on union elements with fixed attributes
([#1066](https://github.com/tefra/xsdata/pull/1066))
- Skip optional and nillable elements on XML Serializer
([#1066](https://github.com/tefra/xsdata/pull/1066))
- Fix typing annotations deprecation warning in Python 3.13
([#1077](https://github.com/tefra/xsdata/pull/1077))

**Fixes**
**Features**

- Reset attr types derived from missing simple types
([#1062](https://github.com/tefra/xsdata/pull/1062))
- Allow generators as array elements
([#1074](https://github.com/tefra/xsdata/pull/1074))
4 changes: 2 additions & 2 deletions tests/fixtures/wrapper/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

obj = Wrapper(
alpha='ααα',
bravo=iter([
bravo=[
1,
2,
]),
],
charlie=[
Charlie(
value='δδδ',
Expand Down
4 changes: 4 additions & 0 deletions tests/utils/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ def test_remove(self):
def test_is_array(self):
fixture = namedtuple("fixture", ["a", "b"])

def foo():
yield 1

self.assertFalse(collections.is_array(1))
self.assertFalse(collections.is_array(fixture(1, 2)))
self.assertTrue(collections.is_array([]))
self.assertTrue(collections.is_array(()))
self.assertTrue(collections.is_array(frozenset()))
self.assertTrue(collections.is_array(foo()))

def test_connected_components(self):
lists = [[1, 2, 3], [4], [3, 4], [6]]
Expand Down
2 changes: 1 addition & 1 deletion xsdata/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "24.7"
__version__ = "24.9"

0 comments on commit 3d196cf

Please sign in to comment.