Pyecore

Latest version: v0.15.2

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

Scan your dependencies

Page 11 of 11

0.1.3

+++++

**Features**

- Add support for object proxies. The PyEcore proxy works a little bit differently from the Java EMF proxy, once
the proxy is resolved, the proxy is not removed but is used a a transparent
proxy (at the moment) and is not an issue anymore for type checking. Proxies are
used for cross-document references.

- Remove resource-less objects from XMI serialization. This is a first step
towards objects removal. The added behavior allows the user to "remove"
elements in a way. If an element is not contained in a resource anymore, the
reference towards the object is not serialized. This way, anytime an object is
removed from a container and let 'in the void', XMI serialization will get rid
of it. However, this new addition requires that the Ecore metamodel is always
loaded in the global_registry (in case someone wants to serialize ecore files)
as a metamodel can references basic types (EString, EBoolean) which are
basically not contained in a resource.

**Bugfixes**

- Fix bug on EStructuralFeature owner assignment when EClass is updated.

0.1.2

+++++

**Bugfixes**

- Only the default ``to_string`` method on EDataType was called, even if a new
one was passed as parameter. The issue was a simple typo in the ``__init__``
method.

- The EBoolean EDataType was missing a dedicated ``to_string`` method. This
issue introduced a 'desync' between XMI that EMF Java can read and PyEcore.
In cas of EBoolean, the serialized value was either ``True`` or ``False``
which is not understood by Java (only ``true`` or ``false``, lower case).

0.1.1

+++++

**Features**

- Improved performances on big files deserialization (2x faster). This new
version relies on descriptor instead of ``__getattribute__/__setattr__``.
The code is not more compact, but more clear and split.

- New static metamodel generator, producing code related to this new version.

- Add XML type transtyping in the static metamodel generator.


**Bugfixes**

- When an ``eOpposite`` feature was set on an element, the actual opposite
reference ``eOpposite`` was not updated.

- Subpackages managements for the static metamodel generator. The
``eSubpackages`` and ``eSuperPackage`` variables were not placed in the
package, but in the module.


**Miscellaneous**

- Update bad examples in the README.rst

0.0.103

++++++++

**Project State**

- First full working version


Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project
adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

Page 11 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.