What's Changed
Features
- Layout Animations for the New Architecture by @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/6055
- [Web LA] Add
JumpingTransitionby @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6148 - [SET] Tab Navigator support by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5793
- [Web LA] Custom
Keyframeanimations by @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6135 - Allow worklet referencing in plugin by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5911
Fixes
- Fix crash when current activity is null by @maciekstosio in https://github.com/software-mansion/react-native-reanimated/pull/6022
- Fix missing imports for RN72 compatibility by @gronxb in https://github.com/software-mansion/react-native-reanimated/pull/6097 (PR had to be moved but credits to him)
- Fix configuring unconfigurable properties by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/6098
- Fix mistakes in example app by @maciekstosio in https://github.com/software-mansion/react-native-reanimated/pull/6099
- fix: getAnimatableRef on web by @intergalacticspacehighway in https://github.com/software-mansion/react-native-reanimated/pull/6088
- Set default keyboard state by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6101
- Fixes of dark-theme and values in docs by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6058
- Make animated component's event tag properly update by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6030
- Fix slow animation mode on Android by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6014
- docs: Add missing dark themes by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6110
- docs: fix transparent sidebar by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6117
- Fix SET in Expo Go by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6116
- Fix broken link in documentation by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6120
- docs: Fix withTiming playground Power slider visibility by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6128
- [Web LA] Fix default transitions. by @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6124
- Fix tree shaking in JSReanimated by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/6130
- Fix useFrameCallback cleanup by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6143
- Fix web exiting animation in StrictMode by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6129
- Properly stringify tiny color values by @swansontec in https://github.com/software-mansion/react-native-reanimated/pull/6153
- fix empty export on web by @EvanBacon in https://github.com/software-mansion/react-native-reanimated/pull/6171
- Fix "Not implemented" exception with macros by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/6137
- Fix FadingTransition by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6183
- [Web LA] Fix chrome flickers by @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6172
- fix side effects by @EvanBacon in https://github.com/software-mansion/react-native-reanimated/pull/6188
Improvements
- improved composed handler docs to match our standards by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6071
- docs: update compatibility table for fabric by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/6068
- docs: remove redundant
'worklet';inuseComposedEventHandlerby @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/6078 - docs(example): update readme with build step by @frankcalise in https://github.com/software-mansion/react-native-reanimated/pull/6089
- Add Slider example to Reanimated Cookbook by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6094
- docs: update Hire us to directly lead to contact form by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/6087
- Add 2048 example by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/6032
- [Web LA] Add warning about
transformby @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6064 - Adjust Playground dark theme by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6122
- docs: add contributing docs page by @maciekstosio in https://github.com/software-mansion/react-native-reanimated/pull/6061
- docs: Adjust expandable code by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6133
- Add Floating Action Button example to Reanimated Cookbook by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6079
- Update useWorkletCallback.ts by @vonovak in https://github.com/software-mansion/react-native-reanimated/pull/6140
- Remove
getJSValuein favor oftoJSValueby @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/6042 - Enable
-Wpedanticflag on Android and usestd::vectorinstead of VLA to pass arguments to_scheduleOnJSby @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/6157 - Add remark about reading SharedValue from the js thread by @j-piasecki in https://github.com/software-mansion/react-native-reanimated/pull/6160
- docs: fix 'Edit this page' link by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/6176
- docs: Edit this page button should go directly to edit page by @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/6177
- Fix lint error on main by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/6179
- Strict DOM example by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6175
- [LA] Replace Layout Transitions example by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6151
- Merge ViewDescriptors implementation by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6123
- [LA] Replace Keyframe example by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6180
Internal Changes
- Monorepo by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5992
- Monorepo - move README by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/6096
- Add missing unit tests (bezier, color converter, interpolate) by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6034
- Fix nightly build CI by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6106
- Make all links from Reanimated Cookbook relative by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6105
- Clean up docs from redundant files by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6104
- Fix and rename publish docs CI by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6108
- Fix one more path in docs publish CI by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6109
- Fix docs-check CI trigger path by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6112
- Fix
web-exampleby @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/6111 - Screen transition example update - use proper import from screens instead of mock by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6118
- Fix eslint rules and types of tests by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6103
- Fix hot-reload in web-example by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6121
- Remove unused file by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6125
- Support snapshots of many views by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6047
- Remove redundant
jestUtilsfile by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/6138 - Use vanilla
babel.config.jsin plugin's unit tests by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/6139 - Run formatter by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6142
- Fix C++ linter on CI by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/6147
- Add tests of predefined exiting by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6136
- Make
close when staletime 14 days by @szydlovsky in https://github.com/software-mansion/react-native-reanimated/pull/6152 - Add tests of "withSequence" and clean up imports by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6050
- Tests of
withDelayby @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6150 - Fix all autoFixable problems inside app/common by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6162
- Layout Transition test by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6168
- Delete duplicate
gradle-wrapper.propertiesby @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/6187 - docs: Move ExampleVideo to MDXComponents by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6145
- docs: bump
@swmansion/t-rex-uito 0.0.12 by @patrycjakalinska in https://github.com/software-mansion/react-native-reanimated/pull/6169 - Testing colors by @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/6193
New Contributors
@intergalacticspacehighway @swansontec @gronxb
Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/3.12.0...3.13.0