Skip to content

chore(deps): Bump konva from 10.3.0 to 10.3.2 - #48

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

chore(deps): Bump konva from 10.3.0 to 10.3.2#48
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/konva-10.3.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps konva from 10.3.0 to 10.3.2.

Release notes

Sourced from konva's releases.

10.3.2

Bug Fixes

  • use JSDoc comment for Kaleidoscope filter so it appears in API docs (Anton Lavrevov)
  • listen for drag events in the stage owner window #2066 (Dmitry)
  • use the window the stage is rendered in (Anton Lavrevov)
  • do not fire pointerclick after drag and drop (Anton Lavrevov)
  • transformer anchor oscillation with keepRatio and padding (Anton Lavrevov)
  • keep the active transformer anchor when boundBoxFunc rejects a flip (Anton Lavrevov)
  • capture the pointer on the stage container in setPointerCapture (Anton Lavrevov)
  • honor fill and stroke styles set by charRenderFunc (Anton Lavrevov)

Documentation

Performance Improvements

Commits

  • 5d15a49: Fix three @​param names that do not match the signatures (darkdi) #2065
  • 0d0bf5d: Attach the on() docs to the implementation so they reach the bundle (Anton Lavrevov)
  • 829050e: update CHANGELOG with new version (Anton Lavrevov)
  • 005356e: build for 10.3.2 (Anton Lavrevov)

10.3.1

Bug Fixes

  • Path: return last point for getPointAtLength past a closed path #2053 (Yarchik)
  • Arc.getSelfRect() reports a full circle for a zero-degree clockwise arc #2054 (Alexander Kireev)
  • Shape: respect imageSmoothingEnabled for fillPatternImage #2055 (MarkXian)
  • Util: preserve alpha of the named color "transparent" #2056 (Yarchik)
  • Util: parse rgb() components written as percentages #2057 (jaybhade)
  • Util: colorToRGBA() fails to parse non-integer HSL hue #2059 (Xuepoo)
  • Line: getSelfRect wrong for multi-segment bezier and degenerate-derivative segments #2061 (Xuepoo)
  • Line: avoid NaN control points on closed tensioned lines with coincident points #2062 (rajanpanth)
  • Line: guard the zero-distance case inside getControlPoints (Anton Lavrevov)
  • Line: cover joints and near-degenerate derivatives in bezier bounds (Anton Lavrevov)
  • Path: exact getSelfRect bounds for quadratic segments (Anton Lavrevov)
  • Line: exact getSelfRect bounds for lines with a tension (Anton Lavrevov)

Code Refactoring

Performance Improvements

Continuous Integration

Commits

  • b5c7a83: Fix ValidatorFunc Type Mistake (foolishflyfox) #1998
  • ecdf162: Improve Transformer performance with many attached nodes (Anton Lavrevov)

... (truncated)

Changelog

Sourced from konva's changelog.

10.3.2 (2026-08-26)

  • Reduced canvas memory usage, most of all for non-interactive scenes. A layer with listening: false (and every layer of a non-listening stage) now releases its stage-sized hit canvas instead of keeping it allocated, and re-creates it when it starts listening again. The two stage-sized buffer canvases of every Konva.Stage are now created empty and only allocated by the first feature that needs them ("perfect drawing" and shape.intersects()). node.cache() of a non-listening node skips its cached hit canvas the same way, building it only if the node starts listening (previously such a node kept an empty cached hit graph and stayed unhittable until re-cached). Note: after turning listening back on, the hit graph appears on the next layer draw (automatic unless Konva.autoDrawEnabled is off - then call layer.draw(), as a single shape.draw() is not enough to re-create the layer hit canvas)
  • Fixed charRenderFunc of Konva.Text ignoring fillStyle/strokeStyle set on the context by the callback. A style set for a character now wins over the shape attributes for that character, as documented
  • Fixed setPointerCapture() not capturing the pointer on the stage container, so the stage kept missing pointer events outside of its bounds. A captured pointer now keeps sending pointermove/pointerup to the stage beyond its edges, like pointer capture on plain HTML elements
  • Fixed pointerclick firing after a drag and drop, while click correctly did not
  • Fixed Transformer shaking the shape when a corner anchor with keepRatio was dragged across the shape with padding enabled
  • Fixed Transformer switching its active anchor when boundBoxFunc rejects a flip. A rejected flip now keeps the grabbed anchor active, so resizing keeps following the pointer — and getActiveAnchor() inside boundBoxFunc now reports the anchor being held instead of the prematurely flipped one
  • Fixed drag and drop of a stage rendered in another window than the one Konva was imported into - an iframe, or a window opened with window.open. Such a stage now uses the pointer events of its own window, and a pointer move in another window no longer drags its nodes
  • Fixed Transformer of such a stage, which got no pointer move or release events at all
  • Fixed layer.batchDraw() of such a stage, which asked the window Konva was imported into for the frame and stopped drawing when that window was not visible
  • Fixed stage.destroy() leaving the content of such a stage in the container

10.3.1 (2026-08-14)

  • Added hsla() support and the space-separated CSS Color 4 syntax to Konva.Util.colorToRGBA()
  • Declared canvas and skia-canvas as optional peer dependencies, so the node backends resolve under strict package managers
  • Improved Transformer performance with many attached nodes
  • Improved Text performance when a long text is resized
  • Path.getSelfRect() now solves the bounds of a cubic segment exactly instead of sampling it at 100 points. Reported boxes get slightly larger and more accurate, and the calculation is about 9 times faster
  • Line.getSelfRect() now solves the bounds of a line with a tension exactly, instead of using the box around its tension control points. Reported boxes get smaller and tighter, by about 19% of their area on a typical line
  • Path.getSelfRect() now also solves the bounds of a quadratic segment (Q, q, T and t) exactly, instead of using the box around its control points. Reported boxes get smaller and tighter
  • A tween of a color that Konva can not parse now throws a clear error
  • Fixed several wrong named color values: darkgoldenrod, floralwhite, plum, slategray, slategrey, snow and yellowgreen
  • Fixed the alpha of the named color transparent, so a tween to or from it fades again
  • Fixed rgb() colors with percentage components
  • Fixed hsl() colors with a non-integer hue or extra whitespace
  • Fixed fillPatternImage ignoring imageSmoothingEnabled
  • Fixed Arc.getSelfRect() for a zero-degree clockwise arc and for any full-turn angle
  • Fixed Path.getPointAtLength() returning undefined past the end of a closed path
  • Fixed NaN bounding rect on a closed Line with a tension and coincident points
  • Fixed getSelfRect() on a Line with bezier: true, which read only the first curve segment and could report a box of zero height
  • Fixed the ValidatorFunc type used by custom Factory validators
Commits
  • 005356e build for 10.3.2
  • 829050e update CHANGELOG with new version
  • 55ac663 perf: allocate hit and buffer canvases lazily
  • b4b7e31 fix: honor fill and stroke styles set by charRenderFunc
  • 6851cac fix: capture the pointer on the stage container in setPointerCapture
  • 636b5a6 fix: keep the active transformer anchor when boundBoxFunc rejects a flip
  • 3bd8926 fix: transformer anchor oscillation with keepRatio and padding
  • c78123b fix: do not fire pointerclick after drag and drop
  • 33ad554 Merge pull request #2066 from darkdi/drag-owner-window
  • 8ddf604 fix: use the window the stage is rendered in
  • 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.0 to 10.3.2.
- [Release notes](https://github.com/konvajs/konva/releases)
- [Changelog](https://github.com/konvajs/konva/blob/master/CHANGELOG.md)
- [Commits](konvajs/konva@v10.3.0...10.3.2)

---
updated-dependencies:
- dependency-name: konva
  dependency-version: 10.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Sep 3, 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