Releases: software-mansion/react-native-reanimated
3.13.0-rc.0
First monorepo release for testing and compatibility purposes.
Full Changelog: 3.12.0...3.13.0-rc.0
3.12.0
What's Changed
Features
- Add
useComposedEventHandler
hook by @szydlovsky in #5890 - [Web LA] Remove
existingTransform
by @m-bert in #6060
Fixes
- [Android][Keyboard] More consistent inequality check to compute keyboard state by @antFrancon in #5874
- fix typo on object key for
targetValues
in custom-animations.mdx by @JDMathew in #5994 - Make animated components use different tags for events by @szydlovsky in #5960
- Prevent crash on non-existent view updates in Android by @thomas-rx in #5767
- Fix location after shared element transition by @piaskowyk in #6010
- fix: use proper classes for bridgeless by @WoLewicki in #5997
- Align handling colors with RN by @maciekstosio in #5825
- Make animation RollInLeft work with modifers by @Latropos in #6039
- docs: fix useAnimatedKeyboard page crash by @patrycjakalinska in #6056
Improvements
- Give more meaningful warning when modifying a Shareable by @tjzel in #5548
- Update useAnimatedKeyboard docs by @maciekstosio in #5866
- Change the docs to mention, that
.springify()
works with.duration()
by @Latropos in #5990 - Remove
CellRendererComponent
from Animated.FlatList props by @Latropos in #5951
Internal Changes
- Add
warning
andfailing
test decorators by @Latropos in #5929 - Remove outdated code for unsupported React Native versions by @tomekzaw in #5979
- Remove REAInitializer by @tomekzaw in #5681
- Make
useScrollviewOffset
ref nullable and simplify its code by @szydlovsky in #6009 - docs: add @swmansion/t-rex-ui by @patrycjakalinska in #6015
- Add more tests - useSharedValue, useAnimatedStyle , useDerivedValue by @Latropos in #5981
- Test predefined entering animation by @Latropos in #5995
- Tests: cancelAnimation, useFrameCallback, measure, withDecay by @Latropos in #6016
New Contributors
@antFrancon, @JDMathew, @thomas-rx, @exploIF
🙌 Thank you for your contributions!
Full Changelog: 3.11.0...3.12.0
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/9287839734
3.10.1
3.11.0
What's Changed
- Fix EXC_BAD_ACCESS crash on iOS in
[REAAnimationsManager clearSharedTransitionConfigForTag:]
by @tomekzaw in #5975 - Fix uncaught exception 'NSUnknownKeyException' on app reload on iOS by @tomekzaw in #5976
- Test two ways to use sharedValue in
useAnimatedStyle
by @Latropos in #5893 - docs: fix grammar by @wodin in #5978
- fix: build issues on visionOS by @okwasniewski in #5980
Full Changelog: 3.10.0...3.11.0
3.10.0
What's Changed
- Prevent iOS bridgeless initialization from getting the wrong bridge by @gabrieldonadel in #5953
- Fix crashes when reloading app quickly on Android by @lukmccall in #5958
- Use
[RCTUIManager viewForReactTag:]
instead ofviewRegistry
to avoid infinite loop in[RCTComponentViewRegistry objectForKey:]
by @tomekzaw in #5957 - Crash while using useAnimatedKeyboard in flat list by @maciekstosio in #5918
- Fix calculating keyboard height by @maciekstosio in #5851
New Contributors
@devjs100 @maciekstosio
🙌 Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/8907195489
Full Changelog: 3.9.0...3.10.0
3.9.0
What's Changed
Main changes
- Support for
react-native@0.74
- Add screen transition animation by @piaskowyk in #5274
- reJest - mikro-framework for Reanimated public API runtime tests by @Latropos @piaskowyk in #5400
- Add web implementation for useScrollViewOffset by @szydlovsky in #5805
- FPSCounter component in #5770
- Add "Reanimated Cookbook" section to documentation by @MajronMan in #5419
Internal changes
- Migrate to TurboModule by @WoLewicki in #5751
- fix: remove top level is_fabric check by @WoLewicki in #5779
- Bridgeless with runtimeExecutor by @WoLewicki in #5734
- Migrate to yarn3 by @tjzel in #5863
- Bump GitHub Actions to macOS 14 by @tomekzaw in #5904
- Add Checkspell CI job by @xnameTM in #5888
Fxies
- Allow SETs configuration to be updated on rerender by @bartlomiejbloniarz in #5495
- Fix dynamically added/removed animated styles on iOS/Android by @tjzel in #5268
- feat: Support
jsi::NativeState
in Shareables by @mrousavy in #5785 - Add proper listeners cleanup to native useScrollViewOffset by @szydlovsky in #5831
- Fix useScrollViewOffset taking wrong viewTag by @tjzel in #5790
- Fix web useScrollViewOffset on wrapped scrolls by @szydlovsky in #5861
- WorkletEventHandler revamp by @szydlovsky in #5845
- [Web LA] Fix
null
elements error by @m-bert in #5881 - Fix layout animations that use custom animations changing colours by @szydlovsky in #5903
- Fix
getRelativeCoords
computing by @szydlovsky in #5926 - fix: copy state in reanimated commit hook by @WoLewicki in #5934
Improvements
- Make "Reanimated" title in docs interactive. by @latekvo in #5766
- Better error when passing easing from 'react-native' instead of 'reanimated' by @Latropos in #5639
- Include original remote function name in "Tried to synchronously call" error message by @tomekzaw in #5843
New Contributors
@vietdung97 @latekvo @frankcalise @MajronMan @alduzy
🙌 Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/8846918580
Full Changelog: 3.8.1...3.9.0
3.9.0-rc.1
Support for React Native 0.74.0-rc.9
Full Changelog: 3.9.0-rc.0...3.9.0-rc.1
3.9.0-rc.0
What's Changed
- Add 3.8.0 to compatibility table by @tjzel in #5772
- feat: migrate to turbomodule by @WoLewicki in #5751
- fix: remove top level is_fabric check by @WoLewicki in #5779
- reJest - mikro-framework for Reanimated public API runtime tests by @Latropos in #5400
- Add macos platform to issue template by @jfedak in #5786
- Check value callback whether it is valid or not by @vietdung97 in #5784
- Add
jestUtils
to mocks by @tjzel in #5791 - Allow SETs configuration to be updated on rerender by @bartlomiejbloniarz in #5495
- Bump follow-redirects from 1.15.4 to 1.15.6 in /docs by @dependabot in #5798
- Bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #5797
- Bump follow-redirects from 1.15.4 to 1.15.6 in /WebExample by @dependabot in #5796
- Bump follow-redirects from 1.15.4 to 1.15.6 in /NextExample by @dependabot in #5799
- Make "Reanimated" title in docs interactive. by @latekvo in #5766
- Fix example in our example app by @Latropos in #5783
- Fix ocassional text interactivity issues. by @latekvo in #5803
- Fix dynamically added/removed animated styles on iOS/Android by @tjzel in #5268
- feat: Support
jsi::NativeState
in Shareables by @mrousavy in #5785 - Add web implementation for useScrollViewOffset by @szydlovsky in #5805
- Replace
systemUptime
calls withCACurrentMediaTime()
to comply with Apple privacy requirements by @tomekzaw in #5819 - Better error when passing easing from 'react-native' instead of 'reanimated' by @Latropos in #5639
- Add information about type of
toValue
to our documentation by @Latropos in #5806 - Add screen transition animation by @piaskowyk in #5274
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docs by @dependabot in #5827
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /WebExample by @dependabot in #5828
- Add proper listeners cleanup to native useScrollViewOffset by @szydlovsky in #5831
- Update useScrollViewOffset docs by @szydlovsky in #5824
- Fix default Sensor interval causing a security exception by @latekvo in #5812
- Screen Transition update public API by @piaskowyk in #5833
- Add documentation that event handlers cannot be used with more than one component. by @Latropos in #5809
- docs: hide AnimationToValue component from sidebar by @kacperkapusciak in #5835
- Make /app good for for 0.74 by @tjzel in #5830
- Don't call hooks conditionally in
useScrollViewOffset
by @tjzel in #5839 - Add support for React Native 0.74 by @tjzel in #5815
- Bump examples to 0.74 by @tjzel in #5834
- Bump express from 4.18.2 to 4.19.2 in /docs by @dependabot in #5841
- Bump express from 4.18.2 to 4.19.2 in /WebExample by @dependabot in #5842
- Add support for cloning
Error
by @tomekzaw in #5844 - Bump Gesture Handler version in documentation by @m-bert in #5849
- FPSCounter by @piaskowyk in #5770
- Include original remote function name in "Tried to synchronously call" error message by @tomekzaw in #5843
- Fix layout animations example in landing page by @m-bert in #5848
- Implement
not
for runtime tests by @Latropos in #5813 - Increase screen transition velocity by @piaskowyk in #5847
- Include factory in easing warning by @Latropos in #5859
- Fix useScrollViewOffset taking wrong viewTag by @tjzel in #5790
- Fix web useScrollViewOffset on wrapped scrolls by @szydlovsky in #5861
- docs(README-Fabric): updated next tag to nightly by @frankcalise in #5865
- feat: Bridgeless with runtimeExecutor by @WoLewicki in #5734
- Use one constructor for NativeReanimatedModule with bridgeless by @tjzel in #5868
New Contributors
- @vietdung97 made their first contribution in #5784
- @latekvo made their first contribution in #5766
- @frankcalise made their first contribution in #5865
Full Changelog: 3.8.1...3.9.0-rc.0
3.8.1
3.8.0
What's Changed
New features
- Add
isWorklet
function by @tomekzaw in #4894 - Make animatedStyle keep reference through renders by @Latropos in #5333
- Expose
isWorklet
in public API by @tjzel in #5667 - Setup custom eslint plugin by @Latropos in #5553
- Add closable App.js banner to docs landing page by @patrycjakalinska in #5709
Fixes
- fix(android,animated-sensor): Fix HMR for Animated Sensor by @Nodonisko in #5646
- Fix hidden testimonials on landing page by @patrycjakalinska in #5675
- Fix warning about overwriting style with layout animation by @Latropos in #5644
- [Example] Fix chess pieces getting clipped on Android by @tjzel in #5691
- [LA Web] Add check for
HTMLElement
when looking for descendant with animation. by @m-bert in #5749 - fix: don't use deprecated onCatalystInstanceDestroy API by @WoLewicki in #5752
- Make
useEvent
return a different reference if event handler should be reattached by @tjzel in #5743 - Fix race condition when ShareableHandle is accessed on multiple threads by @tjzel in #5759
- Fix easing in Keyframe by @Latropos in #5761
Fix android layout animation z-index bug by @bartlomiejbloniarz in #5769
Improvements
- Remove rest of
findNodeHandle
on web by @m-bert in #5654 - Fix missing null check for lastValue in useAnimatedStyle.ts by @maks-io in #5402
- docs: add
withClamp
animation modifier to docs glossary by @kacperkapusciak in #5661 - Add Testimonials section to Reanimated Landing Page by @patrycjakalinska in #5670
- Improve typing in mock.ts by @tomekzaw in #5372
- docs: fix too big button hitbox on landing by @kacperkapusciak in #5707
- docs: various small fixes by @kacperkapusciak in #5708
- Rename
isWorklet
toisWorkletFunction
by @tjzel in #5695 - Move Reanimated Babel Plugin dependencies to dependencies by @tjzel in #5716
- tests: add missing mock function by @camilossantos2809 in #5755
Keyboard
- [useAnimatedKeyboard][iOS] Keyboard interpolation by @piaskowyk in #5705
- [useAnimatedKeyboard][iOS] Support for keyboard interactive dismiss mode by @piaskowyk in #5730
- [useAnimatedKeyboard][Android] Keyboard refactor by @piaskowyk in #5665
- [useAnimatedKeyboard][Android] Filter keyboard events by @piaskowyk in #5740
- [useAnimatedKeyboard][Android] Fix state after animation dismiss by @piaskowyk in #5741
- [useAnimatedKeyboard][Android] Fix navigation bar with auto hide by @piaskowyk in #5742
- [useAnimatedKeyboard][iOS] Improve curve parameters by @piaskowyk in #5750
New Contributors
- @maks-io made their first contribution in #5402
- @Nodonisko made their first contribution in #5646
- @camilossantos2809 made their first contribution in #5755
Full Changelog: 3.7.0...3.8.0