@xyflow/system@0.0.78
PX4/PX4-Autopilot@xyflow/system@0.0.78Jun 22, 2026by moklick
AI Summary
A performance-focused patch release that optimizes node viewport calculations to reduce memory allocations and fixes type safety issues in connection state handling.
Key Highlights
- Reduced allocations in getNodesInside
- Optimized viewport testing logic
- Fixed FinalConnectionState type preservation
New Features
- Optimized node viewport detection
- Type safety improvement for connection state
Full Release Notes
### Patch Changes - [#5806](https://github.com/xyflow/xyflow/pull/5806) [`ceb8604`](https://github.com/xyflow/xyflow/commit/ceb8604047f97e6c9028fed17bb10186a7ca9e8b) - Reduce allocations in `getNodesInside` by testing nodes against the viewport without building a `Rect` per node - [#5815](https://github.com/xyflow/xyflow/pull/5815) [`87da45c`](https://github.com/xyflow/xyflow/commit/87da45cdf55aaf4549120a60165598675993783d) - Fix `FinalConnectionState` type so it preserves the discriminated union.