Releases: software-mansion/react-native-reanimated
Releases Β· software-mansion/react-native-reanimated
2.16.0
3.1.0
What's Changed
- fix
Error
Variable scope conflicts, and remove duplicateDate
by @jinliming2 in #4046 - Rewrite plugin to TypeScript by @tjzel in #4096
- Actually apply changes from #4046 by @tomekzaw in #4190
- Add .prettierignore file to stop CI fails on plugin compiled files commits by @tjzel in #4193
- [V3 bugfix] Change private methods to public ones by @Latropos in #4205
- Bump webpack from 5.74.0 to 5.76.1 in /docs by @dependabot in #4224
- Add information about RN architecture limitation by @piaskowyk in #4220
- Bump @sideway/formula from 3.0.0 to 3.0.1 by @dependabot in #4230
- Fix a typo by @Hostname47 in #4246
- chore: set library namespace in build script by @kkafar in #4208
- Fix corrupted yarn.locks by @tjzel in #4249
- Fix issue causing ANR when performing sync layout updates by @kmagiera in #4239
- Fix monorepo worklow by @tjzel in #4255
- Emoji waterfall example by @tomekzaw in #4233
- Properly setup ESLint and fix lint errors in Example app by @tomekzaw in #4259
- [Plugin] Add plugin versioning and a version check in runtime by @tjzel in #4206
- Fix
npm pack
includingplugin/node_modules
. by @tjzel in #4264 - Fix useAnimatedKeyboard animation restart on iOS by @piaskowyk in #4266
- Fix withDecay
rubberBandFactor
on Web by @kacperkapusciak in #4270 - Add missing end namespace comments by @tomekzaw in #4271
- Use Node.js 16 on CI by @tomekzaw in #4274
- Bump actions to latest versions by @tomekzaw in #4275
- Change typeof for prototype check to only process plain objects as mappers inputs by @kmagiera in #4258
- Fix monorepo workflow by @tomekzaw in #4273
- Add missing configureLayoutAnimation on web by @tomekzaw in #4289
- Fix issue with setImmediate not defined on Web by @kmagiera in #4276
- Remove size check CI on Reanimated2 by @tjzel in #4290
- Billiard example by @tomekzaw in #4265
- Let Reanimated2 build! by @tjzel in #4292
- [Plugin] [0/9] Split plugin into separate files and add bundling option. by @tjzel in #4209
- Add flashImmediateRunning flag to setupSetImmediate by @mstach60161 in #4280
- @tjzel/reanimated2 ci by @tjzel in #4293
- [Plugin] Amend direct bundling of package.json into plugin by @tjzel in #4294
- [Dependabot] Fix critical #132 by @tjzel in #4295
- [Plugin] [1/9] Remove passing a 'method holder' object and properly use TypeScript for plugin. by @tjzel in #4210
- Remove
lodash.isequal
by @Semigradsky in #4181 - Add merge_group event to github workflows by @mstach60161 in #4296
- [Dependabot] Fix #188 by @tjzel in #4301
- Unify example apps by @tomekzaw in #4288
- Update yarn.lock by @tomekzaw in #4305
- Update yarn.lock again by @tomekzaw in #4307
- Fix useFrameCallback fast refresh by @mstach60161 in #4121
- Example apps improvements by @tomekzaw in #4308
- Fix console error by @Latropos in #4252
- [Dependabot] Fix WebExample alerts by @tjzel in #4311
- Add
steps
easing function by @alabsi91 in #4298 - chore: add Reanimated 3 Announcement example by @kacperkapusciak in #4309
- Add shareable HostFunction by @tomekzaw in #4117
- Cleanup NativeProxy on Android by @jwajgelt in #4116
- Fix smooth scroll android by @Latropos in #4238
- Call assert in
SingleInstanceChecker
only in example apps by @tomekzaw in #4316 - fix: do not apply namespace if it is not available in agp by @WoLewicki in #4313
- Fix unnecessary calls startMapper/stopMapper in useAnimatedReaction by @rozhkovs in #3864
- [Plugin] [2/9] Convert throws to asserts by @tjzel in #4211
- [Plugin] [3/9] Rename functions. by @tjzel in #4212
- [Plugin] [4/9] Improve MakeWorklet type check conditions by @tjzel in #4214
- [Plugin] [5/9] Split ProcessIfWorkletFunction into two functions and improve type checks by @tjzel in #4215
- [Plugin] [6/9] Split ProcessForCalleesWorklets to Reanimated-type distinguished functions by @tjzel in #4216
- [Plugin] [7/9] Changes to ProcessIfGestureHandlerEventCallbackFunctionNode for better logic. by @tjzel in #4217
- Flush UI operation queue when animation is not running by @piaskowyk in #4329
- Add pre-commit plugin .js files compiling and building by @tjzel in #4326
- [Plugin] [9/9] Split MakeWorklet to two functions by @tjzel in #4219
- Amend plugin dependencies by @tjzel in #4286
- Add support for React Native 0.72 by @tomekzaw in #4253
- Persist most recently visited screen in example apps by @tomekzaw in #4342
- Add lacking transformation of useAnimatedScrollHandler function argument to plugin by @tjzel in #4355
- Persist current screen during fast refresh on web by @tomekzaw in #4343
- Fix globals.d.ts and migrate to globalThis by @tjzel in #4331
- Format Babel plugin test inputs by @tomekzaw in #4356
- doc: added important tip when using android device by @Chinedu19 in #4357
- Fix "Maximum call stack size exceeded" error by @kmagiera in #4367
- Break infinite queueMicrotask loop when updates are triggered in mapper-run phase by @kmagiera in #4358
- Refactor keyboard observer on iOS by @kmagiera in #4360
- Add version property to worklets for Reanimated plugin version verification by @tjzel in #4370
- Change tests for version check (missing commit) by @tjzel in #4373
- fix: ...
2.15.0
3.0.2
What's Changed
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/4357058927
Full Changelog: 3.0.1...3.0.2
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