Releases: clientIO/joint
Releases · clientIO/joint
Release v4.1.1
Release v4.1.0
CHANGELOG
@joint/core
- dia.Paper - add methods to find cell/element/link views in paper (ca06b4e)
- dia.ElementView - add
getTargetParentView()
method (0d29e70) - dia.ElementView - fix to prevent exception when position or size is not defined (3bead1c)
- dia.LinkView - update tools when labels change (f5df2d1)
- dia.LinkView - fix to invalidate the root node cache when labels change (6d12e65)
- dia.CellView - expose special presentation attributes API (58df31d)
- dia.CellView - add
isIntersecting()
method (ca06b4e) - dia.Graph - accept
toJSON()
options (bf753a1) - dia.Graph - add
transferCellEmbeds()
andtransferCellConnectedLinks()
methods (b62479c) - dia.Graph - add methods to find cells/elements/links in graph (ca06b4e)
- dia.Graph - fix to remove graph reference from cells after
resetCells()
(cb162d1) - dia.Element - add
getPortGroupNames()
method (b1b7a45) - dia.Cell - add
ignoreDefaults
andignoreEmptyAttributes
options totoJSON()
(bf753a1) - dia.Cell - add
reparent
option toembed()
(b62479c) - elementTools.Control - add pointer event to
setPosition()
andresetPosition()
signature (dd0db32) - linkTools - add
Control
link tool (f5df2d1) - linkTools - add
RotateLabel
link tool (f5df2d1) - linkTools - fix pending batch for
TargetArrowhead
andSourceArrowhead
(e9c5141) - linkTools.Vertices - add
vertexAdding.interactiveLinkNode
option (97b25eb) - linkTools.Button - allow
distance
to be defined via callback (5168a3a) - routers.RightAngle - fix various routing issues (5de4a15)
- dia.HighlighterView - add static
getAll()
method (7746050) - dia.ToolsView - fix to prevent tool
update()
from being called before previousrender()
due to visibility (f5df2d1) - dia.ToolView - add
visibility
option callback (3706574) - mvc.View - fix to allow setting
style
via options (db07082) - util - add
objectDifference()
method (bf753a1) - util - expose
calc()
expression API (f842946) - util - expose
cloneCells()
method (27d92fd) - Geometry - add
strict
option tocontainsPoint()
ofRect
(ca06b4e)
@joint/layout-directed-graph
- layout.DirectedGraph - add
graph
option tofromGraphLib()
(66ab6b7)
Release v4.0.4
Release v4.0.3
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
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
CHANGELOG
@joint/core
- add missing
src/core.mjs
to thedist
folder.
@joint/layout-directed-graph
- change the constraint on
@joint/core
dependency to allow patches only
Release v4.0.0
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 toboundary
(df012f3) - !dia.Paper - add SVG
grid
layer (1d392a1) - !dia.Paper - drop
drawGrid()
andclearGrid()
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 ofrefWidth
,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
touserSpaceOnUse
(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 version1.0.4
(free fromlodash
dependency)
Release v3.7.7
Release v3.7.6
CHANGELOG
- dia.Cell - make
prop()
's internalset()
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 intextWrap
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
andShadowLink
(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()
ofPolyline
(70a8631)