Skip to content

chore(deps): Bump konva from 10.3.2 to 10.7.0 - #94

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/konva-10.7.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/konva-10.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps konva from 10.3.2 to 10.7.0.

Release notes

Sourced from konva's releases.

10.7.0

Features

  • add Group.isolated() and shape-sized perfect-draw buffers (Anton Lavrevov)
  • add Shape.selfRectFunc() for custom shape bounds (Anton Lavrevov)

Bug Fixes

Styles

Builds

Commits

  • 3617366: update CHANGELOG with new version (Anton Lavrevov)
  • ca62a92: build for 10.7.0 (Anton Lavrevov)

10.6.0

Bug Fixes

... (truncated)

Changelog

Sourced from konva's changelog.

10.7.0 (2026-09-23)

  • Added Group.isolated(). An isolated group draws its children into a transparent canvas, then applies its opacity and globalCompositeOperation once to the result, like SVG <g opacity>. Child blend modes and erasing stay inside the group. Unlike cache(), the content stays live
  • Added Shape.selfRectFunc() for custom shapes: returns the local area its sceneFunc paints, so bounds, cache(), isolated groups and perfect drawing include paint outside width and height
  • Improved performance and memory of translucent shapes with fill and stroke ("perfect drawing"): built-in shapes use a buffer the size of the shape instead of the whole stage, and the buffer is freed when no longer used. Glyphs with many stacked marks can be clipped in this mode
  • Fixed a crash when a translucent shape with fill and stroke is drawn on a stage without size
  • Fixed translucent shapes with fill and stroke rendered at the wrong resolution when a layer pixel ratio differs from Konva.pixelRatio
  • Fixed getClientRect() of Arc, Ring and Star when the inner radius is larger than the outer radius or a radius is negative
  • Fixed TextPath with strokeScaleEnabled(false) drawing its stroke near the canvas origin. Like Text, it now always scales its stroke
  • Fixed Tag bounds when its pointer is wider than its side
  • Fixed a layer staying clipped in every later draw after a sceneFunc threw
  • Removed Stage.bufferCanvas and the third bufferCanvas argument of drawScene()

10.6.0 (2026-09-19)

  • Improved Path arc performance: bounds of an arc segment are computed exactly instead of sampled every degree, and a point on a circular arc is found with a closed form instead of walking the arc
  • Improved Text.getClientRect() and getSelfRect() of underlined text, which no longer measure the font on every call
  • Fixed blurRadius, pixelSize and CSS filter lengths (for example blur(8px)) being applied in cache pixels instead of node coordinates, so a filtered node looked less blurred at a higher cache pixelRatio. Note: custom filter functions now receive (imageData, pixelRatio); use the ratio to convert node lengths to pixels
  • Fixed a drag started from a pointerdown handler (startDrag(e), for example react-konva onPointerDown) never moving or ending and leaving the node stuck as dragging
  • Fixed stopDrag() ending every active drag instead of only the drags of its own gesture, so a node dragged by another finger stopped too. Note: stopDrag() on a node that is not dragging is now a no-op
  • Fixed a touchstart on empty stage area reporting the pointerId of the oldest active touch instead of the finger that just touched down
  • Fixed gotpointercapture and lostpointercapture always reporting pointerId 0 instead of the captured pointer
  • Fixed Transformer resetting a manually set rotation() back to zero on the next update() when useSingleNodeRotation is off
  • Fixed Transformer rotating by the wrong amount when rotateAnchorAngle is used with Konva.angleDeg = false
  • Fixed node.remove() leaving a stale absolute transform when a listener or a Transformer read the node's position during removal
  • Fixed toObject(), toJSON() and clone() dropping an explicit width, height or dragDistance that happened to equal the computed value, so a restored Text re-flowed. Note: such attributes are now present in the serialized output
  • Fixed Konva.Text and toImage()/toBlob() mutating the configuration object passed by the caller, which broke frozen and reused configurations
  • Fixed mutating the array returned by an unset points(), enabledAnchors() or rotationSnaps() corrupting every other node that used the same default. Note: an unset array attribute now returns a new array on each read
  • Fixed compound change events such as scaleChange, offsetChange and skewChange reporting oldVal as undefined
  • Fixed cache() and toCanvas()/toDataURL()/toImage() cropping the last pixel row and column of content at a fractional position. Note: an automatically sized cache or export can now be one pixel larger, and a cache whose origin is past the content is skipped instead of built with a negative size
  • Fixed layer.remove() and layer.destroy() leaving the layer canvases in the stage content when the stage container is not in the document, and never removing a hit canvas shown with toggleHitCanvas()
  • Fixed out-of-range CSS color components, such as rgba(0, 0, 0, 2) or rgb(120%, 0, 0), distorting shadow opacity and color tweens
  • Fixed the types of position(), absolutePosition(), size() and Stage.container() accepting null and undefined, which throw at runtime. Note: node.absolutePosition(stage.getPointerPosition()) no longer compiles, because the pointer position can be null
  • Fixed Text reporting a width smaller than it paints with letterSpacing, align: 'justify' or charRenderFunc, because measurement used kerning while drawing does not
  • Fixed Text bounds ignoring the underline, so cache(), getClientRect() and toDataURL() clipped it. Note: bounds of underlined text are now taller than height()
  • Fixed Text with direction: 'ltr' inheriting the direction of an RTL canvas, because only 'rtl' was applied
  • Fixed Text underline and line-through ignoring fillPriority, radial gradients and patterns instead of using the fill the text is drawn with
  • Fixed TextPath kerningFunc moving glyphs off curved and vertical paths, and not being counted in the text width
  • Fixed TextPath dropping its last character with align: 'right' and a positive letterSpacing, and adding a phantom trailing spacing to its bounds
  • Fixed a close command (z) in Path data not travelling back to the start of the subpath. Note: getLength() of a closed path now includes the closing edge, as in SVG, and a relative command after z starts from the subpath start
  • Fixed Path.getSelfRect() of an arc segment missing its end point, which reported an empty rect for a sub-degree arc
  • Fixed Path.getPointAtLength() on a non-circular arc interpolating the angle instead of the distance, which bunched TextPath glyphs on ovals and made path animations change speed
  • Fixed a negative arc radius in Path data throwing during a draw and aborting the layer. Note: an arc is now drawn with a single ellipse() call
  • Fixed the length of a quadratic curve whose control point lies on the chord, which returned Infinity and made TextPath text disappear
  • Fixed Arrow pointing its head horizontally when the line has repeated endpoints, for example a polyline finished by a double click
  • Fixed Konva.Image created from a fresh new Image() never redrawing when its src is assigned afterwards
  • Fixed Konva.Image.fromURL() calling its callback again, and creating a duplicate node, when the src of the loaded image is changed later
  • Fixed Label stacking a new set of listeners on a child every time it is re-added, which multiplied its internal work and kept a removed child calling a destroyed Label
  • Fixed Konva.Filters.Pixelate darkening blocks that mix opaque and transparent pixels, such as the edges of circles, text and images with alpha
  • Fixed Tween restarting its animation when pause() or destroy() is called from onUpdate, and throwing from finish()/reset() after such a destroy()

... (truncated)

Commits
  • ca62a92 build for 10.7.0
  • 3617366 update CHANGELOG with new version
  • 589d96f style: apply prettier
  • 7118db5 feat: add Shape.selfRectFunc() for custom shape bounds
  • cf52405 fix: isolation surfaces inherit imageSmoothingQuality
  • c8bc191 build: remove the size-limit check
  • 8a98947 feat: add Group.isolated() and shape-sized perfect-draw buffers
  • 8934205 test: compare path point lists with a tolerance instead of exact floats
  • 5f2dcf7 build for 10.6.0
  • e759195 update CHANGELOG with new version
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [konva](https://github.com/konvajs/konva) from 10.3.2 to 10.7.0.
- [Release notes](https://github.com/konvajs/konva/releases)
- [Changelog](https://github.com/konvajs/konva/blob/master/CHANGELOG.md)
- [Commits](konvajs/konva@10.3.2...10.7.0)

---
updated-dependencies:
- dependency-name: konva
  dependency-version: 10.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants