Skip to content

chore(deps): Bump konva from 10.3.2 to 10.9.0 - #98

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps konva from 10.3.2 to 10.9.0.

Release notes

Sourced from konva's releases.

10.9.0

Performance Improvements

  • batch Transformer updates, drop destroyed nodes without re-attaching survivors (Anton Lavrevov)

Commits

  • 17b5032: update CHANGELOG with new version (Anton Lavrevov)
  • d95eed6: build for 10.9.0 (Anton Lavrevov)

10.8.0

Features

  • add Transformer rotateMode with corner rotation zones (Anton Lavrevov)

Bug Fixes

Commits

  • 90f7ee2: update CHANGELOG with new version (Anton Lavrevov)
  • 8736dc1: build for 10.8.0 (Anton Lavrevov)

10.7.1

Bug Fixes

  • keep typed array line points in toObject() and toJSON() #2073 (Bao Nguyen)
  • Transformer follows size changes of an attached group's children (Anton Lavrevov)

Commits

  • 7cb8bb1: update CHANGELOG with new version (Anton Lavrevov)
  • 48a8c8d: build for 10.7.1 (Anton Lavrevov)

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

  • resolve rendering, interaction, and serialization review issues (Anton Lavrevov)
  • correct high-DPI filters, stroke bounds, and character styles (Anton Lavrevov)

... (truncated)

Changelog

Sourced from konva's changelog.

10.9.0 (2026-10-14)

  • Added Konva.beginUpdateBatch(): defers automatic Transformer updates across many synchronous node changes and runs them once when the returned function is called. A React commit or an undo that touches N selected nodes costs one update instead of N
  • setAttrs(), destroyChildren(), removeChildren() and each Konva.Animation frame (so every Tween step) batch Transformer updates on their own: one update per call or frame instead of one per attribute, child or tweened node
  • Fixed destroying attached nodes re-attaching every surviving node of the Transformer. Deleting a selection of N nodes was O(N²)

10.8.0 (2026-10-12)

  • Added Transformer.rotateMode(): 'corners' rotates from invisible zones just outside the box corners, with a cursor that follows the corner direction. 'both' keeps the rotate anchor too. Default is 'handle'
  • Added rotation snapping to 15 degree steps while Shift is pressed in Transformer. shiftBehavior('none') turns it off
  • Changed Transformer rotation to follow the angle the pointer turns around the center, so a rotate anchor grabbed off its center no longer drifts from the pointer
  • Fixed getClientRect() of shapes with a negative width or height: stroke and shadow padding made the rect smaller instead of larger, so Transformer frames and toCanvas() exports were too small and cache() refused the node. Thanks @​giaBaoJS

10.7.1 (2026-10-05)

  • Fixed Transformer attached to a Group keeping its old size when a child of the group changed size, or a child was added or removed. During a transform, a child resized after the transform event made the next step jump
  • Fixed Line points given as a typed array (for example Float32Array) being dropped by toObject() and toJSON(). Thanks @​giaBaoJS

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

... (truncated)

Commits
  • d95eed6 build for 10.9.0
  • 17b5032 update CHANGELOG with new version
  • 849c455 perf: batch Transformer updates, drop destroyed nodes without re-attaching su...
  • 8736dc1 build for 10.8.0
  • 90f7ee2 update CHANGELOG with new version
  • 8bdd512 feat: add Transformer rotateMode with corner rotation zones
  • de4fef4 Merge pull request #2075 from giaBaoJS/fix/negative-size-client-rect
  • 80d147e fix: normalize negative sizes in getClientRect() of shapes
  • 48a8c8d build for 10.7.1
  • 7cb8bb1 update CHANGELOG with new version
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 15, 2026
Bumps [konva](https://github.com/konvajs/konva) from 10.3.2 to 10.9.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.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): Bump konva from 10.3.2 to 10.7.1 chore(deps): Bump konva from 10.3.2 to 10.9.0 Oct 22, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/konva-10.7.1 branch from 3be918a to b920987 Compare October 22, 2026 09:31
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