Skip to content

fix(deps): update dependency konva to v10#45

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/konva-10.x
Open

fix(deps): update dependency konva to v10#45
renovate[bot] wants to merge 1 commit intomainfrom
renovate/konva-10.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 5, 2025

This PR contains the following updates:

Package Change Age Confidence
konva (source) ^9.3.20^10.0.0 age confidence

Release Notes

konvajs/konva (konva)

v10.2.5

Compare Source

  • Fixed transparent text with shadow render in Safari

v10.2.4

Compare Source

  • Fixed possible event execution order

v10.2.3

Compare Source

  • More crash fixes

v10.2.1

Compare Source

  • Fix possible crash

v10.2.0

Compare Source

  • Added rotateAnchorAngle property to Transformer to control the position of the rotation anchor around the bounding box

v10.1.0

Compare Source

  • Added underline offset option and related test for Text Annotation
  • Fixed large memory usage on cache
  • Fix bounding box calculation for bezier lines
  • Fixed cached render with buffer canvas is used

v10.0.12

Compare Source

  • Better canvas farbling detection logic

v10.0.11

Compare Source

  • Fixed broken release

v10.0.10

Compare Source

  • Update hit detection system to handle canvas farbling. Hit detection should work better on Brave browser. Thanks @​wiverson to the idea and implementation idea.

v10.0.9

Compare Source

  • Fixed line-through rendering when letter spacing is used

v10.0.8

Compare Source

  • Fixed opacity level when a cached shape has opacity, fill and stroke

v10.0.7

Compare Source

  • Fixed image element size re-calculation when change is changed with transformer is used.

v10.0.6

Compare Source

  • Better Image.getClientRect() calculation if an instance has no image attached yet

v10.0.5

Compare Source

  • Simplify types to fix TS errors

v10.0.4

Compare Source

  • Remove logs

v10.0.3

Compare Source

  • Add text decoration options to TextPath: support for 'line-through' and combined styles with 'underline'

v10.0.2

Compare Source

  • Fixed internal calculations for TextPath to return correct width and height

v10.0.1

Compare Source

  • Fixed line-through render for center/right aligned text

v10.0.0

Compare Source

Breaking Changes
  • Breaking: Konva module is fully migrated from CommonJS modules to ES modules. It may break some older bundlers and CommonJS environments. In CommonJS environment you have to use default property from require:
// before
const Konva = require('konva');

// after
const Konva = require('konva').default;
  • Breaking: Dropped default support for node.js environment. Now you have to explicitly import it:
npm install canvas
import Konva from 'konva';
import 'konva/canvas-backend';

Motivation: With increased usage of konva in SSR environments like Next.js, loading native canvas rendering on the server is unnecessary since we don't render canvas content server-side. Removing this requirement simplifies setup by avoiding native modules when they aren't needed.

  • Improved text positioning to match DOM/CSS rendering. To restore previous behaviour use Konva.legacyTextRendering = true. This should NOT break major part of the apps. But if you care about pixel-perfect position of text elements, that change may effect you.
New Features
  • Added new skia render backend for node.js:
npm install skia-canvas
import Konva from 'konva';
import 'konva/skia-backend';
  • Native filters support via node.filters(['blur(10px)']). Native fitlers works MUCH faster if supported nativily (Chrome, Firefox). If there is no native support, Konva will automatially fallback to functional filter (on Safari).
node.filters(['blur(10px')]);
node.cache();
  • New property charRenderFunc for Konva.Text for controlling "per-character-render". May be useful any character animations:
var text = new Konva.Text({
  x: 10,
  y: 10,
  text: 'AB',
  fontSize: 20,
  charRenderFunc: function ({ context, index }) {
    if (index === 1) {
      // shift only the second character
      context.translate(0, 10);
    }
  },
});
  • New: Added Konva.Filters.Brightness filter in replace of deprecated Konva.Filters.Brighten to better match with css filters logic.
  • Added cornerRadius support for Konva.RegularPolygon
  • Added miterLimit property support for Konva.Shape to control line join appearance
Bug Fixes
  • Fixed corner radius render for Konva.Rect when negative width or height are used
  • Fixed TextPath rendering on right align for some fonts
  • Fixed crash when node inside transformer was destroyed
  • Fixed mouseup + click events order when clicked on empty area of stage
  • Fixed transformer drag behavior with non-draggable nodes
Technical Improvements
  • Performance: Rewrote Emboss and Solarize filters for improved performance and usability
  • Changed return type of node.toImage()
  • Brave detection and warning

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/konva-10.x branch 3 times, most recently from 13a4c41 to 82d35ba Compare September 10, 2025 20:51
@renovate renovate Bot force-pushed the renovate/konva-10.x branch from 82d35ba to fff4d14 Compare September 13, 2025 23:10
@renovate renovate Bot force-pushed the renovate/konva-10.x branch from fff4d14 to 45f5650 Compare October 6, 2025 18:01
@renovate renovate Bot force-pushed the renovate/konva-10.x branch 5 times, most recently from 750d6b9 to 0ea008e Compare October 28, 2025 12:01
@renovate renovate Bot force-pushed the renovate/konva-10.x branch 3 times, most recently from fe80eff to e6bffba Compare November 13, 2025 23:00
@renovate renovate Bot force-pushed the renovate/konva-10.x branch 3 times, most recently from b73197a to dc2360a Compare November 21, 2025 18:10
@renovate renovate Bot force-pushed the renovate/konva-10.x branch from dc2360a to e230511 Compare November 27, 2025 07:27
@renovate renovate Bot force-pushed the renovate/konva-10.x branch from e230511 to 3cffe25 Compare January 28, 2026 19:06
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 28, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/konva-10.x branch from 3cffe25 to 2a6ed04 Compare March 13, 2026 18:55
@renovate renovate Bot force-pushed the renovate/konva-10.x branch from 2a6ed04 to 504a8ce Compare March 26, 2026 17:35
@renovate renovate Bot force-pushed the renovate/konva-10.x branch from 504a8ce to e039c62 Compare April 24, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants