From 21611cb8a6f65128614025b6dac0900682b75463 Mon Sep 17 00:00:00 2001 From: Zbynek Stara Date: Wed, 27 Nov 2024 13:40:25 +0100 Subject: [PATCH] Release v4.1.0 (#2795) --- CHANGELOG | 36 +++++++++++++++++++ examples/decorators/package.json | 2 +- examples/dwdm/package.json | 2 +- examples/fta-js/package.json | 2 +- examples/isometric/package.json | 2 +- examples/layout-directed-graph/package.json | 2 +- examples/libavoid/package.json | 2 +- examples/link-labels-ts/package.json | 2 +- examples/list/package.json | 2 +- examples/shapes-general/package.json | 2 +- examples/tree-of-life/package.json | 2 +- package.json | 2 +- .../demo/custom-shapes/package.json | 2 +- packages/joint-core/demo/elk/package.json | 2 +- packages/joint-core/demo/rough/package.json | 2 +- .../joint-core/demo/tree-shake/package.json | 2 +- packages/joint-core/demo/ts-demo/package.json | 2 +- packages/joint-core/demo/vuejs/package.json | 2 +- packages/joint-core/package.json | 2 +- packages/joint-decorators/package.json | 2 +- .../joint-layout-directed-graph/package.json | 2 +- .../joint-shapes-general-tools/package.json | 2 +- packages/joint-shapes-general/package.json | 2 +- 23 files changed, 58 insertions(+), 22 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1e2d37d15..cd1174cb4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,39 @@ +27-11-2024 (v4.1.0) + + @joint/core + * dia.Paper - add methods to find cell/element/link views in paper + * dia.ElementView - add `getTargetParentView()` method + * dia.ElementView - fix to prevent exception when position or size is not defined + * dia.LinkView - update tools when labels change + * dia.LinkView - fix to invalidate the root node cache when labels change + * dia.CellView - expose special presentation attributes API + * dia.CellView - add `isIntersecting()` method + * dia.Graph - accept `toJSON()` options + * dia.Graph - add `transferCellEmbeds()` and `transferCellConnectedLinks()` methods + * dia.Graph - add methods to find cells/elements/links in graph + * dia.Graph - fix to remove graph reference from cells after `resetCells()` + * dia.Element - add `getPortGroupNames()` method + * dia.Cell - add `ignoreDefaults` and `ignoreEmptyAttributes` options to `toJSON()` + * dia.Cell - add `reparent` option to `embed()` + * elementTools.Control - add pointer event to `setPosition()` and `resetPosition()` signature + * linkTools - add `Control` link tool + * linkTools - add `RotateLabel` link tool + * linkTools - fix pending batch for `TargetArrowhead` and `SourceArrowhead` + * linkTools.Vertices - add `vertexAdding.interactiveLinkNode` option + * linkTools.Button - allow `distance` to be defined via callback + * routers.RightAngle - fix various routing issues + * dia.HighlighterView - add static `getAll()` method + * dia.ToolsView - fix to prevent tool `update()` from being called before previous `render()` due to visibility + * dia.ToolView - add `visibility` option callback + * mvc.View - fix to allow setting `style` via options + * util - add `objectDifference()` method + * util - expose `calc()` expression API + * util - expose `cloneCells()` method + * Geometry - add `strict` option to `containsPoint()` of `Rect` + + @joint/layout-directed-graph + * layout.DirectedGraph - add `graph` option to `fromGraphLib()` + 31-05-2024 (v4.0.4) @joint/core diff --git a/examples/decorators/package.json b/examples/decorators/package.json index 36f6d8648..1fd4c57fd 100644 --- a/examples/decorators/package.json +++ b/examples/decorators/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-decorators", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "homepage": "https://jointjs.com", "author": { diff --git a/examples/dwdm/package.json b/examples/dwdm/package.json index e2ae0a3ce..1de5a4dd3 100644 --- a/examples/dwdm/package.json +++ b/examples/dwdm/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-dwdm", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "homepage": "https://jointjs.com", "author": { diff --git a/examples/fta-js/package.json b/examples/fta-js/package.json index 6564a17cd..c691458c8 100644 --- a/examples/fta-js/package.json +++ b/examples/fta-js/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-fta-js", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.js", "homepage": "https://jointjs.com", "author": { diff --git a/examples/isometric/package.json b/examples/isometric/package.json index b39ec6647..52a347d54 100644 --- a/examples/isometric/package.json +++ b/examples/isometric/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-isometric", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "homepage": "https://jointjs.com", "author": { diff --git a/examples/layout-directed-graph/package.json b/examples/layout-directed-graph/package.json index 2c2280ad3..8f0cb04c2 100644 --- a/examples/layout-directed-graph/package.json +++ b/examples/layout-directed-graph/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-layout-directed-graph", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - Directed Graph Layout Demo", "main": "./index.js", "homepage": "https://jointjs.com", diff --git a/examples/libavoid/package.json b/examples/libavoid/package.json index 3e471acaf..1d88c32b8 100644 --- a/examples/libavoid/package.json +++ b/examples/libavoid/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-libavoid-js", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.js", "homepage": "https://jointjs.com", "author": { diff --git a/examples/link-labels-ts/package.json b/examples/link-labels-ts/package.json index 63b9cfa98..81c60b1d2 100644 --- a/examples/link-labels-ts/package.json +++ b/examples/link-labels-ts/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-link-labels-ts", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "homepage": "https://jointjs.com", "author": { diff --git a/examples/list/package.json b/examples/list/package.json index bcbe03af9..3e88daf67 100644 --- a/examples/list/package.json +++ b/examples/list/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-list", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "homepage": "https://jointjs.com", "author": { diff --git a/examples/shapes-general/package.json b/examples/shapes-general/package.json index d34345f0b..f8fce35bb 100644 --- a/examples/shapes-general/package.json +++ b/examples/shapes-general/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-shapes-general", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "homepage": "https://jointjs.com", "author": { diff --git a/examples/tree-of-life/package.json b/examples/tree-of-life/package.json index cd326b0dc..6c3098017 100644 --- a/examples/tree-of-life/package.json +++ b/examples/tree-of-life/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-tree-of-life", - "version": "4.0.4", + "version": "4.1.0", "main": "src/index.ts", "author": { "name": "client IO", diff --git a/package.json b/package.json index 8bc72dfe3..73a85f162 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "joint", - "version": "4.0.4", + "version": "4.1.0", "sideEffects": false, "homepage": "https://jointjs.com", "author": { diff --git a/packages/joint-core/demo/custom-shapes/package.json b/packages/joint-core/demo/custom-shapes/package.json index 9e15c4a6d..cef1ac0da 100644 --- a/packages/joint-core/demo/custom-shapes/package.json +++ b/packages/joint-core/demo/custom-shapes/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-custom-shapes", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - Custom Shapes Demo", "main": "index.html", "homepage": "https://jointjs.com", diff --git a/packages/joint-core/demo/elk/package.json b/packages/joint-core/demo/elk/package.json index f26d290c1..e007adaf3 100644 --- a/packages/joint-core/demo/elk/package.json +++ b/packages/joint-core/demo/elk/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-elk-graph", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - Eclipse Layout Kernel Graph Demo", "main": "index.html", "homepage": "https://jointjs.com", diff --git a/packages/joint-core/demo/rough/package.json b/packages/joint-core/demo/rough/package.json index 24e4142b5..3baad7cde 100644 --- a/packages/joint-core/demo/rough/package.json +++ b/packages/joint-core/demo/rough/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-rough", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - RoughJS Demo", "main": "index.html", "homepage": "https://jointjs.com", diff --git a/packages/joint-core/demo/tree-shake/package.json b/packages/joint-core/demo/tree-shake/package.json index a13060129..c44d6173b 100644 --- a/packages/joint-core/demo/tree-shake/package.json +++ b/packages/joint-core/demo/tree-shake/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-tree-shake", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - Tree Shake Demo", "main": "index.html", "homepage": "https://jointjs.com", diff --git a/packages/joint-core/demo/ts-demo/package.json b/packages/joint-core/demo/ts-demo/package.json index 810bc4485..0b2110f55 100644 --- a/packages/joint-core/demo/ts-demo/package.json +++ b/packages/joint-core/demo/ts-demo/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-ts", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - TypeScript Demo", "main": "index.html", "homepage": "https://jointjs.com", diff --git a/packages/joint-core/demo/vuejs/package.json b/packages/joint-core/demo/vuejs/package.json index 4559b5e48..e3e2de999 100644 --- a/packages/joint-core/demo/vuejs/package.json +++ b/packages/joint-core/demo/vuejs/package.json @@ -1,6 +1,6 @@ { "name": "@joint/demo-vuejs", - "version": "4.0.4", + "version": "4.1.0", "description": "JointJS - VueJS Demo", "main": "index.html", "homepage": "https://jointjs.com", diff --git a/packages/joint-core/package.json b/packages/joint-core/package.json index 40a7ad7dd..5e4384b9f 100644 --- a/packages/joint-core/package.json +++ b/packages/joint-core/package.json @@ -1,7 +1,7 @@ { "name": "@joint/core", "title": "JointJS", - "version": "4.0.4", + "version": "4.1.0", "description": "JavaScript diagramming library", "sideEffects": false, "main": "./dist/joint.min.js", diff --git a/packages/joint-decorators/package.json b/packages/joint-decorators/package.json index 8c11d0d3a..60fc9d0cc 100644 --- a/packages/joint-decorators/package.json +++ b/packages/joint-decorators/package.json @@ -1,7 +1,7 @@ { "name": "@joint/decorators", "title": "JointJS Decorators", - "version": "4.0.4", + "version": "4.1.0", "description": "Decorators module for JointJS", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/joint-layout-directed-graph/package.json b/packages/joint-layout-directed-graph/package.json index 588a248cb..e955e3178 100644 --- a/packages/joint-layout-directed-graph/package.json +++ b/packages/joint-layout-directed-graph/package.json @@ -1,7 +1,7 @@ { "name": "@joint/layout-directed-graph", "title": "JointJS LayoutDirectedGraph", - "version": "4.0.4", + "version": "4.1.0", "description": "LayoutDirectedGraph module for JointJS", "main": "dist/DirectedGraph.js", "module": "./DirectedGraph.mjs", diff --git a/packages/joint-shapes-general-tools/package.json b/packages/joint-shapes-general-tools/package.json index 0200e5764..548c31394 100644 --- a/packages/joint-shapes-general-tools/package.json +++ b/packages/joint-shapes-general-tools/package.json @@ -1,7 +1,7 @@ { "name": "@joint/shapes-general-tools", "title": "JointJS General Shapes Tools", - "version": "4.0.4", + "version": "4.1.0", "description": "General Shapes Tools module for JointJS", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/joint-shapes-general/package.json b/packages/joint-shapes-general/package.json index 6eb5bbb31..9e42e9086 100644 --- a/packages/joint-shapes-general/package.json +++ b/packages/joint-shapes-general/package.json @@ -1,7 +1,7 @@ { "name": "@joint/shapes-general", "title": "JointJS General Shapes", - "version": "4.0.4", + "version": "4.1.0", "description": "General Shapes module for JointJS", "main": "src/index.ts", "homepage": "https://jointjs.com",