What's Changed
Main changes
- Support for
react-native@0.74 - Add screen transition animation by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5274
- reJest - mikro-framework for Reanimated public API runtime tests by @Latropos @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5400
- Add web implementation for useScrollViewOffset by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5805
- FPSCounter component in https://github.com/software-mansion/react-native-reanimated/pull/5770
- Add "Reanimated Cookbook" section to documentation by @MajronMan in https://github.com/software-mansion/react-native-reanimated/pull/5419
Internal changes
- Migrate to TurboModule by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/5751
- fix: remove top level is_fabric check by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/5779
- Bridgeless with runtimeExecutor by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/5734
- Migrate to yarn3 by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5863
- Bump GitHub Actions to macOS 14 by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5904
- Add Checkspell CI job by @xnameTM in https://github.com/software-mansion/react-native-reanimated/pull/5888
Fxies
- Allow SETs configuration to be updated on rerender by @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5495
- Fix dynamically added/removed animated styles on iOS/Android by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5268
- feat: Support
jsi::NativeStatein Shareables by @mrousavy in https://github.com/software-mansion/react-native-reanimated/pull/5785 - Add proper listeners cleanup to native useScrollViewOffset by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5831
- Fix useScrollViewOffset taking wrong viewTag by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5790
- Fix web useScrollViewOffset on wrapped scrolls by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5861
- WorkletEventHandler revamp by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5845
- [Web LA] Fix
nullelements error by @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/5881 - Fix layout animations that use custom animations changing colours by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5903
- Fix
getRelativeCoordscomputing by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5926 - fix: copy state in reanimated commit hook by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/5934
Improvements
- Make "Reanimated" title in docs interactive. by @latekvo in https://github.com/software-mansion/react-native-reanimated/pull/5766
- Better error when passing easing from 'react-native' instead of 'reanimated' by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5639
- Include original remote function name in "Tried to synchronously call" error message by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5843
New Contributors
@vietdung97 @latekvo @frankcalise @MajronMan @alduzy
🙌 Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/8846918580
Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/3.8.1...3.9.0