fix(deps): update dependency konva to v10 #3365
Open
+6
−6
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:
^9.2.0
->^10.0.0
Release Notes
konvajs/konva (konva)
v10.0.0
Compare Source
Breaking Changes
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.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
skia
render backend for node.js: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).charRenderFunc
forKonva.Text
for controlling "per-character-render". May be useful any character animations:Konva.Filters.Brightness
filter in replace of deprecatedKonva.Filters.Brighten
to better match with css filters logic.cornerRadius
support forKonva.RegularPolygon
miterLimit
property support forKonva.Shape
to control line join appearanceBug Fixes
Konva.Rect
when negative width or height are usedTechnical Improvements
node.toImage()
Configuration
📅 Schedule: 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.