Pyecore

Latest version: v0.15.1

Safety actively analyzes 628918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 11

0.11.3

++++++

**Bugfixes**

- Fix issue with ``None`` object serialization for containment features. This happened when a ``None`` is explicitly written in a containment reference and the ``XMIOptions`` for default value serialization is activated. In that case a special ``nil`` object was supposed to be written, but it was not the case here.

0.11.2

++++++

**Bugfixes**

- Fix change of container of an objet when the reference is single.
Thanks `annighoefer <https://github.com/annighoefer>`_ for the fix!
The issue came when an object was moved from a single relationship container to another one from the same class, the contained object was contained by the two containers.

- Fix Fix root element id not added to uuid_dict if its feature.ID is set.
Thanks `ewoudwerkman <https://github.com/ewoudwerkman>`_ for the fix!
The root node's ``ID`` was not referenced in the ``uuid_dict`` even if the root node had the ``ID`` feature set.

0.11.1

++++++

**Bugfixes**

- Fix XMI serialization compatibility when a proxy to a metaclass is used (typically when a metamodel reference another).
Thanks `stefanq <https://github.com/stefanq>`_ for the simple demo/example/test!


**Miscellaneous**

- Remove ``issubclass`` patch, the new version remove this requirement and still assure the same behavior.

0.11.0

++++++

**Features**

- Add an ``URIConverter`` to transform ``URIs`` to custom ones (Thanks
`ewoudwerkman <https://github.com/ewoudwerkman>`_ for the issue and the
pull requests!).
Each new converter can be isolated by ``ResourceSet`` or globaly for every
``Resource``.

**Bugfixes**

- Fix empty valued id attributes to be used as keys in reference links when saving a resource (Thanks `annighoefer <https://github.com/annighoefer>`_!).

**Miscellaneous**

- Remove dependency on deprecated defusedxml.lxml

0.10.3

++++++

**Bugfixes**

- Fix EDate serialization (Thanks `ewoudwerkman <https://github.com/ewoudwerkman>`_!).
This patch provides a solution to the issues with time zone information in dates.
It makes the parsing and serialization of dates compatible with how EMF currently
handles dates and UTC offsets.

- Fix xmi empty references refer to root (Thanks `annighoefer <https://github.com/annighoefer>`_!).
Deleted objects that were also referred by non-containment references elsewhere were serialized in xmi
as `ref=""`, introducing a `BadValueError` when loading the file again as the root of the model was found as reference.
The fix solves the loading issue by skiping empty references.

0.10.2

++++++

**Miscellaneous**

- Add custom JSON serializer support
(Thanks `rodriguez-facundo <https://github.com/rodriguez-facundo>`_ and `filippometacell <https://github.com/filippometacell>`_!)
This support is not yet documented and will perhaps never be.

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.