Releases: software-mansion/react-native-reanimated
3.0.1
What's Changed
- Update README.md by @TheRogue76 in #4127
- Fix typo in callbacks by @tomekzaw in #4122
- Guard
isSharedValue
against nullish values by @gvarandas in #4128 - Fix web on v3 when not using a Babel plugin by @nandorojo in #4141
- style might be undefined at this point by @bmatasar in #4155
- Fix typo by @piaskowyk in #4161
- Cleanup react-native-reanimated.d.ts and mock.js by @tomekzaw in #4160
- Added missing null checks by @piaskowyk in #4159
- Add flushImmediates to useAnimatedSensor by @piaskowyk in #4123
New Contributors
@TheRogue76 @gvarandas @bmatasar
🙌 Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/4325116704
Full Changelog: 3.0.0...3.0.1
3.0.0
🚀 Main changes
- Added
useAnimatedSensor
for Web #3955 - Added
setImmediate
implementation for Reanimated runtime - Added first part of functionality of Shared Element Transition. Examples available here. Please note that this is experimental feature, not production ready. We are waiting for your feedback to improve functionality.
What's Changed
- Rename
dataAccessLock_
todataAccessMutex_
by @tomekzaw in #3953 - Add warning for style animations missing initial values by @jwajgelt in #3947
- Fix build package CI warnings by @tomekzaw in #3942
- Add useAnimatedSensor for Web by @mstach60161 in #3955
- Optimize the way we extract code string and in which we pass it across runtimes by @kmagiera in #3930
- Disable
HERMES_ENABLE_DEBUGGER
when building Reanimated 2 AAR package by @tomekzaw in #3956 - Raise error when
cppVersion
is undefined by @tomekzaw in #3944 - Fix: 3.0.0-rc.9 , useAnimatedScrollHandler with FlashList not working by @orekasep in #3938
- Don't look in default path for libs if path is procided by @reinismu in #3945
- Rewrite
isAnimated
function by @tomekzaw in #3949 - Optimize previous style calculation in
styleUpdater
by @tomekzaw in #3950 - Fix keyboard height in useAnimatedKeyboard on language change on iOS by @graszka22 in #3940
- Make work with transluscent StatusBar on Android by @graszka22 in #3958
- Use
getBool
instead ofasBool
by @tomekzaw in #3961 - Fix small bugs in useAnimatedSensor for web by @mstach60161 in #3962
- Fix typo on reanimated 2 mock.ts by @GSTJ in #3968
- Bump react-native to 0.71.0 in Example and FabricExample by @tomekzaw in #3972
- Extend the set of layout animation mocks by @jalooc in #3974
- Revert "Optimize previous style calculation in
styleUpdater
" by @tomekzaw in #3979 - Bump react-native to 0.71.1 by @tomekzaw in #3984
- Assign
*runtime_
tort
by @tomekzaw in #3986 - Various
useScrollViewOffset
improvements by @tomekzaw in #3987 - Remove version check in FabricUtils.cpp by @tomekzaw in #3985
- Fix attaching a scroll event if the scrollable component is not the root view by @graszka22 in #3988
- [LayoutAnimations] Fix exiting animations inside a Native Stack Navigator by @jwajgelt in #3865
- Upgrade navigation packages in Example app by @jwajgelt in #3995
- [Android] Fix crash when navigating during an exiting animation by @jwajgelt in #4002
- [Android] Cleanup animated sensors in NativeProxy destructor by @jwajgelt in #3954
- small spell correction by @jonnyroc in #4007
- [Android] Fix wrong variable name in build.gradle by @filipeveronezi in #4008
- Remove
RN_FABRIC_ENABLED
flag in RNReanimated.podspec by @tomekzaw in #4011 - Shared Element Transition by @piaskowyk in #3827
- Hide
back-to-top
button in the documentation by @j-piasecki in #4013 - Fix crash caused by data race in useAnimatedKeyboard by @graszka22 in #3911
- Fix so path in cmake for new arch off [Android Compilation Issue] by @pavangoyal42 in #4018
- Add web support without a Babel/SWC Plugin by @nandorojo in #3997
- Make shareable HostObject code more generic by @kmagiera in #4024
- Fix blank spots in examples list in FabricExample by @tomekzaw in #4019
- Fix Fabric crash in
NativeReanimatedModule::removeShadowNodeFromRegistry
by @tomekzaw in #4020 - Unify event handling on Paper and Fabric by @tomekzaw in #4012
- Ignore events with malformed JSON payload by @tomekzaw in #4037
- [Shared Element Transition] Improvements after review v1 by @piaskowyk in #4014
- [Shared Element Transition] Fix: view disappeared after layout animation by @piaskowyk in #4026
- [Shared Element Transition] Fix exiting animations on Android by @piaskowyk in #4038
RuntimeDecorator
cleanup by @jwajgelt in #4027- [Shared Element Transition] Problem with headers by @piaskowyk in #4036
- Make sensors work with different device orientations by @graszka22 in #4033
- Fix reloading when using useAnimatedKeyboard by @graszka22 in #3932
- [Shared Element Transition] Disable animation on swipe back by @piaskowyk in #4047
- Remove unnecessary import by @tomekzaw in #4049
- Format JsiUtils.h by @tomekzaw in #4051
- Auto add proguard config by @heroic in #3494
- Fixed sourceMap typo in plugin.js by @tjzel in #4054
- Refactor NativeProxy on Android by @graszka22 in #4042
- Optimize hot code-paths in uAS by @kmagiera in #3980
- Fix perf regression introduced in #3980 🙃 by @kmagiera in #4059
- Bump react-native to 0.71.3 by @tomekzaw in #4064
- [Shared Element Transition] Animation restart by @piaskowyk in #4043
- Get rid of only-value-capture optimization that breaks the world by @kmagiera in #4060
- Add proxy interface for Animated.FlatList to enable passing itemLayoutAnimation prop by @tjzel in #4074
- Cache Android build artifacts in GitHub Actions by @tomekzaw in #3456
- Use consistent argument names and types in
_removeShadowNodeFromRegistry
by @tomekzaw in #4076 - Move plugin.js to its separate directory by @tjzel in #4067
- Fix host obj reference loop by @kmagiera in #4082
- Fix
targetGlobalOriginX/Y
in custom layout animations by @graszka22 in #4052 - Raise error when cpplint is not installed by @tomekzaw in #4080
- Resolve
runtime/int
errors in cpplint by @tomekzaw in #4081 - Add inline styles without animation functions by @graszka22 in #4062
- Add inline animated props by @graszka22 in #4068
- Add s...
2.14.4
2.14.3
2.14.2
What's Changed
- Add warning for style animations missing initial values by @jwajgelt in #3947
- Disable HERMES_ENABLE_DEBUGGER when building Reanimated 2 AAR package by @tomekzaw in #3956
- Raise error when cppVersion is undefined by @tomekzaw in #3944
- Fix: 3.0.0-rc.9 , useAnimatedScrollHandler with FlashList not working by @orekasep in #3938
- Don't look in default path for libs if path is procided by @reinismu in #3945
- Fix build package CI warnings by @tomekzaw in #3942
- Release 2.14.2 by @tomekzaw in #3960
Full Changelog: 2.14.1...2.14.2
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3940654702
2.14.1
What's Changed
- Fix TypeError: 'viewTag' is read-only on Animated.createAnimatedComponent(FlashList) by @tomekzaw in #3934
Full Changelog: 2.14.0...2.14.1
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3901092675
3.0.0-rc.10
What's Changed
- Add support for React Native 0.71 by @tomekzaw in #3745
- Fix unused
debugToken_
in release mode by @tomekzaw in #3909 - [Android] fix components being placed under the screen header by @jwajgelt in #3791
- Add user-friendly error message when worklet cannot be created due to missing Babel plugin by @tomekzaw in #3893
- Fix sensor listener leak on Android by @graszka22 in #3900
- Fix useAnimatedScrollHandler when using FlashList by @graszka22 in #3899
- Color interpolation improvements by @graszka22 in #3891
- Fix layout after entering animation ends by @jwajgelt in #3795
- Move
REANIMATED_VERSION
definition to ReanimatedVersion.h by @tomekzaw in #3920 - Cocoapods: Fix deprecated/removed File.exists method by @iBotPeaches in #3919
- Support device orientation change in default layout animations by @graszka22 in #3901
- Convert c-like
bool
to obj-c-likeBOOL
forREAHasAnimationBlock
by @piaskowyk in #3921 - Fix issues with relative paths when bundling web apps by @jwajgelt in #3922
- Keep
NewestShadowNodesRegistry
lock for longer by @tomekzaw in #3926
New Contributors
🙌 Thank you for your contributions!
Full Changelog: 3.0.0-rc.9...3.0.0-rc.10
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3883993156
2.14.0
What's Changed
- Add support for React Native 0.71 by @tomekzaw in #3745
- [Android] fix components being placed under the screen header by @jwajgelt in #3791
- Fix sensor listener leak on Android by @graszka22 in #3900
- Fix useAnimatedScrollHandler when using FlashList by @graszka22 in #3899
- Color interpolation improvements by @graszka22 in #3891
- Move
REANIMATED_VERSION
definition to ReanimatedVersion.h by @tomekzaw in #3920 - Cocoapods: Fix deprecated/removed File.exists method by @iBotPeaches in #3919
- Support device orientation change in default layout animations by @graszka22 in #3901
- Fix issues with relative paths when bundling web apps by @jwajgelt in #3922
🙌 Thank you for your contributions!
Full Changelog: 2.13.0...2.14.0
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3894657042
3.0.0-rc.9
What's Changed
- Remove
dummyGlobal
by @tomekzaw in #3838 - Fix new implementation iOS crash on reload while animation is running by @tomekzaw in #3837
- Use weak object for shareables on V8 by @tomekzaw in #3839
- [iOS][Layout Animations] Remove
exiting
views from UIManager's view registry by @jwajgelt in #3824 - Remove _setGloalConsole JSI method by @kmagiera in #3853
- [Layout Animations][iOS] Fix registering exiting view ancestors by @jwajgelt in #3849
- Route JS errors from UI runtime throught RN's LogBox module by @kmagiera in #3846
- Fix crash due to concurrent writes to frameCallbacks vector by @kmagiera in #3859
- Add GestureHandlerRootView in WorkletExample by @tomekzaw in #3829
- Avoid multiple rAF calls over JSI when called on the same frame by @kmagiera in #3852
- Remove redundant call to
parseColors
by @tomekzaw in #3872 - Adds mocks for default layout animations by @tonibardina in #3801
- Fix inverted cell style for inverted Animated.FlatList by @levibuzolic in #3765
- Handle SequenceExpression in babel transform by @scottmas in #3531
- Fix
runOnUI
import in ScrollToExample by @tomekzaw in #3883 - Fix
runOnUI
import in MeasureExample by @tomekzaw in #3882
New Contributors
🙌 Thank you for your contributions!
Full Changelog: 3.0.0-rc.8...3.0.0-rc.9
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3757527250
3.0.0-rc.8
What's Changed
- Shareable value rewrite by @kmagiera in #3722
- Fix animated refs on Fabric by @kmagiera in #3822
- Better error message when trying to call non-worklet from UI thread by @kmagiera in #3821
- Use getBool instead of asBool to make it work with RN pre 69 by @kmagiera in #3825
Full Changelog: 3.0.0-rc.7...3.0.0-rc.8
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3591607052