From 2c42acba234f50ed585c426e1bab82cd5a325afc Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Fri, 8 Nov 2024 13:27:30 +0100 Subject: [PATCH 1/7] Release v4.1.0 --- 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..e17a01530 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,39 @@ +08-11-2024 (v4.1.0) + + @joint/core + * examples.link-labels-ts - add new example to show link labels functionality + * 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 - add `unset()` callback for special presentation attributes + * 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 + * g.Rect - add `strict` option to `containsPoint()` + + @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", From 47e1d989a61c882d2d74a1c7024cfaba252fd8f9 Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Tue, 12 Nov 2024 11:22:28 +0100 Subject: [PATCH 2/7] fix changelog --- CHANGELOG | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e17a01530..198b75494 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,7 @@ 08-11-2024 (v4.1.0) @joint/core - * examples.link-labels-ts - add new example to show link labels functionality + * examples.link-labels-ts - add new example to show link label tools functionality * 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 @@ -29,7 +29,7 @@ * mvc.View - fix to allow setting `style` via options * util - add `objectDifference()` method * util - expose `calc()` expression API - * g.Rect - add `strict` option to `containsPoint()` + * Geometry - add `strict` option to `containsPoint()` of Rect @joint/layout-directed-graph * layout.DirectedGraph - add `graph` option to `fromGraphLib()` From 8952074e4d986ee8b0181e1b52ccb916dd69e533 Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Wed, 13 Nov 2024 20:51:28 +0100 Subject: [PATCH 3/7] fix --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 198b75494..c9f0267bf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -29,7 +29,7 @@ * mvc.View - fix to allow setting `style` via options * util - add `objectDifference()` method * util - expose `calc()` expression API - * Geometry - add `strict` option to `containsPoint()` of Rect + * Geometry - add `strict` option to `containsPoint()` of `Rect` @joint/layout-directed-graph * layout.DirectedGraph - add `graph` option to `fromGraphLib()` From 0f7ae22b0e9fbc4c3b5399901ba1fcd37da5b8d6 Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Fri, 15 Nov 2024 16:27:19 +0100 Subject: [PATCH 4/7] fix --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index c9f0267bf..3c2b85d94 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,7 +7,7 @@ * 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 - add `unset()` callback for special presentation attributes + * dia.CellView - expose special presentation attributes API * dia.CellView - add `isIntersecting()` method * dia.Graph - accept `toJSON()` options * dia.Graph - add `transferCellEmbeds()` and `transferCellConnectedLinks()` methods From a96a635fcfe56af9ec2ff862db7ad864b8032d78 Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Thu, 21 Nov 2024 17:44:32 +0100 Subject: [PATCH 5/7] fix --- CHANGELOG | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 3c2b85d94..e7351e7ce 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,6 @@ 08-11-2024 (v4.1.0) @joint/core - * examples.link-labels-ts - add new example to show link label tools functionality * 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 From f42b63ee17f07d076d290e42823bc196295534bb Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Wed, 27 Nov 2024 12:15:41 +0100 Subject: [PATCH 6/7] update date --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index e7351e7ce..d401c92d4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -08-11-2024 (v4.1.0) +27-11-2024 (v4.1.0) @joint/core * dia.Paper - add methods to find cell/element/link views in paper From cd54ea007a9fada8ace6e1a42d7f042cc6d47b6e Mon Sep 17 00:00:00 2001 From: zbynekstara Date: Wed, 27 Nov 2024 13:16:59 +0100 Subject: [PATCH 7/7] fix --- CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG b/CHANGELOG index d401c92d4..cd1174cb4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -28,6 +28,7 @@ * 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