What's Changed
New features
- Add
isWorkletfunction by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/4894 - Make animatedStyle keep reference through renders by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5333
- Expose
isWorkletin public API by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5667 - Setup custom eslint plugin by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5553
- Add closable App.js banner to docs landing page by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/5709
Fixes
- fix(android,animated-sensor): Fix HMR for Animated Sensor by @Nodonisko in https://github.com/software-mansion/react-native-reanimated/pull/5646
- Fix hidden testimonials on landing page by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/5675
- Fix warning about overwriting style with layout animation by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5644
- [Example] Fix chess pieces getting clipped on Android by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5691
- [LA Web] Add check for
HTMLElementwhen looking for descendant with animation. by @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/5749 - fix: don't use deprecated onCatalystInstanceDestroy API by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/5752
- Make
useEventreturn a different reference if event handler should be reattached by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5743 - Fix race condition when ShareableHandle is accessed on multiple threads by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5759
- Fix easing in Keyframe by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5761
Fix android layout animation z-index bug by @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5769
Improvements
- Remove rest of
findNodeHandleon web by @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/5654 - Fix missing null check for lastValue in useAnimatedStyle.ts by @maks-io in https://github.com/software-mansion/react-native-reanimated/pull/5402
- docs: add
withClampanimation modifier to docs glossary by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/5661 - Add Testimonials section to Reanimated Landing Page by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/5670
- Improve typing in mock.ts by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5372
- docs: fix too big button hitbox on landing by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/5707
- docs: various small fixes by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/5708
- Rename
isWorklettoisWorkletFunctionby @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5695 - Move Reanimated Babel Plugin dependencies to dependencies by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5716
- tests: add missing mock function by @camilossantos2809 in https://github.com/software-mansion/react-native-reanimated/pull/5755
Keyboard
- [useAnimatedKeyboard][iOS] Keyboard interpolation by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5705
- [useAnimatedKeyboard][iOS] Support for keyboard interactive dismiss mode by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5730
- [useAnimatedKeyboard][Android] Keyboard refactor by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5665
- [useAnimatedKeyboard][Android] Filter keyboard events by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5740
- [useAnimatedKeyboard][Android] Fix state after animation dismiss by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5741
- [useAnimatedKeyboard][Android] Fix navigation bar with auto hide by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5742
- [useAnimatedKeyboard][iOS] Improve curve parameters by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5750
New Contributors
- @maks-io made their first contribution in https://github.com/software-mansion/react-native-reanimated/pull/5402
- @Nodonisko made their first contribution in https://github.com/software-mansion/react-native-reanimated/pull/5646
- @camilossantos2809 made their first contribution in https://github.com/software-mansion/react-native-reanimated/pull/5755
Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/3.7.0...3.8.0