This repository was archived by the owner on Mar 25, 2022. It is now read-only.
Update dependency konva to v8#64
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.0.0->^8.0.0Release Notes
konvajs/konva
v8.3.5Compare Source
toCanvas()andtoDataURL()size calculation.v8.3.4Compare Source
fontFamilychanges inTextPath.node.getClientRect()resultstransformstartevent.v8.3.3Compare Source
justifyalign for text with several paragraphs.v8.3.2Compare Source
v8.3.1Compare Source
dbltapevent in Safarinode.moveToTop()when node is already on topKonva.Arcshape.v8.3.0Compare Source
transformer.anchorDragBoundFuncmethod.v8.2.4Compare Source
Konva.Transformerwhen several transformers were usedv8.2.3Compare Source
v8.2.2Compare Source
Konva.Arrowrendering when it has two pointersv8.2.1Compare Source
package.jsonexports.v8.2.0Compare Source
const Konva = require('konva/cmj').default;dbltaptrigger when multi-touch is usedv8.1.4Compare Source
dblclickevent whencancelBubbleis used.v8.1.3Compare Source
fillPatterncache invalidation on shapesv8.1.2Compare Source
Konva.Imagev8.1.1Compare Source
Konva.Transformerdragging draw whenshouldOverdrawWholeArea = true.container.removeChildren()orcontainer.destroyChildren()are usedv8.1.0Compare Source
useSingleNodeRotationforKonva.Transformer.v8.0.4Compare Source
fillPatternXandfillPatternYchanges.v8.0.3Compare Source
v8.0.2Compare Source
v8.0.1Compare Source
v8.0.0Compare Source
This is a very large release! The long term of
KonvaAPI is to make it simpler and faster. So when possible I am trying to optimize the code and remove unpopular/confusing API methods.BREAKING:
Konva.Collectionis removed.container.childrenis a simple array now.container.find()will returns an array instead ofKonva.Collection()instance.Konva.Collectionwas confusing for many users. Also it was slow and worked with a bit of magic. So I decided to get rif of it. Now we are going to use good old arrays.selectoris removed fromnode.getIntersection(pos)API. I don't think you even knew about it.Konva.Util.extendis removed.Konva.Stageare removed. E.g. instead ofcontentMousemovejust usemousemoveevent.New features:
layer.batchDraw(). This features is configurable withKonva.autoDrawEnabledproperty. Konva will automatically redraw layer when you change any property, remove or add nodes, do caching. So you don't need to calllayer.draw()orlayer.batchDraw()in most of the cases.layer.getNativeCanvasElement()flipEnabledproperty forKonva.Transformernode.isClientRectOnScreen()methodKonva.Util.degToRadandKonva.Util.radToDegnode.getRelativePointerPosition()Changes and fixes:
konva-nodeis merged intokonvanpm package. One package works for both environments.pointerevents support.TextPathrecalculations onfontSizechange*.d.tsfile.Konva.UA,Konva._parseUA(it was used for old browser detection)textPath.getKerning()is removedacommand parsing forKonva.PathKonva.Textwhen the pattern has an offset or rotationKonva.namesandKonva.idsare removedKonva.captureTouchEventsEnabledis renamed toKonva.capturePointerEventsEnabledv7.2.5Compare Source
letterSpacingchange ofKonva.Textv7.2.4Compare Source
mouseleavetrigger forKonva.Stagev7.2.3Compare Source
v7.2.2Compare Source
Konva.Linewith tensionshape.intersects()behavior when a node is draggedKonva.Textv7.2.1Compare Source
Konva.Labelwhen heigh of text is changedtransformstartandtransformendevents when several nodes are attached withKonva.Transformerv7.2.0Compare Source
fillAfterStrokeEnabledforKonva.Shape. See API docs for more information.Konva.Transformerwhen it may fail to draw.TextPathone more time.v7.1.9Compare Source
Konva.Transformerwhen it is on a different layerKonva.RegularPolygonsize calculations.v7.1.8Compare Source
TextPathin some cases. (again)v7.1.7Compare Source
TextPathin some cases.v7.1.6Compare Source
Konva.Stage.v7.1.5Compare Source
Konva.Transformer.v7.1.4Compare Source
dragend,dragstart,dragmovetriggers onKonva.Transformerv7.1.3Compare Source
v7.1.2Compare Source
Konva.Text.v7.1.1Compare Source
dragstartevent whenKonva.Transformeris used.dragstartevent will have correct nativeevtreferenceKonva.TextandKonva.TextPath. Emoji should work better now 👍v7.1.0Compare Source
ellipsisconfig forKonva.TextKonva.Transfomerbehavior when single attached node is programmatically rotated.v7.0.7Compare Source
dragstartevent whenKonva.Transformeris used.dragstartwill not bubble from transformer.stringandfillproperties validation can acceptCanvasGradientas valid valuev7.0.6Compare Source
v7.0.5Compare Source
node.cache()function.v7.0.4Compare Source
onUpdatecallbacks toKonva.Tweenconfiguration andnode.to()method.const shape = new Konva.Shape().v7.0.3Compare Source
dragendtrigger ondraggableproperty change insideclickletterSpacing !== 0v7.0.2Compare Source
dbltapandclickon mobilev7.0.1Compare Source
Konva.TransformerpositionsConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.