Skip to content

Releases: ditrit/leto-modelizer-plugin-core

Release version 0.22.0

19 Oct 08:31
d2db26a
Compare
Choose a tag to compare

[0.22.0] - 2023/10/19

Added

  • Add isFolderTypeDiagram attribute in DefaultConfiguration.

Changed

  • Merge folder and fileName params in addComponent method inside DefaultPlugin and DefaultData.

Release version 0.21.0

08 Sep 15:00
76ae1dc
Compare
Choose a tag to compare

[0.21.0] - 2023/09/08

Added

  • Add addComponent to Plugin to drop new component in parent container.
  • Add to the demo a button to drop a new component at the given coordinates.
  • Add resetDrawerActions method in DefaultDrawer and DefaultPlugin.

Release version 0.20.0

30 Aug 14:00
cff028f
Compare
Choose a tag to compare

[0.20.0] - 2023/08/30

Added

  • Add optional containerId argument to DefaultLayout.rearrangeComponentsPosition.
  • Add repositionComponent method in DefaultDrawer, DefaultPlugin and DefaultLayout.
  • Add a default implementation for repositionComponent in ElkLayout.
  • Add to the demo a button to log components position.

Removed

  • In ComponentAttribute methods getReferenceValue, setReferenceValue, getLinkValue, addLink, removeLink and replaceLink.
  • In DefaultData method getComponentIdFromValue.

Changed

  • Move ELK parameters from ElkLayout to DefautConfiguration.

Fixed

Release version 0.19.0

16 Aug 13:28
ebf6e40
Compare
Choose a tag to compare

[0.19.0] - 2023/08/16

Added

  • Rename component feature:
    • Add getReferenceValue, setReferenceValue, getLinkValue, addLink, removeLink and replaceLink inside ComponentAttribute.js.
    • Add setId, createAttribute and getAttributesByType inside Component.js.
    • Add renameComponentId inside DefaultData.js.
  • Add arrangeComponentsPosition method in DefaultDrawer and DefaultPlugin.
  • Add inheritable class DefaultLayout for automatic layout in the diagram (does nothing).
  • Add inherited class ElkLayout for automatic layout in the diagram, using ELK.
  • Add HTML attribute equality as a Cypress step definition in html.js.
  • Add elkjs and web-worker as package dependencies.

Fixed

  • getDefinedAttributesByType will now return nested attributes inside object, fix this bug.

Release version 0.18.0

20 Jul 08:12
75d251a
Compare
Choose a tag to compare

[0.18.0] - 2023/07/20

Added

  • Add class Variable for variable handling.
  • Add properties name, type, value and category in Variable.
  • Add isVariable getter in ComponentAttribute to check if the attribute is a variable.
  • Add methods in DefaultData:
    • getAttributeValue used to get the value of an attribute.
    • getLinkedComponentsIds used to get the ID of the linked component.
    • getVariableValue used to get the value of a variable.
    • setVariableValue used to set the value of a variable.
    • getComponentIdFromValue used to get the ID of a linked resource.

Changed

  • Change getLinks method in DefaultData

Release version 0.17.0

05 Jul 13:53
efd1e79
Compare
Choose a tag to compare

[0.17.0] - 2023/07/05

Added

  • Add Tag class with type and value for tag.
  • Add diagram file information in:
    • parse method of DefaultParser.
    • parseConfiguration method of DefaultParser.
    • renderConfiguration method of DefaultRender.
    • parse method of DefaultPlugin.
    • render method of DefaultPlugin.
  • Add restrictiveFolder in DefaultConfiguration.
  • Add manual resizing feature for container components.

Removed

  • Method getModelFolders from DefaultPlugin and DefautParser.

Release version 0.16.0

06 Jun 08:08
f27d928
Compare
Choose a tag to compare

[0.16.0] - 2023/06/06

Added

  • Add defaultFileExtension attribute in DefaultConfiguration.
  • Move defaultFileName from DefaultData to DefaultConfiguration.
  • Make DefaultData have DefaultConfiguration in constructor.
  • Add method getModelFolders in DefaultParser.
  • Add delete shortcut to remove components or links.
  • Add read-only option to draw function.
  • Add resizing on draw function when read-only is activated.
  • Add tags attribute in DefaultConfiguration.

Release version 0.15.2

18 Apr 14:26
ee0a4bc
Compare
Choose a tag to compare

[0.15.2] - 2023/04/18

Fixed

  • Export missing DefaultConfiguration class.

Release version 0.15.1

17 Apr 14:56
a710715
Compare
Choose a tag to compare

[0.15.1] - 2023/04/17

Fixed

  • Fixed the bug that made the plugin core crash when reloading with a selected component not yet displayed

Release version 0.15.0

31 Mar 13:32
43060ba
Compare
Choose a tag to compare

[0.15.0] - 2023/03/31

Added

  • Migration guides.
  • Rework on all events.
  • Store of event logs.
  • DefaultConfiguration in DefaultPlugin to store all plugin configurations.
  • Documentation to build a svg template.
  • Add translate.x and translate.y properties in DefaultDrawer to get the position of the root container.
  • Add method getModels in DefaultParser and DefaultPlugin.

Changed

  • Remove old events management in DefaultDrawer.
  • The y position of the component container is now set in the model and not by the drawer.
  • The width and height of #root svg is now equal of #root width and height.

Fixed

  • Prevent auto-updating of dependencies in package-lock with = suffix.
  • Fix Firefox behavior of component outline property when it is selected.
  • Fix DefaultContainer in demo resources to have a correct behavior on Firefox.

Removed

  • Remove width and height from DefaultDrawer class and constructor options.
  • Remove viewBox initialization from DefaultDrawer.