Pyecore

Latest version: v0.15.2

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

Scan your dependencies

Page 5 of 11

0.8.6

+++++

**Bugfixes**

- Fix issue with URI spliting during json deserialization.
- Fix issue with redundant attributes in json format (Thanks `TerryKingston <https://github.com/TerryKingston>`_!).
Having redundant attributes for opposite containment relationship in the json
serialized resource introduced the installation of a new proxy instead of the
proper object resolution.

**Miscellaneous**

- Add performances improvement in json deserialization.

0.8.5

+++++

**Bugfixes**

- Fix issue with the new version of the ``ordered-set`` dependency. The new
version introduces a change in the way the sublist returned from a slices
is managed. The fix proposed in PyEcore introduces a patch for the
``OrderedSet`` class that proposes the same behavior from the new version
while letting the opportunity to change it when subclassing ``OrderedSet``.

0.8.4

+++++

**Bugfixes**

- Fix issue with empty strings in XMI for 'many' ``EAttribute``.

0.8.3

+++++

**Features**

- Add support for ``tag`` attributes in XMI.
- Add ``URI`` change support for ``Resource``.
- Add patch for ``issubclass`` so the test works regardless the input parameters
are ``EClass`` instances or not.
- Add ``xsi:schemaLocation`` deserialization support.

**Bugfixes**

- Fix bad containment feature value for ``contents`` on ``EAnnotation``.
- Fix resource resolving for non-trivial ``URI``.
- Fix bad crossreferences serialization for "many" features (collections).
- Fix issue for strings serialization in 'many' ``EAttribute``. Issue where
happening when whitespaces were in a String for 'many' ``EAttribute``.

0.8.2

+++++

**Bugfixes**

- Fixed ``many`` faulty computation in cases where ``upper == lower > 1``. This
case is not very common, but it could occurs.
- Fixed missing deserialization for ``EDate`` datatype. The missing method on
resulted in a bad ``str`` object conversion leading to an exception as the
a ``datetime`` object was expected instead of a ``str``.

**Miscellaneous**

- Improve ``many`` derived attribute computation, resulting in performance
improvements.
- Add performance improvement tweaks.
- Move ``dispatch`` from ``pyecore.dispatch`` to ``pyecore.utils``

0.8.1

+++++

**Features**

- Add ``dispatch`` decorator to mimic the ``doSwitch`` from EMF. This
implementation relies on the use of the ``singleDispatch`` decorator and does
not include a ``ComposedSwitch`` equivalent as some restrictions from EMF are
no longer an issue in Python.


**Bugfixes**

- Fixed ``lower`` and ``upper`` derived attributes computation. The previous
implementation were considering the attributes as normal ones instead of
derived ones.

- Fixed merge issue during ``0.8.0`` release. A case test was not properly
working, and models which have crossref towards models that were using
UUID raised an exception.

**Miscellaneous**

- Improved performances of the ``many`` derived attribute.

Page 5 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.