Skip to content

Conversation

@zrgt
Copy link
Contributor

@zrgt zrgt commented Aug 12, 2025

  • Refactor imports
  • Fix the reading of json and xml files
    We use now FileIO as input for read_aas_xml_file_into as we do in read_aas_json_file_into.
    I have checked it and it worked

- Refactor imports
- Fix the reading of json and xml files
@s-heppner s-heppner merged commit 2a12d13 into eclipse-basyx:develop Aug 19, 2025
15 checks passed
@s-heppner s-heppner deleted the fix/main_server branch August 19, 2025 07:55
@s-heppner s-heppner mentioned this pull request Oct 27, 2025
zrgt added a commit to rwth-iat/basyx-python-sdk that referenced this pull request Nov 18, 2025
server.app.main: Small fixes and codestyle enhancements

This refactors the import statements in `main.py`,
as well as fixes the reading of JSON and XML 
files. Both file types are now read in the same
way using `FileIO` as input for 
`read_aas_xml_file_into`, as we already did in 
`read_aas_json_file_into`.
s-heppner added a commit that referenced this pull request Dec 5, 2025
Prepare Release v2.0.0

# Release Notes

Version 2.0.0 of the BaSyx-Python SDK comes with a major refactoring of the server and a renewed concept for data persistence.

Previously, the server code was split between the `sdk` and `server` packages (due to historic development of the code). 
Now all the code relevant just for the server is located in `server`, where it belongs. Since this means, some code that was previously in `sdk` is not there anymore, this is a breaking change and warranted the new major release.

> [!note]
> This release does not have any changes in implemented AAS specification versions. It is the preparotory release in order to get ready for the new versions of the specifications, as well as new features for the SDK, such as Registry and Discovery server.

> [!warning]
> Due to these major refactorings, there were some backward incompatible changes. Please check the documentation, if you encounter any issues.

# Changelog

**Notable:**
- Backward Incompatible: Refactor server functionality from `sdk` to `server` (See: #388)
- Backward Incompatible: Refactor `backend` concept for data persistence (See: #370)
- Backward Incompatible: Refactor server `start-up` options (See: #418)
- Remove support for Python 3.9 (as it is EoL) (See #433)

**Improvements:**
- Clarify documentation of running the server with Docker (See: #398)
- Document running the server without Docker (See: #403)
- Improve XML serialization (See: #406)
- Improve server reading of JSON and XML files (See: #408)
- Add more utility methods for `Referable` and `Key` handling (See: #410)

**Bugfixes:**
- Fix type issues found with a new version of `mypy` (See: #399)
- Fix parsing of `ConceptDescription`s in the server (See: #420)
- Update `pyecma376-2` and `lxml` dependencies (See: #419)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants