What's Changed
Features
- Add
useComposedEventHandlerhook by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5890 - [Web LA] Remove
existingTransformby @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6060
Fixes
- [Android][Keyboard] More consistent inequality check to compute keyboard state by @antFrancon in https://github.com/software-mansion/react-native-reanimated/pull/5874
- fix typo on object key for
targetValuesin custom-animations.mdx by @JDMathew in https://github.com/software-mansion/react-native-reanimated/pull/5994 - Make animated components use different tags for events by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/5960
- Prevent crash on non-existent view updates in Android by @thomas-rx in https://github.com/software-mansion/react-native-reanimated/pull/5767
- Fix location after shared element transition by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6010
- fix: use proper classes for bridgeless by @WoLewicki in https://github.com/software-mansion/react-native-reanimated/pull/5997
- Align handling colors with RN by @maciekstosio in https://github.com/software-mansion/react-native-reanimated/pull/5825
- Make animation RollInLeft work with modifers by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6039
- docs: fix useAnimatedKeyboard page crash by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6056
Improvements
- Give more meaningful warning when modifying a Shareable by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5548
- Update useAnimatedKeyboard docs by @maciekstosio in https://github.com/software-mansion/react-native-reanimated/pull/5866
- Change the docs to mention, that
.springify()works with.duration()by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5990 - Remove
CellRendererComponentfrom Animated.FlatList props by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5951
Internal Changes
- Add
warningandfailingtest decorators by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5929 - Remove outdated code for unsupported React Native versions by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5979
- Remove REAInitializer by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5681
- Make
useScrollviewOffsetref nullable and simplify its code by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6009 - docs: add @swmansion/t-rex-ui by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6015
- Add more tests - useSharedValue, useAnimatedStyle , useDerivedValue by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5981
- Test predefined entering animation by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5995
- Tests: cancelAnimation, useFrameCallback, measure, withDecay by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6016
New Contributors
@antFrancon, @JDMathew, @thomas-rx, @exploIF
🙌 Thank you for your contributions!
Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/3.11.0...3.12.0
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/9287839734