Skip to content

Release v4.3.0

Choose a tag to compare

@zbynekstara zbynekstara released this 07 Jul 11:58
9c9798d

CHANGELOG

@joint/react

  • new package - idiomatic React components and hooks for JointJS, built directly on the core engine (c87d345)

@joint/core

  • dia.Paper - add originX and originY options to getFitToContentArea() (82f2e07)
  • dia.Paper - add typed EventMap for IDE autocomplete and type-checking on on() calls (bb2f01b)
  • dia.Paper - resolveViewClass factory now receives the resolved namespace view class as a second argument (88e5812)
  • dia.Paper - add getCellView() method for strict view lookup (42ecbe4)
  • dia.Paper - add setDragging() and isDragging() methods for drag-state access (ec6eb33)
  • dia.Paper - auto-emit resize event when the host container is resized via CSS (adc8f52)
  • dia.Paper - fix stale cell views when cells become hidden during a batch update (2eff4f3)
  • dia.Paper - elementView / linkView factory options now receive the namespace view class as a second argument (fdbf849)
  • dia.GridLayerView - read built-in grid patterns from the paper constructor's static field (79827c6)
  • dia.CellView - getNodeBoundingRect() and new computeNodeBoundingRect() support HTML elements (8ef72b6, 4b4bb52)
  • dia.Graph - add getCellNamespace(), setCellNamespace(), getTypeConstructor(), getTypeDefaults(); deprecate CellCollection.cellNamespace setter (fea4bf3)
  • dia.Graph - add typed EventMap for IDE autocomplete and type-checking on on() calls (bb2f01b)
  • dia.Graph - add port and magnet options to getConnectedLinks() (906ddd5)
  • dia.Cell - support predicate function for ignoreEmptyAttributes option of toJSON() (6363f39)
  • dia.Cell - add Cell.JSON and Cell.JSONInit types; deprecate GenericAttributes (5cbc52f)
  • anchors.midSide - add 'top-bottom', 'bottom-top', 'left-right', 'right-left' direction modes (67d83ba)
  • highlighters - add HTML element support to the mask highlighter (dcd60ac)
  • routers.rightAngle - fix anchor point excluded from clearance bounding-box union (2a1fec5)
  • routers.rightAngle - add minPathMargin, sourceMargin, and targetMargin options (858d049)
  • mvc.View - add classNamePrefix instance property to override the joint- CSS class prefix (0a39977)
  • config - add storeEmbeds option to suppress the embeds attribute (de2357e)
  • Vectorizer - fix getRelativeTransformation() when the screen CTM is non-invertible (66e6810)