Skip to content

1.0.0. Release

Compare
Choose a tag to compare
@tortmayr tortmayr released this 02 Aug 08:30
· 162 commits to master since this release

Changes

  • [diagram] Fixed a bug where the edge creation tool would select the wrong child when used inside of a nested node #158
  • [example] Improved and modernized styling of the GLSP workflow example #160
  • [contextMenu] Ensured that closing the context menu correctly restores the diagram focus. #469
  • [build] Updated Typescript to version 4.5.5 and enforced noImplicitOverride #167
  • [diagram] Added support for snapping edges (routing points) similar to how its done for moving/resizing elements. #170
  • [layout] Implemented a custom layouter for HBox that supports nested compartments. #174
  • [diagram] Disable tool execution on focus loss and reactive the default tools. #175
  • [routing] Routing handles are now properly snapped if an ISnapper implementation is bound. #177
  • [routing] Fixed a bug that caused short animation flickering whenever a routing point was moved. #182
  • [context] Properly integrated the browser context menu listeners -> Context menus now also work on Mac OS #183

Breaking Changes

  • [protocol] Updated to sprotty >=0.11.0. With the new sprotty version the action declaration approach has been reworked from ES6 classes to plain interfaces + namespaces. To keep action declaration and creation consistent all action definitions of the protocol and client package have been updated as well. The old class based definitions are no longer available. This mainly affects construction calls
    which have to be changed from new SomeAction() to using the create function of the corresponding namespace SomeAction.create(). In addition, typeguard functions have been included in the action namespaces as well and can now be used with SomeAction.is() instead of using a dedicated isSomeAction() function.

    #472 - Contributed on behalf of STMicroelectronics
  • [DI] Unified the sprotty TYPE and GLSP_TYPE service identifier constants. They are reexported from the client main index as TYPE. The old GLSP_TYPE constant definition has been
    deprecated will potentially be removed in the future. #472
  • [protocol] Rename ModelSourceChangedAction to SourceModelChangedAction including handlers etc #655
  • [diagram] Cleanup/refactor various commands and action handlers. #176
    • Rename layoutCommandsModule to layoutModule
    • Change handling of ResizeElement and AlignElement actions to pure action handlers instead of commands.
    • Change handling of NavigateToMarkersAction to a pure action handler instead of commands
    • Refactor handler for SetMarkersAction to a standalone action handler instead of an command