CHANGELOG.md 7.9 KB

Changelog

All notable changes to diagram-js are documented here. We use semantic versioning for releases.

Unreleased

_Note: Yet to be released changes appear here._

3.3.1

  • FIX: prevent HTML injection in search component (#362)

3.3.0

  • FEAT: add basic grid snapping (f987bafe)
  • FEAT: layout connections on start/end reconnection (f7cc7a8f)
  • FIX: use reference point when resizing (95bef2f6)

3.2.0

  • FEAT: trigger layout after connection reconnect (#317)

3.1.3

  • FIX: bump tiny-svg dependency to workaround MS Edge translate bug (657da2c3)

3.1.2

Reverts changes in v3.1.1, as they were unnecessary.

3.1.1

  • FIX: use correct reference argument for DOM related insert operations (47ca05ca)

3.1.0

  • FIX: don't swallow event listeners on EventBus#only (#293)
  • CHORE: rework EventBus internals, fixing various issues (#308)

3.0.2

  • FIX: make main export an ES module

3.0.1

  • FIX: correct IE11 delete key binding (d529a676)

3.0.0

  • FEAT: make ContextPad accessible and scaling configurable (#282)
  • FEAT: make PopupMenu accessible and scaling configurable (#284)
  • FEAT: allow Keyboard listener overrides using priorities (#226)
  • FEAT: add ability to move selected elements with keyboard arrows (9e62bdd)
  • FEAT: require Ctrl/Cmd modififer to move canvas via keyboard arrows (571efb9)
  • FEAT: make KeyboardMove and KeyboardMoveSelection speed configurable
  • FEAT: speed up moving elements / canvas using keyboard errors if SHIFT modifier is pressed
  • FEAT: add editorAction.init event to register editor actions (a9089ad)
  • FEAT: only bind Keyboard shortcuts for existing editor actions (aa308fd)
  • FEAT: rely on rules during GlobalConnect start (1efb277)
  • FEAT: expose KeyboardEvent to keyboard listeners instead of (keyCode, event) (94b5e26)
  • FEAT: automatically resize parent elements when children are expanded or replaced (#287)
  • CHORE: drop implicit feature dependencies in EditorActions (a9089ad)

Breaking Changes

  • GlobalConnect#registerProvider got removed without replacement. Implement a connection.start rule to control whether it is allowed to start connection with GlobalConnect (1efb277)
  • The Keyboard now passes the KeyboardEvent to listeners as the only argument rather than (keyCode, event) (94b5e26)
  • Removed the listeners property from Keyboard lifecycle events (4d72e38)
  • Moving the canvas via arrow keys now requires Ctrl/Cmd modifiers to be pressed; without the modifiers selected elements will be moved, if the KeyboardMoveSelection feature is provided (571efb9)
  • EditorActions does not implicitly pull in feature dependencies anymore, ensure you include all desired features with your editor (a9089ad)

2.6.1

  • FIX: ignore vertical padding when layouting text with middle alignment

2.6.0

  • CHORE: normalize drag coordinates to full pixel coordinates (#271)

2.5.1

  • FIX: circumvent IE 9 viewer bug (e1f3c65c)

2.5.0

  • FEAT: extend manhattan layout helper to support explicit trbl direction and layout U-turns, if needed (fd4c6028)

2.4.1

  • FIX: ensure all labels / attachers are moved before triggering connection layout
  • CHORE: move attachers / labels along with move closure (16882649)

2.4.0

  • FEAT: add ability to remove multiple events via EventBus#off

2.3.0

  • FEAT: hide palette toggle in expanded state (a none-feature, technically) (#257)
  • FIX: take top/bottom padding into account when rendering text (#259)
  • FIX: don't throw error on out-of-canvas lasso tool release

2.2.0

  • FEAT: support lineHeight in text render util (#256)

2.1.1

  • FIX: correct code snippet to ES5

2.1.0

  • FEAT: add support for multiple labels (#202)
  • FEAT: allow multiple classes to be passed to popup menu entries

2.0.0

  • FEAT: refactor popup menu to allow multiple providers and simplify API (b1852e1d)

Breaking Changes

  • The PopupMenu API got rewritten, cf. b1852e1d

1.5.0

This release accidently introduced backwards incompatible changes. Unpublished; Use v2.0.0 instead.

1.4.0

  • CHORE: bump object-refs version

1.3.1

  • FIX: correct side-effects config to not include *.css files

1.3.0

  • FEAT: emit popup menu life-cycle events
  • FIX: prevent default click action on dragend, if trapClick: true is specified

1.2.1

  • FIX: escape ids in CSS selectors

1.2.0

  • DOCS: migrate example to ES modules

1.1.0

  • CHORE: update utility toolbelt

1.0.0

  • CHORE: convert code base to ES modules (e26b034)

Breaking Changes

  • You must now configure a module transpiler such as Babel or Webpack to handle ES module imports and exports.

0.31.0

  • FEAT: remove EventBus.Event in favor of EventBus#createEvent API (91899cf6)

Breaking Changes

  • Use EventBus#createEvent to instantiate events

0.30.0

...

Check git log for earlier history.