Releases: software-mansion/react-native-reanimated
2.12.0
๐ Main changes
- Added measure and scrollTo for web #3661
- [Fix] Ignore layout animation props on the web #3714
- [Fix] Absolute path in Podflie.lock #3701
- [Fix] Fix require cycle in useScrollViewOffset #3713
Full Changelog: 2.11.0...2.12.0
Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3336425460
๐ Thank you for your contributions!
2.11.0
๐ Main changes
- Added new useScrollViewOffset hook #3438
- Added FrameTimings to the useFrameCallback hook
- Fixes for building Reanimated in monorepo
Full Changelog: 2.10.0...2.11.0
Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3105231111
๐ Thank you for your contributions!
3.0.0-rc.3
๐ Main changes
- Enabled debugging on Reanimated's runtime using Chrome DevTools and Flipper
- Added FrameInfo to the useFrameCallback hook
What's Changed
- Remove deprecated functions
delay
,repeat
,loop
,sequence
by @tomekzaw in #3480 - Add
-Werror
flag inCMakeLists.txt
by @tomekzaw in #3483 - Reorder fields in
ShadowTreeCloner
by @tomekzaw in #3482 - Bump dependencies in FabricExample by @tomekzaw in #3506
- Bump react-native to 0.70.0-rc.4 by @tomekzaw in #3478
- Remove deprecated
ReanimatedJSIModulePackage
by @tomekzaw in #3481 - Remove
Animated
andCommon
symlinks by @tomekzaw in #3473 - Flatten headers directory by @tomekzaw in #3474
- Gradle backward compatibility by @piaskowyk in #3499
- Fix incorrect build type resolution on Android by @Kwasow in #3515
- Remove explicit CMake version by @tomekzaw in #3521
- Fix false positive "Multiple versions of Reanimated" because of local
.yarn
cache by @tomekzaw in #3510 - Show original error message when
useAnimatedStyle
throws error by @tomekzaw in #3519 - Remove symlink NativeReanimated.native.ts -> NativeReanimated.ts by @kkafar in #3492
- androidx backward compatibility by @piaskowyk in #3498
- Bump dependencies in FabricExample by @tomekzaw in #3520
- Added new useScrollViewOffset hook by @Kwasow in #3438
- Bump shell-quote from 1.6.1 to 1.7.3 by @dependabot in #3537
- Bump shell-quote from 1.6.1 to 1.7.3 in /Example by @dependabot in #3538
- Fix CI concurrency by @tomekzaw in #3539
- Fix CI concurrency again by @tomekzaw in #3540
- Refactor
measure()
to handletry
internally by @naftalibeder in #3453 - Remove unnecessary variables from CMakeLists.txt by @tomekzaw in #3543
- Bump to React Native 0.70.0 by @tomekzaw in #3545
- Fix plugin crashes when no options are being passed to it by @cubex2 in #3554
- Add
REACT_NATIVE_DOWNLOADS_DIR
to specify custom download location by @Kudo in #3552 - Add react-native-svg example in FabricExample by @tomekzaw in #3548
- Fixed retain cycle of
REAModule
causing memory leak by @Kwasow in #3555 - Unify assertion for no multiple instances of Reanimated with RNGH by @kkafar in #3493
- Enable debugging on Android by default by @tomekzaw in #3561
- Select appropriate AARs depending on build type by @tomekzaw in #3563
- Unify variables related to React Native version by @tomekzaw in #3547
- Bump react-freeze to 1.0.3 in FabricExample by @tomekzaw in #3569
- Bump React Native to 0.70.1 by @tomekzaw in #3576
- Added FrameTimings to the useFrameCallback hook by @Kwasow in #3455
- chore: fix typo in PR template by @SimenB in #3582
- Add ranges in version labels in docs by @j-piasecki in #3589
- Add overlapping boxes example by @tomekzaw in #3585
- Get current time as
long
on Android by @tomekzaw in #3580 - Cache iOS build artifacts in GitHub Actions by @tomekzaw in #3448
- Enable debugging on Reanimated's runtime using Chrome DevTools by @Kwasow in #3526
- Added debugging docs by @Kwasow in #3446
Full Changelog: 3.0.0-rc.2...3.0.0-rc.3
Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/3105231111
๐ Thank you for your contributions!
3.0.0-rc.2
What's Changed
- Added missing
d.ts
file
Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/2890137283
Full Changelog: 3.0.0-rc.1...3.0.0-rc.2
2.10.0
๐ Main changes
- Added
useAnimatedKeyboard()
hook - Added
useFrameCallback()
hook - Added support for React Native 0.70
- Added support for react-native-v8 (building from source only)
- Detect multiple versions of Reanimated.
- And many different fixes.
Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/2889631689
Full Changelog: 2.9.1...2.10.0
3.0.0-rc.1
๐ Main changes
- Added
useAnimatedKeyboard()
hook - Added
useFrameCallback()
hook - Added support for React Native 0.70
- Added support for react-native-v8
- Reduced bundle size on Web by 80%
- Optimized cloning ShadowTree when animating layout props with Fabric enabled
What's changed
- Bump cocoapods-downloader from 1.5.1 to 1.6.3 in /FabricExample by @dependabot in #3232
- Bump ejs from 3.1.6 to 3.1.7 by @dependabot in #3230
- Bump cross-fetch from 3.1.2 to 3.1.5 in /docs by @dependabot in #3203
- Bump cross-fetch from 3.0.6 to 3.1.5 in /Example by @dependabot in #3202
- Docs [1] change of naming pattern by @piaskowyk in #3171
- Fix performance.now() in worklets by @graszka22 in #3235
- Fix Android remote debugging failure by @justin-tay in #3227
- Add nightly/release github workflows by @graszka22 in #3220
- Update npm building script by @piaskowyk in #3237
- Build FabricExample only for arm64-v8a by @graszka22 in #3238
- [Fabric] Add
<GestureHandlerRootView>
in FabricExample by @tomekzaw in #3248 - Fix typo in
ReanimatedFlatListProps
by @tomekzaw in #3249 - [Fabric] Move Obj-C++ static helper functions to
REAJSIUtils.h
by @tomekzaw in #3250 - [Fabric] Define
configurePropsFunction
only on Paper by @tomekzaw in #3251 - withDecay - add rubber band effect by @piaskowyk in #3241
- Add wildcards in CMakeLists.txt by @graszka22 in #3253
- Add
Extrapolation
mock by @maxhungry in #3293 - Add bracket to KeyframeAnimations docs by @andrekovac in #3289
- Bump simple-plist from 1.3.0 to 1.3.1 by @dependabot in #3282
- Bump eventsource from 1.1.0 to 1.1.1 in /docs by @dependabot in #3280
- Bump simple-plist from 1.1.1 to 1.3.1 in /Example by @dependabot in #3281
- Fixed typo. by @tomasaguiar in #3268
- Add web-specific version of
fabricUtils
by @j-piasecki in #3271 - Remove unimplemented type by @piaskowyk in #3254
- fix: android rotation sensortype by @odogono in #3275
- docs: add clean cache note after adding babel plugin by @kacperkapusciak in #3327
- docs: document withSpring options by @kacperkapusciak in #3328
- Update scrollTo.md by @Norfeldt in #3308
- Bump jsdom from 16.4.0 to 16.7.0 in /Example by @dependabot in #3307
- Bump jpeg-js from 0.4.3 to 0.4.4 in /Example by @dependabot in #3299
- ๐ฒ Reduce bundle size on Web by 80% by @nandorojo in #3278
- Fix react-navigation drawer crash: is not a supported event type by @graszka22 in #3314
- Allow to run a sequence of one animation by @graszka22 in #3306
- Add
runOnUI
to mocks by @oliwheeler in #3261 - Add explicit error message when building Reanimated 3 for react-native 0.68 with Fabric enabled by @tomekzaw in #3313
- Bump react-native in FabricExample to 0.69.0 by @tomekzaw in #3311
- Add react-native-v8 support by @Kudo in #3132
- fix: overriden style type in AnimatedProps by @magrinj in #3301
- Update CI release build by @piaskowyk in #3340
- Fix cancelling rotation animation by @graszka22 in #3297
- Sensors fixes by @graszka22 in #3329
- Improve linking common shared libraries for Hermes & JSC in CMakeLists.txt by @tomekzaw in #3315
- Pass ref into FlatList with forwardRef by @naftalibeder in #3216
- Add native lib exclude on Android by @zolbooo in #3318
- Fix NPE in AnimationsManager during app shutdown by @evelant in #3266
- Support for Jest 28 by @piaskowyk in #3347
- Added missing link and command in reanimated documentation by @Kwasow in #3363
- Don't build all architectures on iOS CI by @graszka22 in #3256
- Add hermes cache on CI on Android by @graszka22 in #3239
- Bump moment from 2.29.2 to 2.29.4 in /Example by @dependabot in #3370
- Revert by @piaskowyk in #3371
- Added react-native-builder-bob by @Kwasow in #3365
- Revert d.ts by @piaskowyk in #3376
- Ensure unmounted components are updated correctly after mounting on iOS by @notjosh in #3374
- typo by @pvinis in #3386
- Add useAnimatedKeyboard by @graszka22 in #3263
- Update react-native version to
0.69
in Example app by @piaskowyk in #3391 - useAnimatedKeyboard mock for web by @piaskowyk in #3392
- Bump terser from 4.8.0 to 4.8.1 in /docs by @dependabot in #3401
- useFrameCallback() by @piaskowyk in #3372
- chore: bump docusaurus version by @kacperkapusciak in #3403
- Fix ReDoS when parsing colors by @matias-la in #3382
- Various documentation fixes by @Kwasow in #3404
- Add info about keyboard state to useAnimatedKeyboard() by @piaskowyk in #3400
- [Fabric] Fix crash due to
eventHandler_
not being initialized by @tomekzaw in #3402 - Fixed useFrameCallback hook not running on UI thread by @Kwasow in #3406
- docs: update scripts on example by @gkartalis in #3405
- docs: Update webpack config requirements. by @petrusek in #3409
- fix: use null prototype for LayoutAnimationRepository config by @matias-la in #3383
- fix: breaking change in babel by @hosseinmd in #3028
- Add warning when measuring flattened view on Android by @tomekzaw in #3414
- fix: use ShadowNode types from namespace by @kacperkapusciak in #3415
- fix: remove explicit folly version by @kacperkapusciak in #3416
- Fi...
2.9.1
2.9.0
What's Changed
- Support for
[email protected]
- Treeshaking - #3278
- Some fixes and improvements
Package contains binaries for react-native
in version from 0.65 to 0.69
Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/2590392729
๐ Thank you for your contributions!
3.0.0-rc.0
This major release includes support for Fabric architecture ๐
Check out our Announcing Reanimated 3 blog post.
Co-authored by @piaskowyk, @graszka22, @j-piasecki, @Szymon20000 and @kmagiera.
2.8.0
What's Changed
- Load
RNGestureHandlerModule
lazily on iOS by @j-piasecki in #3166 - fix: Fix
useAnimatedSensor
return type by @mrousavy in #3094 - Add opts for relative source location by @jiulongw in #3141
- Fix JSCRuntime destroyed with a dangling API object by @lukmccall in #3185
New Contributors
Full Changelog: 2.7.0...2.8.0