Skip to content

Releases: software-mansion/react-native-reanimated

3.5.4

21 Sep 09:38
Compare
Choose a tag to compare

Fixes accidental export of some enums as export type and also makes PlatformChecker.ts more approachable for TypeScript in user libraries (#5105).

Full Changelog: 3.5.3...3.5.4

3.5.3

20 Sep 12:50
Compare
Choose a tag to compare

Fixes improper export and export type in lib files (#5074).
Fixes Reanimated-Skia integration by exporting publicly startMapper and stopMapper (#5103).
Full Changelog: 3.5.2...3.5.3

3.5.2

15 Sep 14:52
446eb22
Compare
Choose a tag to compare

Fixing crash on Release mode with #5087 (bug introduced in #4794).

3.5.1

12 Sep 09:39
Compare
Choose a tag to compare

What's Changed

Fix for undefined _IS_FABRIC - #5065

🙌 Thank you for your contributions!

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

Full Changelog: 3.5.0...3.5.1

3.5.0

12 Sep 08:01
cee6f23
Compare
Choose a tag to compare

What's Changed

New features

Fixes

Improvements

  • Add CI to check react-native nightly build by @piaskowyk in #4843
  • Add CI to check Expo dev-client nightly build by @piaskowyk in #4818
  • [SET] Run animation only for source view by @piaskowyk in #4879
  • Lock weakNativeReanimatedModule using conditionals by @tomekzaw in #4871
  • Use pair as key in handlers map by @jfedak in #4766
  • Add nightly CI to check TS compatibility with different RN versions by @tjzel in #4908
  • Better reanimated shadow tree commit detection by @michalmaka in #4949
  • Fix useAnimatedSensor vector velocity on Android by @kowczarz in #4933
  • Use original function's name inside worklet by @tjzel in #4951
  • Adjust Web Android sensors to works the same as native iOS and Android by @wojtus7 in #4956
  • Unify error messages and add Troubleshooting section to docs by @tjzel in #4915
  • Add warning - component style is overwritten with animation style. by @Latropos in #4969
  • Fix dynamic_cast (RTTI) by adding key function to shareables by @tomekzaw in #4995
  • Fixed crash on reload on RN 0.73 by moving propsRegistry and hooks to nativeReanimatedModule by @michalmaka in #4982
  • Resolve headers name conflict with expo-dev-client by @piaskowyk in #5010
  • Fix compatibility with older rn-screens version by @piaskowyk in #5014
  • Fix crash on reload in ShareableRemoteFunction by @tomekzaw in #5015
  • Fix withDecay infinite updates issue by @MatiPl01 in #4699
  • Add fallback to setImmediate for Expo Router static rendering by @javascripter in #4665

Fabric

Typescript

  • Minor adjustments to types in useAnimatedRef and related by @tjzel in #4709
  • Unify AnimateStyle types by @tjzel in #4855
  • Hotfix: allow transform to be a string in useAnimatedStyle by @tjzel in #4881
  • Allow nullables in useAnimatedRef scrollable node getters by @tjzel in #4864
  • Remove return type from function components by @tomekzaw in #4928
  • Fix AnimatedStyle for good by @tjzel in #4923
  • Improve entry exit animation types by @Latropos in #4998

New Contributors

@m-bert @t0ms0n00 @gerzonc @schriker @kowczarz @aleqsio @Gaohaoyang @MatiPl01

🙌 Thank you for your contributions!

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

Full Changelog: 3.4.0...3.5.0

3.4.2

04 Aug 12:10
Compare
Choose a tag to compare

What's Changed

  • TypeScript fixes

Full Changelog: 3.4.1...3.4.2

3.4.1

27 Jul 09:20
Compare
Choose a tag to compare

What's Changed

  • Patch for react-navigation - #4832

Full Changelog: 3.4.0...3.4.1

3.4.0

25 Jul 12:40
a678f4c
Compare
Choose a tag to compare

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

3.3.0

13 Jun 08:50
09fafdf
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.2.0...3.3.0

3.2.0

30 May 11:56
663ee74
Compare
Choose a tag to compare

What's Changed

🙌 Thank you for your contributions!

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

Full Changelog: 3.1.0...3.2.0