@xyflow/system@0.0.79
mem0ai/mem0@xyflow/system@0.0.79Jul 6, 2026by moklick
AI Summary
A performance-oriented patch release for the XYFlow system library that optimizes zooming and panning behavior, along with fixes for dark mode rendering and edge cases in node positioning.
Key Highlights
- Cached zoom pane extent to prevent synchronous layout recalculations during panning and pinching.
- Fixed incorrect fill color for the background pattern in dark mode.
- Fixed `fitView` to correctly handle hidden nodes that declare intrinsic sizes.
- Added safety checks to prevent errors when clamping node positions.
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.