Skip to content

v3.0.0

Choose a tag to compare

@brandtnewlabs brandtnewlabs released this 07 Jun 20:12
· 18 commits to main since this release

⚠️ Breaking

  • @shopify/react-native-skia >=2.6.0 is now required (peer dependency raised from >=2.0.0). The chart now builds paths with Skia.PathBuilder / detach(), introduced in Skia 2.6.0 — on older Skia it throws at runtime (Skia.PathBuilder is undefined). 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 reused Skia.PathBuilder finalized with detach(). Drops the two-buffer ping-pong and is forward-compatible with Skia's move to an immutable SkPath.

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