@xyflow/system@0.0.79
greensock/GSAP@xyflow/system@0.0.79Jul 6, 2026by moklick
AI Summary
This patch release focuses on performance optimization and bug fixes. It introduces a cache for the zoom pane extent to prevent forced synchronous layouts during panning and pinching, while also fixing several edge cases related to node positioning, view fitting, and dark mode styling.
Key Highlights
- Cache zoom pane extent to prevent forced synchronous layouts during panning and pinching
- Fix `fitView` with `includeHiddenNodes` to properly handle nodes with intrinsic sizes
- Correct dark mode background pattern fill color
- Prevent errors when clamping positions if the parent node is missing
- Ensure `onPanZoomEnd` fires correctly for scroll-wheel interactions
New Features
- Performance optimization: Caching zoom pane extent
- Bug fix: `fitView` functionality with intrinsic size nodes
- Bug fix: Dark mode styling
- Bug fix: Parent node position clamping
- UX fix: Pan/Zoom end event handling
Full Release Notes
### Patch Changes - [#5850](https://github.com/xyflow/xyflow/pull/5850) [`c707267`](https://github.com/xyflow/xyflow/commit/c707267bc80bc954fdc69a08c9e00c98068dd613) - Cache the zoom pane extent so panning and pinching no longer force a synchronous layout. - [#5839](https://github.com/xyflow/xyflow/pull/5839) [`0c0cebc`](https://github.com/xyflow/xyflow/commit/0c0cebc08cc34d2852d1ea429df638732b3edf68) - Use correct fill color for bg pattern in dark mode - [#5851](https://github.com/xyflow/xyflow/pull/5851) [`56cf3b0`](https://github.com/xyflow/xyflow/commit/56cf3b00369a680a71743e4fb277db26e861d4b0) - Fix `fitView` with `includeHiddenNodes` ignoring hidden nodes that declare an intrinsic size (`width`/`height`/`initialWidth`/`initialHeight`) but were never measured - [#5845](https://github.com/xyflow/xyflow/pull/5845) [`a01bb6b`](https://github.com/xyflow/xyflow/commit/a01bb6bf51e2de4eeee052187f3ce533c0e77754) - Check if parent node is in node lookup before clamp the position to prevent throwing an error. - [#5849](https://github.com/xyflow/xyflow/pull/5849) [`9b3f390`](https://github.com/xyflow/xyflow/commit/9b3f390e21c1801832449389b069c4e5a13b4d7f) - Always fire `onPanZoomEnd` when `onPanZoomStart` was fired due to a pan-on-scroll wheel tick - [#5837](https://github.com/xyflow/xyflow/pull/5837) [`cdfcbeb`](https://github.com/xyflow/xyflow/commit/cdfcbeb9618437b2e7c35336db157e36a5a0731e) - Check for element existence and type before checking property existence in node/edge typeguards.