Pyecore

Latest version: v0.15.2

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

Scan your dependencies

Page 2 of 11

0.12.2

++++++

**Bugfixes**

- Fix bad deserialization of float values in JSON for value like "42" (no dot). Thanks `pablo-campillo <https://github.com/pablo-campillo>`_ for the issue.

0.12.1

++++++

**Bugfixes**

- Fix issue with serialization of multiple empty strings.

- Fix relative HttpURI computation.

- Add inheritance mix for static/dynamic metaclass.

- Fix issue with moving object from resource root to object back and forth.


**Miscellaneous**

- Add better pythonic implementation of "behavior".

- Add more detailed messages for XMI deserialization.

- Pass to full f-strings.

- Add cache for resources.

0.12.0

++++++

**Features**

- Add listeners on resources. A listener can be added on a resource to be notified of all the modifications performed on objects of its hierarchy.

- Add new ``container`` attribute on ``EReference`` that indicates if a reference is a container (it owns an opposite which is a containment).

**Bugfixes**

- Fix issue with ``xmi:type`` and ``xsi:type`` for mixed XMI. In some XMI files, the field related to type can be mixed and sometimes prefixed by ``xmi`` or ``xsi``. The flip-flop between the two mode was only performed once in the previous algorithm, now it is adaptive. Thanks `aacebedo <https://github.com/aacebedo>`_ for the pull request.

- Fix missing ``EShortObject``. Thanks `aacebedo <https://github.com/aacebedo>`_ for the pull request.

- Fix MRO problem when updating inheritance. The previous algorithm was not taking into account dynamic additions of inheritance relationship. Thanks `mn3mos <https://github.com/mn3mos>`_ for the issue.

- Fix issue on metamodel with ``abstract`` decorator.

- Fix issue with ``EEnumLiteral`` serialization for JSON resource. Thanks `jinhu <https://github.com/jinhu>`_ and Marc Hamilton for the issues and the pull request.

- Fix issue with clearing non unique collections. A set operation was performed on the collection to safely iterate on it, implying that some elements were forget during a full clear. Thanks `ewoudwerkman <https://github.com/ewoudwerkman>`_ for the issue.

**Miscellaneous**

- Improve slightly runtime typechecking performances.

- Improve collection speed.

- Improve eType computation for speed.

- Disabling resolve cache for resources when a resource had been properly load. Thanks `ewoudwerkman <https://github.com/ewoudwerkman>`_ for the suggestion.

0.11.7

++++++

**Bugfixes**

- Fix issue with MRO calculation. This happend when the Ecore inheritence tree is not compatible with Python C3 linearization algorithm. Thanks `mn3mos <https://github.com/mn3mos>`_ for the issue.

- Fix non-serializable ``EDataType`` ``instanceClassName``. The property was not serialized by the XMI resource. Thanks `4ekin <https://github.com/4ekin>`_ for the pull requests.

0.11.6

++++++

**Bugfixes**

- Fix issue with new ``ordered_set`` version. This new version removed some
parts functions about iterables. Thanks `fgro93 <https://github.com/fgro93>`_ for the issue.

0.11.5

++++++

**Bugfixes**

- Fix issue with default value computation using ``defaultValueLiteral``. PyEcore
was providing it's own "default value" mechanism that had an higher priority than
the one usually used by EMF. This resulted in the default value not being computed
correctly. Thanks `annighoefer <https://github.com/annighoefer>`_ for the PR
and pointing out the issue.

Page 2 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.