Skip to content

Latest commit

 

History

History
100 lines (69 loc) · 4.7 KB

CHANGELOG.md

File metadata and controls

100 lines (69 loc) · 4.7 KB

Eclipse Sprotty Change Log

This change log covers only the client part of Sprotty. See also the change logs of sprotty-server, sprotty-theia and sprotty-layout.

v0.10.0 (upcoming)

Breaking API changes:

  • Upgrade to snabbdom 3.0.3. The imports of snabbdom functions have changed. The main snabbdom package exports all of the public API.This means consumers of the snabbdom package need to update their imports.

before

import { h } from 'snabbdom/h'
import { VNode } from 'snabbdom/vnode'

after

import { h, VNode } from 'snabbdom'
  • snabbdom now supports jsx, so snabbdom-jsx has been removed. On the other hand, to maintain the ability to treat attribute prefixes as data keys, it is used via a wrapper called lib/jsx.

before

/** @jsx svg */
import { svg } from 'snabbdom-jsx';

after

/** @jsx svg */
import { svg } from 'sprotty';
  • The on function API of vnode-utils has been changed due to the API change of snabbdom's event listner. Listners must bind elements. (see snabbdom/snabbdom#802)

v0.9.0 (Aug. 2020)

New features:

  • Skip rendering elements that are not in viewport (#182)
  • Rejecting request actions (#184)

Fixed issues: https://github.com/eclipse/sprotty/milestone/4?closed=1

v0.8.0 (Apr. 2020)

New features:

  • CenterAction retains zoom level (#138)
  • Cycling through command palettes (#141)
  • Context menus (#139#144)
  • Use element subtype as css style (#145)
  • Improve loading indicator of command palette (#148, #151)
  • Reset previous hover feedback on mouseover (#153)
  • Edge changes are animated (#158)
  • Fix scrolling on all browsers (#163)
  • Multi-line Label editing and ForeignObjects (#171, #173)

Fixed issues: https://github.com/eclipse/sprotty/milestone/3?closed=1

Breaking API changes:

  • DeleteContextMenuProviderRegistry has been renamed to DeleteContextMenuProvider (#157)
  • MenuItem.isEnabled(), MenuItem.isToggled()and MenuItem.isVisible() no longer return promises (#157)
  • IUIExtension.id and IUIExtension.containerClass have become methods (#171)
  • EdgeSnapshot additionally stores routedPoints (#158)

v0.7.0 (Oct. 2019)

New features:

  • Command palette (#63)
  • UI extensions (#63)
  • Snap-to-grid (#87)
  • Label editing (#88)
  • Request-response actions (#103)
  • Configure features as parameter to configureModelElement (#109)
  • New function loadDefaultModules (#111)
  • New function configureActionHandler (#117)

Fixed issues: https://github.com/eclipse/sprotty/milestone/2?closed=1

Breaking API changes:

  • Split Viewer in three classes ModelViewer, HiddenModelViewer, PopupModelViewer (#103).
  • Renamed CommandResult type to CommandReturn (#103).
  • Renamed IVNodeDecorator to IVNodePostprocessor (#113, #116).
  • Changed ComputedBoundsAction (#119)
  • SGraphFactory is deprecated (#109).

v0.6.0 (Mar. 2019)

First release of Sprotty with the Eclipse Foundation. The previous repository location was theia-ide/sprotty.