Skip to content

3.4.0

Compare
Choose a tag to compare
@piaskowyk piaskowyk released this 25 Jul 12:40
· 635 commits to main since this release
a678f4c

What's Changed

  • Shared Element Transition

    • Added support for progress based transition (⚠️ requires react-native-screens@3.23.0 +)
    • Added possibility to animating border radius
  • Plugin improvements:

    • Support for nested worklets #4332
    • Better error messaging
    • Added more unit tests
    • Refactor
  • Refactors

    • Swizzle RCTEventDispatcher in #4576
    • WorkletEventHandler refactor in #4642
    • Refactor color initialization using registerShareableMapping in #4696
    • Remove ErrorHandler in #4723
    • Refactor of isConfigured checks in #4727
    • Unify decorating RN runtime in #4773
  • Fixes

    • Bug fix on IOS check if method exists before swizzling it in #4566
    • Fix ChoreographerCallback double execution in #4579
    • Fix animations not running when Chrome Debugger is attached in #4568
    • Fix R class reference ReanimatedKeyboardEventListener in #4571
    • Fix sensors on android web in #4499
    • Fix babel plugins' location in #4561
    • Fix "withDecay clamps position to the wrong boundary" in #4591
    • Replace useRef with useSharedValue in useAnimatedReaction to preserve value between renders in #4633
    • Unregister commit hook on Android in #4658
    • Fix inline styles for Animated Components in #4671
    • Fix TypeScript issue with useAnimatedProps in #4653
    • Swizzle RCTUIManager in #4619
    • Remove location property in worklets for production builds in #4695
    • Merge initial style in #4711
    • Fix React-Fabric imports with USE_FRAMEWORKS=static in #4718
    • Detected debug version of the worklet in release bundle in #4732
    • Add missing layout props to configHelper in #4770
    • Initialize CADisplayLink on UI thread in #4694
    • Cancel animation for modals in #4776
  • Other

    • Batch update props JSI calls in #4503
    • Use commit hook to update props on Fabric in #4075
    • Memoize ReanimatedModule in sendEvent in #4525
    • Fix runOnJS on Web and make it asynchronous in #4572
    • Set default scrollEventThrottle in #4589
    • Add warnings when sensor unavailable on web in #4573
    • Allow setting ndk path/version in #4596
    • Unify platform checks in #4594
    • Remove react-native-reanimated.d.ts in #4519
    • Register for events by name in #4640
    • Unify types of all 'style' related props in AnimateProps in #4610
    • [Fabric] Remove ShadowTreeCloner::updateYogaChildren in #4664
    • Batch remove from props registry in #4678
    • Add useReducedMotion hook in #4687
    • Autoworkletize callbacks in Layout Animations in #4652
    • Add JSLogger class and duplicate SET tags in #4675
    • Add support for sharing RegExp`` in https://github.com/software-mansion/react-native-reanimated/pull/4713 Add support for Intl` in worklets in #4717
    • Add pendulum example in #4648
    • Add duration support to springify in #4710
    • CI for iOS build with USE_FRAMEWORKS=static in #4735
    • Improve transform matrix animation in #4536
    • Schedule worklets via runOnJS in #4622
    • Implement dispatchCommand on Paper in #4586

New Contributors

@samuel-rl @androideveloper @michalmaka @diego-antonelli @efstathiosntonas @jfedak @bartlomiejbloniarz @joonmanji @matt-livekindred

🙌 Thank you for your contributions!

Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/5656199880

Full Changelog: 3.3.0...3.4.0