Skip to content

Release v4.2.0 - #3072

Merged
zbynekstara merged 9 commits into
clientIO:masterfrom
zbynekstara:release-v4.2.0
Nov 10, 2025
Merged

zbynekstara merged 9 commits into
clientIO:masterfrom
zbynekstara:release-v4.2.0

Conversation

@zbynekstara

@zbynekstara zbynekstara commented Sep 25, 2025 •

Copy link
Copy Markdown
Contributor

CHANGELOG

  • add new ELK layout example (bbce451)

@joint/core

  • dia.Paper - introduce layers API (abed49b, 1efc2c5, 2908183, cc11d6b, 567196e)
  • dia.Paper - rework autoFreeze option (9d0aa93)
  • dia.Paper - add measureNode() callback option (d0df8c8)
  • dia.Paper - add findClosestMagnetToPoint() method (60b2ba5)
  • dia.Paper - add viewManagement option for advanced view lifecycle management (1184173)
  • dia.Paper - add cellVisibility() callback option (1184173)
  • dia.Paper - add disposeHiddenCellViews() method (9d0aa93)
  • dia.Paper - add prioritizeCellViewMount() and prioritizeCellViewUnmount() methods (9d0aa93)
  • dia.Paper - add updateCellVisibility() and updateCellsVisibility() methods (686f043)
  • dia.Paper - add isCellVisible() method (a2c1a8d, 686f043)
  • dia.Paper - fix to only trigger 'render:idle' event after all updates are completed (9d0aa93)
  • dia.Paper - fix generic view detachment when viewport() callback returns false (d19a931)
  • dia.Paper - fix to trigger 'render:*' events when paper model is reset with no cells (edfdf9d)
  • dia.Paper - fix rendering of first batch of updates in async mode to be asynchronous (edfdf9d)
  • dia.LinkView - allow link-to-link snap (5bebaa0)
  • dia.LinkView - fix to prevent link snap to a magnet when only the host cell is close enough (5bebaa0)
  • dia.LinkView - fix missing arrowheads in WKWebView (aa66557)
  • dia.CellView - make getNodeBBox() method work for nodes outside the render tree (a2f6ce2)
  • dia.CellView - optimize measurements of nodes referenced by ref attribute (d0df8c8)
  • dia.Graph - add syncCells() method (70ca35a)
  • dia.Graph - add removeCell() method (6eb1f58)
  • dia.Element - add filter option to fitToChildren() and fitParent() methods (6866b5e)
  • dia.Element - add minRect option to fitToChildren() and fitParent() methods (6866b5e, 1d90187)
  • dia.Element - support port position args inside position property (fa5407f)
  • dia.Element - add getPortBBox() and getPortCenter() methods (4144847)
  • dia.Element - support custom portLayoutNamespace and portLabelLayoutNamespace (28be873)
  • dia.Element - support passing custom port label layout functions to label.position (28be873)
  • dia.Element - optimize cloning in getPort() method (3e5d69e)
  • dia.Element - optimize hasPort() and hasPorts() methods (3c1d940)
  • dia.Element - fix to parse numeric strings in port position args (af9658c)
  • dia.Cell - add getCenter() method (e5911c5)
  • dia.Cell - add cell attributes merge strategy (7599ec3)
  • dia.Cell - support array paths in transition() and stopTransition() methods (8c0fcdf)
  • dia.Cell - expose getAttributeDefinition() method (e361c11)
  • dia.Cell - fix to always create deep copy of arrays in constructor (9cb198f)
  • dia.attributes - add useNoBreakSpace which reinstates V.sanitizeText() functionality (16ae297)
  • dia.attributes - fix textWrap attribute when Paper is not in render tree (d0df8c8)
  • dia.HighlighterView - z option now supports highlighter positioning within SVG (84588c0)
  • dia.HighlighterView - add static has() method to check if CellView has a highlighter attached (1184173)
  • dia.HighlighterView - fix to prevent highlighting nodes outside cell view (6af4e41)
  • dia.HighlighterView - fix to prevent removing not-yet-mounted HighlighterViews on unmount (080b3f0)
  • elementTools - fix tools position when attached directly to ElementView (354e75a)
  • linkTools.Vertices - fix to call blur when redundancyRemoval: false (82bfbd7)
  • anchors - add useModelGeometry option to all anchors (3e5d69e)
  • anchors - add support for calc() expressions in dx, dy options (9b27bb8)
  • anchors.midSide - add mode and preferenceThreshold options (7c3eb6b)
  • connectionPoints - add useModelGeometry option to bbox and rectangle (3c1d940)
  • mvc.View - allow providing custom cid in constructor (1184173)
  • mvc.Collection - use a Map to store references (79e83fd)
  • Vectorizer - add safe option to getTransformToElement() method (a2f6ce2)
  • Vectorizer - add static getCommonAncestor() method (a2f6ce2)
  • Vectorizer - add useNoBreakSpace option to text() method (16ae297)
  • Vectorizer - deprecate static sanitizeText() method (16ae297)
  • Vectorizer - fix to preserve camelCase in 'attributeName', 'repeatCount' attribute names (9c5f098)
  • Vectorizer - fix to handle implicit line coordinates in convertToPathData() method (20afa2a)
  • Geometry - add moveAroundPoint() method to Rect (3e5d69e)
  • fix to keep 'use strict' for minified files (6141307)

@joint/layout-directed-graph

  • layout.DirectedGraph - support clusterPadding: 'default' (fa2b793)
  • layout.DirectedGraph - expose Dagre disableOptimalOrderHeuristic and customOrder options (47a3f70)

@joint/layout-msagl

  • layout.MSAGL - add new layout package utilizing the Microsoft Automatic Graph Layout (7b268a2)

@zbynekstara
zbynekstara force-pushed the release-v4.2.0 branch 4 times, most recently from 05d8ad4 to 3809f58 Compare November 7, 2025 12:37
@zbynekstara
zbynekstara marked this pull request as ready for review November 10, 2025 09:52
@zbynekstara
zbynekstara merged commit ddc6d90 into clientIO:master Nov 10, 2025
@zbynekstara
zbynekstara deleted the release-v4.2.0 branch November 10, 2025 11:39
@zbynekstara zbynekstara mentioned this pull request Apr 16, 2026
9 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants