Releases: software-mansion/react-native-reanimated
Releases · software-mansion/react-native-reanimated
4.0.3
What's Changed
- (cherry-pick) Fix "Cannot read property '__nativeTag' of null" (#8093) by @MatiPl01 in #8133
- (cherry-pick) fix: CSS transition crashes on complex prop animation by @MatiPl01 in #8134
- (cherry-pick) fix: Reduce Motions + animation callbacks by @MatiPl01 in #8151
- release(Reanimated): 4.0.3 by @tjzel in #8153
Full Changelog: 4.0.2...4.0.3
Worklets - 0.4.2
What's Changed
- cherry-pick(Worklets): add explicit dependency on React-hermes #8120 by @tjzel in #8129
- cherry-pick(Worklets): Fix ProMotion #8020 by @tjzel in #8128
- cherry-pick(Worklets): Fix static feature flags resolution on iOS #8130 by @tjzel in #8145
- cherry-pick(Worklets): podspec typo by @skusnierz in #8148
- release(Worklets): 0.4.2 by @tjzel in #8149
Full Changelog: worklets-0.4.1...worklets-0.4.2
4.0.2
What's Changed
- fix: CSS animations not being removed from the stylesheet on web by @MatiPl01 in #7952
- cherry-pick: withSpring overshoot clamping coordinates (#7959) by @tjzel in #7967
- Fix Gradle Configuration Cache by @MatiPl01 in #7958
- fix: Make sure that tagToJSPropNamesMapping is initialized before being used by @MatiPl01 in #7951
- fix: Keyframe LA easing not working properly on web by @MatiPl01 in #7991
- Bump minimal React Native version in assertions by @MatiPl01 in #7994
- Replace with ContextContainer::Shared with std::shared_ptr<const Cont… by @MatiPl01 in #7993
- Add synchronous props example by @MatiPl01 in #7995
- Add support for remaining synchronous props on Android by @MatiPl01 in #7992
- fix: LA Manager initialized too late on the UI runtime by @MatiPl01 in #8006
- Add support for percentage values for border radius in fast path on Android by @MatiPl01 in #7997
- Add "[Reanimated]" prefix in error messages for fast path on Android by @MatiPl01 in #7998
- fix: Make node marking as removable safer by @MatiPl01 in #8026
- Fix ProMotion by @MatiPl01 in #8027
- fix: Invalid web LA keyframe processing when from/to offset is used by @MatiPl01 in #8036
Full Changelog: 4.0.1...4.0.2
3.19.1
What's Changed
- fix: cpplint missing header include error by @MatiPl01 in #7849
- fix: Add missing check for the new architecture in 3.19 by @MatiPl01 in #7981
- fix: Failing linter checks in v3 by @MatiPl01 in #7990
- Update Java compatibility by @piaskowyk in #7996
- Bump minimal React Native version in assertions by @MatiPl01 in #8009
- fix: Keyframe LA easing not working properly on web by @MatiPl01 in #8007
- [Web LA] Adjust animation cleanup to slower devices by @MatiPl01 in #8008
- [Web LA] fix: Call callback in scheduleAnimationCleanup if not called already by @MatiPl01 in #8010
- [Web LA] Fix resetting scroll positions in exiting animations by @MatiPl01 in #8011
- chore: Bump macos-example to 0.78 by @MatiPl01 in #8016
- fix: Attempt to fix markNodeAsRemovable crashes by @MatiPl01 in #8005
- fix: Reanimated v3 compatibility checks by @MatiPl01 in #8013
- fix: Invalid web LA keyframe processing when from/to offset is used by @MatiPl01 in #8038
Full Changelog: 3.19.0...3.19.1
Worklets - 0.4.1
What's Changed
Full Changelog: worklets-0.4.0...worklets-0.4.1
4.0.1
4.0.0
Key Changes
- Released Reanimated 4.0.0 as a stable version.
- Renamed
useScrollViewOffsettouseScrollOffset, now compatible with all scrollable components. - Improved layout animations, including fixes for reparenting, sticky headers, dynamic updates, and precision issues.
- Improved web support, addressing issues with CSS animations and transitions.
- Introduced Worklet version validation and troubleshooting to ensure that the compatible version of
react-native-workletsis used with Reanimated. - Support for React Native 0.80 and 0.81.
- Removed legacy architecture code and deprecated APIs.
What's Changed
- fix: TVOS example crashing right after launch by @MatiPl01 in #7599
- docs: Add 3.18 to compatibility by @patrycjakalinska in #7605
- chore(deps): bump undici from 6.21.1 to 6.21.3 by @dependabot[bot] in #7532
- docs: Fix typo in scroll offset example by @n3ps in #7533
- fix: bump to C++20 by @okwasniewski in #7607
- fix: Crash in useScrollViewOffset if animatedRef is not initialized by @MatiPl01 in #7606
- Bump React Native to 0.80.0-rc.4 by @tomekzaw in #7614
- Remove redundant implementation of JSPropsUpdater by @piaskowyk in #7615
- Remove HostInstancePaper by @piaskowyk in #7611
- fix(Reanimated3): bump branch for nightly releases by @tjzel in #7609
- chore: Add missing CSS properties helper warnings by @MatiPl01 in #7616
- fix: useScrollViewOffset not working after delayed ref initialization by @MatiPl01 in #7612
- chore: Remove duplicate code from useAnimatedRef implementation by @MatiPl01 in #7618
- feat: Rename useScrollViewOffset to useScrollOffset and allow any scrollable by @MatiPl01 in #7597
- fix: useHandler updating on every render, even if dependencies didn't change by @MatiPl01 in #7604
- Update NativeEventsManager.ts by @ovieokeh in #7610
- docs: add Radon IDE banner to TOCItems by @kacperkapusciak in #7631
- docs: fix Radon IDE banner by @kacperkapusciak in #7634
- Correct test guide links by @brince0304 in #7635
- Use
react_native_assertinstead ofassertby @tomekzaw in #7645 - feat: remove all legacy arch code from libraries by @tjzel in #7640
- Remove integration with
react-native-v8andrnRuntimeargument fromWorkletRuntimeconstructor by @tomekzaw in #7650 - chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 by @dependabot[bot] in #7651
- Bump fabric-example to 0.80.0 by @tomekzaw in #7657
- Remove CollectionUtils.h by @tomekzaw in #7660
- chore: add rejest tests for makeShareableClone by @skusnierz in #7598
- Refactor props allowlists (replace
addWhitelistedUIPropsandaddWhitelistedNativePropswithregisterJSProps) by @tomekzaw in #7642 - Fix sticky header by @tomekzaw in #7668
- docs: Add neccessary CodeBlocks in TabItems by @patrycjakalinska in #7626
- Don't run exiting animations on modal removal by @bartlomiejbloniarz in #7667
- feat: Add CellRendererComponentStyle to Animated.FlatList by @gunnsteinnskula in #6573
- fix: Not working window size dependent layout animations by @MatiPl01 in #7681
- fix: Prevent uninitialized ScrollView warning from showing up on unmount by @MatiPl01 in #7671
- Remove unused
enableLayoutAnimationsby @piaskowyk in #7685 - chore: Separate reanimated logger from worklets logger by @MatiPl01 in #7648
- chore: Unit tests cleanup by @skusnierz in #7683
- chore: update circular dependency check by @skusnierz in #7687
- [Web] Do not call
getBoundingClientRecton every update by @m-bert in #7678 - fix: Quick fix for getSnapshotBeforeUpdate error by @MatiPl01 in #7693
- chore: remove
useWorkletCallbackhook by @tjzel in #7698 - chore: Remove JS props updating via C++ by @MatiPl01 in #7684
- feat: Bump eslint to v9 by @skusnierz in #7570
- feat: Eslint rules to ensure logger usage instead of console by @MatiPl01 in #7691
- chore: cleanup after eslint bump by @tjzel in #7715
- docs: update aRef typing description to animatedRef in getRelativeCoords page by @fe-dudu in #7725
- Remove warnings in
addWhitelistedUIPropsandaddWhitelistedNativePropsand mark as deprecated by @tomekzaw in #7682 - chore: Export reanimatedVersion variable instead of isReanimated3 by @MatiPl01 in #7724
- chore: Optimize css keyframes registration in the keyframes registry by @MatiPl01 in #7733
- chore: Migrate from ts-prune to knip by @MatiPl01 in #7721
- chore: Change updateKeyframes to work with folly::dynamic instead of jsi::Value by @MatiPl01 in #7734
- chore: move publicGlobals by @tjzel in #7735
- fix: add missing handling of
box-shadowprop by @skusnierz in #7747 - fix: add missing dependency, update yarn.lock file for docs by @skusnierz in #7753
- fix: add missing dependencies to worklet docs by @skusnierz in #7756
- chore: Prepare routes to add svg prop animations examples by @MatiPl01 in #7752
- fix: remove unnecessary process
box-shadowcall by @skusnierz in #7748 - Prevent the frame loop from starting multiple times by @piaskowyk in #7766
- Add feature flags by @piaskowyk in #7697
- Fix reparenting by @bartlomiejbloniarz in #7732
- Fix zombie view when parent is moved by @bartlomiejbloniarz in #7768
- Remove
combineTransitionby @piaskowyk in #7771 - feat(Reanimated): add troubleshooting when Worklets are not installed by @tjzel in #7744
- chore(Reanimated): accept all pre-release versions of Worklets by @tjzel in #7774
- Rename
JSPropsExampletoCircularSliderExampleby @tomekzaw in #7769 - Set compile options using
target_compile_reactnative_optionsfromreact-native-flags.cmakeby @tomekzaw in #7776 - Update react-native-is-edge-to-edge to 1.2.1 by @zoontek in #7729
- fix(Reanimated): Worklets version validation scripts failing in runtime by @tjzel in https...
Worklets - 0.4.0
What's changed
- feat(Worklets): new ShareableImport type #7512
- feat(Worklets): inject WorkletsModuleProxy in worklet runtimes #7486
- feat(Worklets): generated worklets #7513
- refactor(Worklets)(makeShareableClone): add makeShareableTurbomoduleLike #7567
- feat(Worklets): add Worklet Runtime bundle entry #7562
- feat(Worklets): resolve global local variable names conflicts #7577
- feat(Worklets): workletizable modules #7584
- feat(Worklets): production experimental bundling #7590
- feat(Worklets): add systrace section for profiling #7661
- feat(Worklets): add invokeSync in JSScheduler #7663
- chore(Worklets): detect runtime initialization failures with experimental bundling #7638
- feat(Worklets): improve errors in Worklets Babel Plugin #7699
- refactor(Worklets): define JS initialization pipeline #7652
- feat(Worklets): rename experimental bundling to Bundle Mode #7690
- feat(Worklets): support for cloning Set and Map #7219
- feat: react-native-worklets docs #7717
- feat(Worklets): RuntimeManager #7739
- feat(Worklets): docs for Bundle Mode #7790
- Worklets feature flags #7799
- iOS ProMotion stutters #7624
- feat(Worklets): runLoop polyfills #7765
- feat(Worklets): Add cpp validation of worklets version #7820
- feat(Worklets): Add troubleshooting section in docs #7814
- fix(Worklets): default imports in Bundle Mode #7836
- feat(Worklets): add fast refresh in bundle mode #7688
- feat(Worklets): gracefully handle imports from 'react-native' on Worklet Runtimes #7719
- chore(Worklets): update README and getting started docs #7856
3.19.0
What's Changed
- (cherry-pick) fix: bump to C++20 by @MatiPl01 in #7700
- chore: Remove CI state badges from readme by @MatiPl01 in #7703
- (cherry-pick) fix: Crash in useScrollViewOffset if animatedRef is not initialized by @MatiPl01 in #7701
- (cherry-pick) fix: useScrollViewOffset not working after delayed ref initialization by @MatiPl01 in #7704
- (cherry-pick) chore: Remove duplicate code from useAnimatedRef implementation by @MatiPl01 in #7705
- (cherry-pick) Update NativeEventsManager.ts by @MatiPl01 in #7707
- (cherry-pick) fix: useHandler updating on every render, even if dependencies didn't change by @MatiPl01 in #7706
- (cherry-pick) [Web] Do not call getBoundingClientRect on every update by @MatiPl01 in #7712
- fix: Not working window size dependent layout animations by @MatiPl01 in #7710
- (cherry pick) Fix sticky header by @MatiPl01 in #7708
- (cherry-pick) Don't run exiting animations on modal removal by @MatiPl01 in #7709
- fix: Prevent uninitialized ScrollView warning from showing up on unmount by @MatiPl01 in #7711
- (cherry-pick) feat: Add CellRendererComponentStyle to Animated.FlatList by @MatiPl01 in #7713
- [3.18] Fix layout animations on Android by @piaskowyk in #7757
- (cherry-pick) Fix reparenting by @MatiPl01 in #7792
- (cherry-pick) Fix zombie view when parent is moved by @MatiPl01 in #7793
- (cherry-pick) Fix dynamic updates of layout animations by @MatiPl01 in #7813
- (cherry-pick) [Fabric LA] Mark deleted nodes as DELETED by @MatiPl01 in #7819
- (cherry-pick) [Fabric LA] Add progress batching by @MatiPl01 in #7817
- (cherry-pick) fix: Accordion example crashing on web by @MatiPl01 in #7833
- cherry-pick: Add support for RN 0.81 in packages (without example apps) by @MatiPl01 in #7834
- fix: Remaining issue fixes by @MatiPl01 in #7839
- (cherry-pick) fix: precision errors in color interpolation keeping the animation to run forever by @MatiPl01 in #7846
- release: Reanimated 3.19.0 by @MatiPl01 in #7837
Full Changelog: 3.18.0...3.19.0
3.18.0
Key changes compared to 3.17.5
- Support for React Native 0.80-rc.3
- Fix for Jest Snapshots
- Fix Native Proxy leak
What's Changed
- cherry-pick: Add missing optional chaining operator in current react owner check by @MatiPl01 in #7550
- cherry-pick: Export some internal layout animations types (#7546) by @MatiPl01 in #7549
- (cherry-pick) fix: cleanup sensors in invalidate and make nativeProxy not leak (#7515) by @patrycjakalinska in #7552
- (cherry-pick) fix: Move check of last state inside loop (#7506) by @patrycjakalinska in #7551
- (cherry-pick) fix: lack of hidden hermes flags (#7398) by @tjzel in #7557
- chore(Reanimated3): cherry-pick #7428 by @tjzel in #7558
- chore(Reanimated3): cherry-pick #7372 by @tjzel in #7559
- [v3] Add support for React Native 0.80 by @tomekzaw in #7555
- (v3) fix: TVOS example crashing right after launch by @patrycjakalinska in #7600
- Release 3.18.0 by @patrycjakalinska in #7595
Full Changelog: 3.17.5...3.18.0