What's Changed
New features
- Multithreading / Async task - @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5068 https://github.com/software-mansion/react-native-reanimated/pull/5192
- Layout Animations for web - @m-bert in https://github.com/software-mansion/react-native-reanimated/pull/4805
- Added
<LayoutAnimationConfig>- @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5045 - Support for react-native@0.73 - @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4913 https://github.com/software-mansion/react-native-reanimated/pull/5422
- Add animation - withClamp - @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5239
Fixes
- Update type exports to fix build warnings - @khevamann in https://github.com/software-mansion/react-native-reanimated/pull/5074
- fix Maximum call stack size exceeded - @efstathiosntonas in https://github.com/software-mansion/react-native-reanimated/pull/5087
- Fix Skia-Reanimated integration - @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5103
- Fix cleaning layout animation config on iOS - @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/4997
- [SET] Fix transition restart by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/4947
- Prevent top-level calls to
requestAnimationFrame- @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5136 - Fix inline styles on web - @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5164
- Fix animated UI Props on Web - @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5169
- Fix mapper getting stuck on an error in worklet - @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5190
- Fix race-condition during render - @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5224
- Fix stack trace on worklet factory crash - @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5197
- Fix inverted
FlatListby @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5295 - Fix useAnimatedKeyboard when keyboard type changes by @andreysam in https://github.com/software-mansion/react-native-reanimated/pull/5337
Improvements
- Documentation improvements - @kacperkapusciak in https://github.com/software-mansion/react-native-reanimated/pull/5063 https://github.com/software-mansion/react-native-reanimated/pull/5071 https://github.com/software-mansion/react-native-reanimated/pull/5159 https://github.com/software-mansion/react-native-reanimated/pull/5215 https://github.com/software-mansion/react-native-reanimated/pull/5299
- Use strict everywhere - @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5055
- Add e2e tests in NextExample - @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5124
- CI to detect broken URLs in source code - @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5131
- Unify
ExtrapolationandExtrapolate- @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5141 - Add
performance.nowin worklet runtimes by @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5194 - Improve spring config verification - @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5188
- Add compatibility table - @Latropos in https://github.com/software-mansion/react-native-reanimated/pull/5122
- Add shareable ArrayBuffer, typed arrays and DataView, BigInt - @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5223 https://github.com/software-mansion/react-native-reanimated/pull/5237
- Reduce web bundle size - @bartlomiejbloniarz in https://github.com/software-mansion/react-native-reanimated/pull/5203 https://github.com/software-mansion/react-native-reanimated/pull/5200
- Replaced DEBUG macro with NDEBUG - @michalmaka in https://github.com/software-mansion/react-native-reanimated/pull/5113
- Bump iOS deployment target to 10.0 - @gabrieldonadel in https://github.com/software-mansion/react-native-reanimated/pull/5263
- Run listeners when calling sv.modify - @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5306
- Avoid double serialization of
__initData- @tomekzaw in https://github.com/software-mansion/react-native-reanimated/pull/5186 - Add JSProps on Fabric by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5009
- Use install_modules_dependencies by @piaskowyk in https://github.com/software-mansion/react-native-reanimated/pull/5334
- Allow different flavors JS and App by @tjzel in https://github.com/software-mansion/react-native-reanimated/pull/5404
Typescript
- A lot of type improvements - @tjzel
New Contributors
@khevamann @xSyki @ankit-tailor @caglar09 @gabrieldonadel @td-tomasz-joniec @cwclancy @szydlovsky @joshlam @andreysam @ugurcanatas
🙌 Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/7017226041
Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/3.5.0...3.6.0