Skip to content

Releases: emfjson/ecore.js

0.7.0

03 Aug 13:43
Compare
Choose a tag to compare

This release includes the following fixes:

  • Reflexive Relationships Not Handled Correctly For Concrete Superclasses #10
  • Ecore.JSON Returns References Instead of Nested Objects #11
  • Parsing invalid model/instance XMI #12

0.6.0

20 Jul 06:40
Compare
Choose a tag to compare

Changes

  • [#9] Backward compatibility updating upperBound from 1 to -1 in EReference objects
  • Update sax to 1.2.1
  • Update underscore to 1.8.3
  • Update dev dependencies

0.5.0

07 Aug 13:10
Compare
Choose a tag to compare

Changes

  • Added support for containment features with upper bound equal to 1 see #7
  • Removed Ajax methods for loading/saving resources from/to server. This will give more freedom on how users can implement communication with servers.
    • The load method now takes as input a string or object, the callback method will be call with the loaded resource.
    • The save method now takes a callback that will be call with the resulting string representation of the resource.

0.4.6

27 Nov 18:21
Compare
Choose a tag to compare

This release contains many performance improvements and support for unique object ids.

Performance improvements:

  • EObject.eContents() now caches it's result until a change event is detected.
  • Resource._index() now caches it's result until a change event is detected.

Support for ids:

  • JSON objects containing _id properties will be used as identifier (fragments) for EObjects.

0.3.0

27 Nov 18:23
Compare
Choose a tag to compare
  • add events
  • add XMI support
  • add support for derived features
  • add support for eOperations
  • add ResourceSet

0.2.0

27 Nov 18:23
Compare
Choose a tag to compare
  • add Resource support
  • add JSON parsing serialization
  • add new syntax to define EModelElements
  • move create methods to Ecore