Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jointjs 3.6.2 → 3.7.7 (minor) #320

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Nov 8, 2023

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ jointjs (3.6.2 → 3.7.7) · Repo · Changelog

Release Notes

3.7.7

CHANGELOG

  • dia.Paper - fix custom events on link label (8d3a09f)
  • util.breakText - fix hyphenation regex to take international characters into account (c314a3d)

3.7.6

CHANGELOG

  • dia.Cell - make prop()'s internal set() call more efficient (4f8c058)
  • dia.LinkView - fix to prevent hidden doubleLinkTools to affect link bounding box (d9696c3)
  • dia.attributes - fix to read all breakText options in textWrap attribute (dc9dc6f)
  • dia.attributes - fix ambiguous order of cache keys in text attribute (e0a5aac)
  • connectors.Curve - fix wrong target tangent right direction (e291c17)
  • linkTools.Segments - throw explicit error when incompatible router in use (f6ffb4b)
  • shapes.standard - fix cursor style on DoubleLink and ShadowLink (1a9ca06)
  • util.breakText - fix to use the defined separator to join words (dc9dc6f)
  • util.breakText - fix to allow empty string to be separator (dc9dc6f)
  • Geometry - prevent unnecessary object instantiation in Rect.prototype.containsPoint() (b8b8d9d)
  • Geometry - prevent rounding errors in simplify() of Polyline (70a8631)

Experimental

  • Vectorizer: add option to support camel case attributes (2c4804e)
  • routers.RightAngle: support user-defined vertices (7aca426)

3.7.5

CHANGELOG

  • layout.PortLabel - fix passing of label.position.args.attrs in inside, outside, radial layouts (2b82631)
  • connectors.Jumpover - fix to prevent stacked links from causing jumps (d8b2226)
  • util.breakText - fix to prevent NO_SPACE characters from appearing in the result (690e84b)

3.7.4

CHANGELOG

  • dia.LinkView - fix element detection when using snapLinkSelf: true (8cfdea4)

3.7.3

CHANGELOG

  • demo.Isometric - add new demo as example of isometric projection (75a94c0)
  • dia.Cell - add foregroundEmbeds option to toFront() and toBack() methods (ddc5345)
  • dia.Cell - fix the depth-first algorithm in getEmbeddedCells() method (e0e9144)

3.7.2

CHANGELOG

  • demo - add DWDM (Dense wavelength-division multiplexing) example
  • dia.Paper - allow immediate propagation on pointerup
  • dia.CellView - fix to checkMouseLeave working incorrectly when paper has autoFreeze=true
  • dia.CellView - fix to get correct ref node bounding box
  • dia.HighlighterView - prevent highlighter mounting to unmounted cell views

3.7.1

CHANGELOG

  • bump jQuery to v3.6.4
  • demo.ROI - fix zooming in Safari (5f042a9)
  • dia.CellView - return correct target under the pointer for pointer events (5d8244e)
  • dia.Cell - fix to prevent cell id undefined (83ac850)
  • dia.attributes - prevent error when title is used on element with a text node (842748a)

3.7.0

CHANGELOG

  • demo.CustomEmbedding - add new demo to illustrate custom embedding functionality (3ac0867)
  • demo.Flowchart - add new demo to illustrate rightAngle router and straight connector (9bc6470)
  • demo.ROI - add new demo to illustrate working with foreign objects (0edee6d)
  • demo.FTA - revamp demo to illustrate custom highlighter, straight connector, and alignment options of dia.Paper.transformToFitContent() (8e87f9b)
  • dia.Paper - add overflow option (6211002)
  • dia.Paper - add transformToFitContent() method (6adcf54)
  • dia.Paper - change scaleContentToFit() into an alias of transformToFitContent() (6adcf54)
  • dia.Paper - add verticalAlign and horizontalAlign options to transformToFitContent() (6adcf54)
  • dia.Paper - add element:magnet:pointerdown, element:magnet:pointermove and element:magnet:pointerup events (0edee6d)
  • dia.Paper - improve event handling of form control elements inside elements (0edee6d)
  • dia.Paper - add preventDefaultViewAction option (0edee6d)
  • dia.Paper - add drawGridSize option (169f26a)
  • dia.Paper - add autoFreeze option (ce1f70a)
  • dia.Paper - fix to trigger render callbacks and event when requireView() is called (cf3adde)
  • dia.Paper - fix to send mousewheel events when CTRL key is pressed while there are no paper:pinch subscribers (b3741cc)
  • dia.Paper - fix to auto-rotate target markers as expected when using marker.markup (2d7cf26)
  • dia.Paper - fix event handlers to correctly receive dia.Event on touch screens (0edee6d)
  • dia.Paper - fix event handlers so that originalEvent always points to a native event (0edee6d)
  • dia.Paper - fix to trigger element:magnet:pointerclick when user clicks an invalid magnet (0edee6d)
  • dia.Paper - fix to hide tools and highlighters when associated cell view is detached (a29d6a6)
  • dia.Paper - fix to throw an error when unfreeze() is called on a paper which has been removed (7e7f0cf)
  • dia.ElementView - fix to correctly update port nodes with ref on size change (c954d5d)
  • dia.ElementView - fix to prevent double rendering of ports when CSS selectors are enabled (0575985)
  • dia.LinkView - enable link label dragging on touch screens in async mode (0edee6d)
  • dia.LinkView - fix to take defaultLabel.size into account for link label size calculations (bcb1ae3)
  • dia.LinkView - fix to remember initial cursor offset from label anchor coordinates when dragging (b8bb6c8)
  • dia.LinkView - fix incorrect rotation of labels using keepGradient and absoluteOffset options (78b63fc)
  • dia.LinkView - fix to prevent label jumping while being dragged along straight-line Curve links (f9dd510)
  • dia.CellView - add preventDefaultInteraction() and isDefaultInteractionPrevented() methods (0edee6d)
  • dia.CellView - fix link update if connected element changes at the same time the connection is made (81698a1)
  • dia.Element - add fitToChildren() and fitParent() methods (ff962c5)
  • dia.Element - change fitEmbeds() into an alias of fitToChildren() (ff962c5)
  • dia.Element - add expandOnly and shrinkOnly options to fitToChildren() and fitParent() (ff962c5)
  • dia.Cell - fix to always send propertyPath and propertyValue options when calling prop() (4f87599)
  • dia.Cell - fix inconsistent merging behavior in prop() (7ed74df)
  • dia.Cell - fix to preserve stacking of nested cells when toFront()/toBack() is called (64bc062)
  • linkTools.Anchor - fix to trigger mouseleave event after drag-and-drop interaction (68e0587)
  • highlighters.mask - fix to prevent copying of class attribute to elements (02ac92c)
  • layout.PortLabel - fix to center position of labels in outside/inside oriented layouts (93a1c20)
  • layout.PortLabel - fix to correctly set vertical position of text labels (7869174)
  • layout.PortLabel - fix to stop sending redundant information for manual layout (93a1c20)
  • connectionPoints.boundary - add option to disable automatic magnet lookup within elements (ec372eb)
  • connectors.straight - add new connector, and deprecate normal and rounded connectors (2d776ab)
  • routers.rightAngle - add new router, and deprecate oneSide router (9bc6470)
  • dia.attributes - add props special attribute for setting various HTML form control properties (b9f45a7)
  • dia.ports - fix to apply port layout transformations before ref nodes bbox measuring (c954d5d)
  • dia.ports - fix to apply port layout attributes to text element (7869174)
  • util - remove lodash util functions (7adc45e)
  • util.breakText - support lineHeight in px units (ffdbd8b)
  • util.normalizeEvent - fix to always return a dia.Event (0edee6d)
  • util.parseDOMJSON - add logic to process JSON with string array items as HTML text nodes (20c2d67)
  • util.svg - keep correct order of HTML text nodes when parsing to JSON (20c2d67)
  • util.svg - fix to use lowercase for tagName of HTML elements when parsing to JSON (f21577f)
  • util.svg - fix textContent to contain HTML text nodes from all descendants when parsing to JSON (f21577f)
  • util.svg - fix to prevent setting empty textContent when parsing to JSON (f21577f)
  • Geometry - fix getSubdivisions() method for straight-line Curve objects (f9dd510)

3.6.5

CHANGELOG

  • dia.Paper - remove element unprefixed user-drag property (81deb10)
  • linkTools.Anchor - fix area bounding box when the link is connected to a link (659ca7c)

3.6.4

CHANGELOG

  • dia.Paper - preserve contextmenu events hierarchy (f909315)
  • dia.Paper - fix element user-drag property (f909315)
  • Vectorizer - fix RegEx to avoid potential ReDoS attacks (f909315)
  • Geometry - fix RegEx to avoid potential ReDoS attacks (f909315)

3.6.3

CHANGELOG

  • Vectorizer - remove deprecated hasFeature (a67df63)
  • dia.Cell - prevent exception when removeProp() called on non-existing top-level attribute (f983f8d)
  • linkTools.Segments - fix non-orthogonal edge cases (c37bf38)
  • Vectorizer - fix removing & toggling multiple classes (85d1ab9)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants