@joint/core@4.3.4
- linkTools.Anchor - add types for
onPointerDown(),onPointerMove(),onPointerUp()andonPointerDblClick()(65c07c92) - dia.Link - refactor link labels resolution against
defaultLabeland the built-in default label (d742fc60) - dia.Cell - fix
removeAttr()to pass its options on when the path is an array (f6b183ae) - dia.Cell - fix
removeProp()to remove a top-level property given as an array path (f6b183ae) - config - fix the TypeScript types to declare
storeEmbeds(0a370aac) - util - accept
undefinedsource objects in thedefaults(),defaultsDeep(),supplement()anddeepSupplement()typings, which the implementations already skip (a1d9f030) - dia.Graph - fix to resolve cell and layer
typeonly todia.Cellanddia.GraphLayerconstructors (cf7c369e) - dia.Paper - fix
defineFilter()to ignore filter names inherited fromObject.prototype(cf7c369e) - dia.ElementView - fix
getLinkEnd()to keep a non-integer numeric port id, e.g.1.5(8d7c0871) - dia.Paper - fix
multiLinks: falseto tell a link to port0apart from links to other ports (8d7c0871) - mvc.Dom - fix
$(window)to hold the window, so event methods andwidth()/height()work on it (e3862a8f) - mvc.$ - fix
parseHTML()to remove all<script>elements (cf7c369e) - dia.Paper - fix a layer removed and added again before the paper updates being left without a view (b038864e)
- dia.Element - fix port lookups to match a port id by value and type, so
5and'5'are two different ports and0is a valid id (8d7c0871) - dia.Element - fix
PortLabelPositionTypetype to usePortLabelPositionJSONfor a port label's position (a1d9f030) - dia.Element - fix types to allow
portProp(portId)andportProp(portId, object, opt)(a1d9f030) - dia.ToolsView - fix a tool hidden with
hide()right afteraddTools()reappearing when the update is deferred (e.g.async: true) (3de3381e) - routers.rightAngle - fix the link direction at ports of rotated elements and route around rotated elements (a255c1b3)
- util - fix
toggleFullScreen()to work in a cross-origin iframe and default to the current page's body (6c64bd5c) - util.filter - fix the built-in filters to escape their arguments (cf7c369e)
- util - fix
sanitizeHTML()to remove unsafe elements and to detect obfuscatedjavascript:URLs (cf7c369e) - util - fix
setByPath()andunsetByPath()to ignore__proto__as the last path segment (cf7c369e) - linkTools.Vertices - fix the
VertexHandletype to declareonDoubleClick(), notonPointerClick()(65c07c92) - linkTools.Vertices - fix the
vertexAddingtype to nameinteractiveLinkNode, notinteractiveLineNode(375e9cf9) - types -
cell.findView()returnsElementViewfordia.ElementandLinkViewfordia.Link;paper.getCellView()infers the view type from the model (72b79b41)
@joint/layout-elk@4.3.4
- new package - automatic layout for JointJS graphs using the Eclipse Layout Kernel (ELK), including layout of embedded elements as containers and of element ports (a1d9f030)
- Updated dependencies (65c07c92, d742fc60, f6b183ae, 0a370aac, a1d9f030, cf7c369e, 8d7c0871, e3862a8f, b038864e, 3de3381e, a255c1b3, 6c64bd5c, 375e9cf9, 72b79b41)
- @joint/core@4.3.4
@joint/react@4.3.7
- useOnElementsMeasured - fix to fire exactly once per settled change (an addition, a removal or a re-measurement), when no element is still waiting to be measured (15124e99)
- Updated dependencies (65c07c92, d742fc60, f6b183ae, 0a370aac, a1d9f030, cf7c369e, 8d7c0871, e3862a8f, b038864e, 3de3381e, a255c1b3, 6c64bd5c, 375e9cf9, 72b79b41)
- @joint/core@4.3.4
Release v4.1.4
- dia.Graph - fix to resolve cell
typeonly todia.Cellconstructors (476d559b) - dia.Paper - fix
defineFilter()to ignore filter names inherited fromObject.prototype(476d559b) - mvc.$ - fix
parseHTML()to remove all<script>elements (476d559b) - util - fix
sanitizeHTML()to remove unsafe elements and to detect obfuscatedjavascript:URLs (476d559b) - util - fix
setByPath()andunsetByPath()to ignore__proto__as the last path segment (476d559b) - util.filter - fix the built-in filters to escape their arguments (476d559b)
Release v4.2.6
- dia.Graph - fix to resolve cell and layer
typeonly todia.Cellanddia.GraphLayerconstructors (f9ba11e9) - dia.Paper - fix
defineFilter()to ignore filter names inherited fromObject.prototype(f9ba11e9) - mvc.$ - fix
parseHTML()to remove all<script>elements (f9ba11e9) - util - fix
sanitizeHTML()to remove unsafe elements and to detect obfuscatedjavascript:URLs (f9ba11e9) - util - fix
setByPath()andunsetByPath()to ignore__proto__as the last path segment (f9ba11e9) - util.filter - fix the built-in filters to escape their arguments (f9ba11e9)
@joint/core@4.3.3
- mvc.Collection - store cids in a map separate from ids, so a model id in the cid namespace (e.g.
'c12') is never shadowed by another model's auto-generated cid — previouslygraph.getCell()could return the wrong cell or a newly added cell could be silently merged away as a duplicate (f7455fd9)