Skip to content

Release v4.0.0

Compare
Choose a tag to compare
@kumilingus kumilingus released this 02 Feb 09:50
· 35 commits to master since this release
96642d4

For a migration guide please visit the full changelog.

CHANGELOG

  • switch to a monorepo

@joint/core

  • rename package from jointjs to @joint/core
  • remove jQuery (15a73d1, cc74f36, d0898c3, d0898c3, 229672e)
  • remove backbone (0fc2abf, 415d841, 8a3e121, 0e6d464)
  • remove lodash (ff5ae96)
  • drop CSS (JointJS no longer distributed with CSS) (e4a8630)
  • !dia.Paper - change the default cell sorting to APPROX type (fa5b94a)
  • !dia.Paper - remove deprecated perpendicularLinks option (8fbe4e0)
  • !dia.Paper - remove deprecated linkConnectionPoint option (f7bb456)
  • !dia.Paper - change the value of the defaultConnectionPoint option to boundary (df012f3)
  • !dia.Paper - add SVG grid layer (1d392a1)
  • !dia.Paper - drop drawGrid() and clearGrid() methods (1d392a1)
  • dia.Paper - new transform event added (2a6e5a7)
  • !dia.Paper - allow passing custom data along with transformation events (2a6e5a7)
  • dia.Paper - allows passing custom data along with resize events (2a6e5a7)
  • !dia.Paper - origin option removed (2a6e5a7)
  • !dia.Paper - setOrigin method removed (2a6e5a7)
  • !dia.Paper - scale() no longer accepts scaling origin (2a6e5a7)
  • dia.Paper - add scaleUniformAtPoint() method (2a6e5a7)
  • dia.Paper - fix paper:pinch dispatched event type (74b1ef7)
  • !dia.LinkView - remove support for legacy features (72b070b, 1f61873)
  • !dia.CellView - early evaluation of calc attributes (da5000b)
  • !dia.CellView - disable useCSSSelectors by default (910dfd9)
  • !dia.Graph - throw exception when cell constructor not found (72ce832)
  • !dia.Link - replace legacy attributes in the default label definition (ae5b9cd)
  • !dia.Link - become an abstract class (same as dia.Element) (72b070b)
  • !dia.Link - remove the deprecated smooth attribute (8558a53)
  • !dia.Link - remove the deprecated manhattan attribute (8558a53)
  • !dia.Cell - add mergeArrays options to constructor (e0cf97a)
  • !dia.Cell - remove the parent(id) setter (9fb496f)
  • !shapes.standard - use calc expressions instead of legacy attributes (drop use of refWidth, refHeight, refX, refY, etc.) (d7f83b5)
  • !shapes.basic - remove in favor of shapes.standard (29da5f0, bca6884)
  • !shapes.devs - remove from package, define as custom shapes in demos (d7f83b5)
  • !shapes.pn - remove from package, define as custom shapes in demos (29da5f0)
  • !shapes.uml - remove from package, define as custom shapes in demos (29da5f0)
  • !shapes.logic - remove from package, define as custom shapes in demos (29da5f0)
  • !shapes.org - remove from package, define as custom shapes in demos (29da5f0)
  • !shapes.chess - remove from package, define as custom shapes in demos (29da5f0)
  • !shapes.fsa - remove from package, define as custom shapes in demos (29da5f0)
  • !highlighters.opacity - add alphaValue option (80ab3ee)
  • !highlighters.stroke - add nonScalingStroke option (5717ca9)
  • !elementTools.Remove - change type to remove (d36e498)
  • !linkTools.Remove - change type to remove (d36e498)
  • linkTools.Vertices - fix to trigger link:mouseleave event when the user stops dragging a vertex (6b1b54f)
  • !attributes.filter - change the coordinate system of the filters from objectBoundingBox to userSpaceOnUse (b38fffb)
  • !util - remove deprecated shapePerimeterConnectionPoint (f7bb456)
  • !Vectorizer - enable camel case attribute support by default (5e743f3)
  • Vectorizer - make the attributeNames property public (5e743f3)

@joint/layout-directed-graph

  • move the DirectedGraph layout into separate package
  • upgrade dagre to version 1.0.4 (free from lodash dependency)