What's changed
Fixes
- No more Reanimated 4.6
dependencies should only be used in web implementationwarnings: hook dependency arrays are now passed on web only, where older Reanimated versions still need them. ImageBackground(deprecated in React Native 0.87) replaced with aViewand an absolutely positionedImagein Panel2, Panel3, HueCircular and Preview.- Input widgets no longer read shared values during render (Reanimated strict-mode warning) and no longer remount their inputs on every render.
ColorPickerRef.setColoraccepts every supported color format, not only strings.- Panel2 and OpacitySlider animated styles declare the right dependencies.
- ExtraThumb worklets always call the latest
onChange/onCompletecallbacks, and negative hue transforms wrap around 360. - Web keyboard handlers use the latest callbacks.
- LuminanceCircular normalizes the gesture angle after
rotateis applied. - Preview formats its initial color from the
valueprop. - Panel2 accessibility label, and percentage spin scaling by hue.
- colorKit: decimal percentages are kept when parsing color strings; negative
spinwraps below 0; manipulation methods are covered by tests. - Deprecated
addWhitelistedNativePropscall is guarded (no-op on Reanimated 4, still needed on Reanimated 3).
Examples and docs
- ExampleLatest upgraded to React Native 0.87.1, ExampleExpoLatest to Expo SDK 57, ExampleOldArch builds with Xcode 26.
- The React Native examples run in the browser on the documentation site, and the docs are also published as markdown for LLMs.
Full Changelog: v5.1.2...v5.1.3