Skip to content

Commit

Permalink
Release 24.3 (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Mar 10, 2024
1 parent d836d8b commit 8e50e1e
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 28 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/xsdata
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
Expand All @@ -31,9 +36,6 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ jobs:
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
check-package:
name: Build & Inspect Package
name: Build & Inspect Package.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
- uses: hynek/build-and-inspect-python-package@v1
20 changes: 20 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 24.3 (2024-03-10)

**Features**

- Avoid flattening root elements ([#945](https://github.com/tefra/xsdata/pull/945))
- Avoid generating ambiguous choices ([#946](https://github.com/tefra/xsdata/pull/946))
- Added various type reference validations
([#966](https://github.com/tefra/xsdata/pull/966),
[#967](https://github.com/tefra/xsdata/pull/967),
[#968](https://github.com/tefra/xsdata/pull/968))
- Calculate circular references more accurately
([#969](https://github.com/tefra/xsdata/pull/969))
- Prettify codegen errors ([#970](https://github.com/tefra/xsdata/pull/970))
- Use Ruff to sort imports ([#972](https://github.com/tefra/xsdata/pull/972))

**Fixes**

- Move ruff format in the code generator
([#964](https://github.com/tefra/xsdata/pull/964))

## 24.2.1 (2024-02-19)

- Fixed FieldInfo type errors ([#949](https://github.com/tefra/xsdata/pull/949))
Expand Down
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,22 @@ Check the [documentation](https://xsdata.readthedocs.io) for more ✨✨✨
- Support xinclude statements and unknown properties
- Customize behaviour through config

## Changelog: 24.2.1 (2024-02-19)
## Changelog: 24.3 (2024-03-10)

- Fixed FieldInfo type errors ([#949](https://github.com/tefra/xsdata/pull/949))
- Fixed private package names ([#950](https://github.com/tefra/xsdata/pull/950))
**Features**

## Changelog: 24.2 (2024-02-17)
- Avoid flattening root elements ([#945](https://github.com/tefra/xsdata/pull/945))
- Avoid generating ambiguous choices ([#946](https://github.com/tefra/xsdata/pull/946))
- Added various type reference validations
([#966](https://github.com/tefra/xsdata/pull/966),
[#967](https://github.com/tefra/xsdata/pull/967),
[#968](https://github.com/tefra/xsdata/pull/968))
- Calculate circular references more accurately
([#969](https://github.com/tefra/xsdata/pull/969))
- Prettify codegen errors ([#970](https://github.com/tefra/xsdata/pull/970))
- Use Ruff to sort imports ([#972](https://github.com/tefra/xsdata/pull/972))

- Added Dict encoder/decoder ([#921](https://github.com/tefra/xsdata/pull/921))
- Deprecated Serializer config pretty_print/pretty_print_indentation
([#942](https://github.com/tefra/xsdata/pull/942))
- Fixed lxml event writer to respect the encoding configuration
([#940](https://github.com/tefra/xsdata/pull/940))
- Migrated documentation to mkdocs with markdown
- Refactored project docstrings
**Fixes**

- Move ruff format in the code generator
([#964](https://github.com/tefra/xsdata/pull/964))
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
include = ["xsdata"]
include = ["xsdata*"]

[project]
name = "xsdata"
Expand Down
18 changes: 9 additions & 9 deletions tests/fixtures/hello/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ class Meta:

@dataclass
class Body:
get_hello_as_string_response: Optional[
GetHelloAsStringResponse
] = field(
default=None,
metadata={
"name": "getHelloAsStringResponse",
"type": "Element",
"namespace": "http://hello/",
},
get_hello_as_string_response: Optional[GetHelloAsStringResponse] = (
field(
default=None,
metadata={
"name": "getHelloAsStringResponse",
"type": "Element",
"namespace": "http://hello/",
},
)
)
fault: Optional["HelloGetHelloAsStringOutput.Body.Fault"] = field(
default=None,
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.2.1"
__version__ = "24.3"

0 comments on commit 8e50e1e

Please sign in to comment.