v3.0.0
⚠️ Breaking
@shopify/react-native-skia>=2.6.0is now required (peer dependency raised from>=2.0.0). The chart now builds paths withSkia.PathBuilder/detach(), introduced in Skia 2.6.0 — on older Skia it throws at runtime (Skia.PathBuilderisundefined). Upgrade Skia to 2.6.0+ before upgrading this package. No public API of this library changed.
Changed
- All per-frame path building — line, fill, candles, badge, Y/X axes & grid, value lines, reference lines/bands, markers, and the loading squiggle — migrated from the pooled mutable-
SkPath+ ping-pong pattern to a reusedSkia.PathBuilderfinalized withdetach(). Drops the two-buffer ping-pong and is forward-compatible with Skia's move to an immutableSkPath.
Performance
- The migration is performance-neutral: on-device profiling (iPhone 17 Pro / iOS 26.4, 3-series scene) measured equivalent frame rate (60fps), CPU, and flat memory versus the previous pooled-path approach.
📦 npm i react-native-livechart@3.0.0