Repository navigation
chore(deps): update dependency react-konva to v19.3.2 - #48
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
19.2.5→19.3.2Release Notes
konvajs/react-konva (react-konva)
v19.3.2Compare Source
Builds now clear previous output before compilation. This prevents stale,
unused files from entering the package after a compiler configuration change.
v19.3.1Compare Source
With Konva 10.9+, react-konva batches automatic Transformer updates across each
canvas commit. Updating many selected nodes triggers one Transformer refresh
after the mutations. Layout effects see the final anchor positions.
This works automatically. Upgrade Konva to enable it:
Older supported Konva versions keep their existing behavior and do not require
the new batching API. React and React DOM still require matching 19.3+ versions
within React 19.
Updates the context bridge and renderer types, with the same React 19.3.0 minimum.
Attribute-change listeners run during mutation. They can read the changed
attributes and Transformer bounds synchronously. To read final anchor positions,
use a layout effect or call
transformer.update()explicitly in the listener.Validation
The suite covers 203 correctness tests per build and 41 performance checks,
including resizing 600 selected shapes. Regression tests cover individual
selections, selected Groups, layout reads, and a missing batching API.
Package checks cover server rendering, both module formats, consumer types,
package exports, and React DevTools.
v19.3.0Upgrade requirements
Upgrade React and React DOM to matching 19.3 versions before you install this release.
The minimum React and React DOM version is now 19.3.0.
For React 19.2 projects, pin
react-konvato~19.2.7.The range
^19.2.7also allows 19.3.0, which requires the React upgrade.For React 18 projects, use the React Konva 18 release line.
Fixes and improvements
useActionStatecrash insideStagewith React 19.3. This resolves #859 through #860.react-reconcilerto 0.34.0 andschedulerto 0.28.0 for React 19.3.useFormStatus, including the submitted data and action.useIdvalues remain stable on updates and distinct across DOM and Stage roots.Renderer boundaries
Error boundaries inside
Stagehandle canvas errors and display Konva fallbacks.DOM error boundaries around
Stagedo not catch errors from canvas children.Uncaught canvas errors appear in the console with the original error and component stack, including errors during cleanup.
Canvas Suspense boundaries display Konva fallbacks.
Canvas suspension does not activate a surrounding DOM Suspense boundary.
A promise read before Stage renders can activate that DOM fallback.
A DOM
ViewTransitioncan animate the Stage container.A
ViewTransitioninside Stage with Konva nodes or a ref throws a clear error.Fragment children remain supported, but Fragment refs stay
nulland provide no DOM methods.The React compatibility matrix lists the supported hooks, features, fallbacks, and remaining limits.
Native input synchronization and the fallback for older Konva versions continue from 19.2.7.
Validation
CI passes with Chromium, Firefox, and WebKit in development and production.
The minimum React and React DOM 19.3.0 job also passes.
The suite covers 196 correctness tests per build and 38 performance checks.
Package checks cover both module formats, server rendering, package exports, consumer types, and the DevTools protocol.
v19.2.6Compare Source
Documentation
Commits
6aedc4b: 19.2.6 (Anton Lavrevov)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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.