Skip to content

Releases: clientIO/joint

Release v4.0.4

31 May 14:28
72d7a22
Compare
Choose a tag to compare

CHANGELOG

@joint/core

  • update HTML demo in alignment with v4 (2f32821)
  • dia.LinkView - fix missing arrowheads in Safari (66442ad)
  • dia.attributes - fix to take the inline font attributes into account in textWrap(bccc2ef)

Release v4.0.3

14 May 15:18
a033170
Compare
Choose a tag to compare

CHANGELOG

  • examples.libavoid - add new demo to illustrate using libavoid-js for orthogonal routing (8369b04)

@joint/core

  • dia.Paper - fix to ensure grid pattern IDs are unique (68c5be4)
  • dia.ElementView - fix to support port IDs of number type (e842ea4)
  • linkTools.SourceArrowhead - fix to trigger pointerdown event when the user starts dragging an arrowhead (a383dee)
  • linkTools.TargetArrowhead - fix to trigger pointerdown event when the user starts dragging an arrowhead (a383dee)

@joint/layout-directed-graph

  • fix distributed package.json by resolving @joint/core workspace dependency

Release v4.0.2

09 Apr 10:25
f664253
Compare
Choose a tag to compare

CHANGELOG

@joint/core

  • dia.Paper - fix to prevent leaks of pending animation frame requests on resetViews() (d300545)
  • routers.rightAngle - fix to improve generated route (a0e57de)
  • dia.attributes - fix text-wrap to take external CSS into account (920da5a)
  • Vectorizer - fix normalizePathData() to support zero-length arcto curves (62bfd32)

Release v4.0.1

02 Feb 12:43
a061741
Compare
Choose a tag to compare

CHANGELOG

@joint/core

  • add missing src/core.mjs to the dist folder.

@joint/layout-directed-graph

  • change the constraint on @joint/core dependency to allow patches only

Release v4.0.0

02 Feb 09:50
96642d4
Compare
Choose a tag to compare

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)

Release v3.7.7

07 Nov 09:49
59647a9
Compare
Choose a tag to compare

CHANGELOG

  • dia.Paper - fix custom events on link label (8d3a09f)
  • util.breakText - fix hyphenation regex to take international characters into account (c314a3d)

Release v3.7.6

20 Oct 14:57
739c7c1
Compare
Choose a tag to compare

CHANGELOG

  • dia.Cell - make prop()'s internal set() call more efficient (4f8c058)
  • dia.LinkView - fix to prevent hidden doubleLinkTools to affect link bounding box (d9696c3)
  • dia.attributes - fix to read all breakText options in textWrap attribute (dc9dc6f)
  • dia.attributes - fix ambiguous order of cache keys in text attribute (e0a5aac)
  • connectors.Curve - fix wrong target tangent right direction (e291c17)
  • linkTools.Segments - throw explicit error when incompatible router in use (f6ffb4b)
  • shapes.standard - fix cursor style on DoubleLink and ShadowLink (1a9ca06)
  • util.breakText - fix to use the defined separator to join words (dc9dc6f)
  • util.breakText - fix to allow empty string to be separator (dc9dc6f)
  • Geometry - prevent unnecessary object instantiation in Rect.prototype.containsPoint() (b8b8d9d)
  • Geometry - prevent rounding errors in simplify() of Polyline (70a8631)

Experimental

  • Vectorizer: add option to support camel case attributes (2c4804e)
  • routers.RightAngle: support user-defined vertices (7aca426)

Release 3.7.5

02 Aug 13:21
1049447
Compare
Choose a tag to compare

CHANGELOG

  • layout.PortLabel - fix passing of label.position.args.attrs in inside, outside, radial layouts (2b82631)
  • connectors.Jumpover - fix to prevent stacked links from causing jumps (d8b2226)
  • util.breakText - fix to prevent NO_SPACE characters from appearing in the result (690e84b)

Release 3.7.4

23 Jun 14:05
fdeffa4
Compare
Choose a tag to compare

CHANGELOG

  • dia.LinkView - fix element detection when using snapLinkSelf: true (8cfdea4)

Release v3.7.3

22 Jun 12:54
4c27eb9
Compare
Choose a tag to compare

CHANGELOG

  • demo.Isometric - add new demo as example of isometric projection (75a94c0)
  • dia.Cell - add foregroundEmbeds option to toFront() and toBack() methods (ddc5345)
  • dia.Cell - fix the depth-first algorithm in getEmbeddedCells() method (e0e9144)