Releases: software-mansion/react-native-reanimated
Releases ยท software-mansion/react-native-reanimated
2.3.0-alpha.1
Features ๐ก
- Layout Animations ๐ค
- Performance optimization ๐
Docs ๐
- Layout Animations docs
2.2.0
๐ Key changes
- Fix problems with debugging with flipper Improve building, Fix Runtime creation
- Improved Decay animation bc20a4b
- Reanimated 2 has been removed from default exports 2a049a0
- Support for
@quilted/react-testing
129cc1c - Possibility to customize JS prop updates dcd6113
๐ Bug fixes
- Fix Server-site rendering 5a499ec
- Fix problem with codepush 824e5df
- Fix measure not throwing on iOS a568d7b, 9f9f4e2
๐ Improvements
- Speeded up building on Android (Example App) 7aebe68
- Named exported animation functions 462e21e
- Possibility to set custom globals in our babel plugin 11250a0
- Made shared values more aware of multithreading c511a5d
๐ Docs improvements
- Broken links fixes 85e5705, ee5e557
- Docs appearance update 5b0e39f
- Add information about JSC support to the docs 22bbc3a
- Clarify iOS installation steps b8b7da8
- Update testing related doc ab6afd1
- Added info about Webpack configuration to docs ee11c63
๐ Thank you for your contributions!
๐ข Keep watching! We will back with new features soon! ๐ค
2.1.0
๐ Key changes
- Added support for JSC on Android. #1842
- Extracted
worklet
API - Thanks to hard work @mrousavy, you can use worklets also in native code.
Like react-native-vision-camera and react-native-multithreading - Update
react-native
version to 0.64.0 #1882
๐ Bug fixes
- Fixed problem with full reload on Android. #1839
- Fixed wrapped worklet. #1844
- Fixed bug in
react-native-web
affected on the web version of reanimated. RNW Issue - Added missing
viewRef
foranimatedProps
#1819 - Fixed problem with hidden headers for Swift applications. #1810
๐ Improvements
- Added possibility to use Reanimated 2 without configuration if you use only API v1. #1845
- Add more descriptive error messages. #1845 #1832
- Reorganized structure of files in the project: #1789
- Migration codebase to TypeScript. #1807 #1872
๐ Docs improvements
- Updated information about debugging. #1876
๐ Thank you for your contributions!
๐ข Keep watching! We will back with new features soon! ๐ค
2.0.1
1.13.3
๐ Bug fixes
- Replace global.Expo.Constants with NativeModules check (#1803) by @brentvatne
๐ Improvements
- Replace setImmediate with requestAnimationFrame (#1521) by @DrRefactor
- Support radians in interpolateNode() (#1756) by @javascripter
โจ๏ธ Typescript
- Update
color
andinterpolateColors
return type to allow strings (#1467) by @chj-damon
๐ Thank you for your contributions!
2.0.0
๐ Key changes
- Added support for Jest.js test (#1731)
- Rewrited Example app to TypeScript (#1724)
- Refactor of SharableValue for optimization memory usage (#1639)
๐ Bug fixes
๐ Improvements
- Added bindings for
console.log
for React Native 0.64 (#1646) - Updated
react-native-navigation
in Example app (#1725) - Improved TypeScript types for Reanimated (#1745) (#1698)
๐ Docs improvements
- Fixed typos (#1755) (#1743)
- Added docs for Jest testing (#1731)
- Added example Jest tests usage (#1731)
๐ Thank you for your contributions!
2.0.0-rc.3
๐ Key changes
- Support RN64 (#1667) (#1496) (#1688)
- Shared value rerender behavior (#1660)
- Add previous result to useAnimatedReaction (#1653)
๐ Bug fixes
- Reactivate animations on mount (#1646)
- Fix problem with drawer (#1665)
- Update Android Tools gralde version (#1666)
- Fix too deep recursion call (#1661)
- Fix jsi::Error handling (#1692)
- Interpolation: replace spread operator with Object.assign (#1694)
๐ Improvements
- Improve testing (#1648)
- A better way to handle exceptional situations (#1654)
- Handle lack of babel plugin (#1682)
- Use nttld/setup-ndk@v1 to setup ndk (#1687)
๐ Docs improvements
Types improvements
- Fix type of style colors (#1531)
- Support animatedProps and fix createAnimatedComponent typing (#1590)
๐ Thank you for your contributions!
2.0.0-rc.2
๐ Key changes
๐ Bug fixes
- Memory leaks - #1556
- Remove ref loop from ShareableValue - #1580
- Fix synchronous layout - #1584
- Fix interpolate of alpha channel - #1594
- Fix no host instance case - #1601
- Fix initialization of animation value - #1603
- NodesManager.onEventDispatch(): ignore mNativeProxy when null - #1615
- Add support for animate string value with % - #1617
- do not execute finished animation - #1618
- Fix animations - #1619
- Use targetTimestamp instead of timestamp #1620
- Inject frameTimestamp to our context for time of frame - #1622
- Fix SVG adapter - #1623
- Fix animationsActive + default interpolation type - #1624
- Fix naming collision - #1628
๐ Improvements
- Feature: enable native code debugging via LLDB - #1551
- Add mocks for addWhitelistedUIProps & addWhitelistedNativeProps - #1574
- Information about worklet localization to exception message - #1577
- Use implementation of useSharedValue in mock - #1585
- Check the lengths when comparing deps - #1602
- Handle null deps in hooks - #1605
- Update of mocs - #1621
๐ Docs improvements
Types improvements
- Add DerivedValue to the TS types - #1567
- Add return type to useAnimatedReaction - #1583
- Allow string as toValue type in withTiming and withSpring - #1591
- Update TS to 4.1.3 & add strict checks - #1592
๐ Thank you for your contributions!
2.0.0-rc.1
๐ Key changes
- Don't run observer callbacks during sync uimanager batch update - #1501
๐ Bug fixes
- Fix mem leaks - #1543
- Fix unknown reference to _updatePropsJS - #1471
- Fix animations with initial value - #1496
- cachedMatchers initialization - #1504
- Get rid of optional chaining in plugin - #1509
- Add console.info on native, fix console on the web - #1507
- Fix useAnimatedGestureHandler for web - #1518
๐ Improvements
- Refactor of global values - #1482
- Handle worklet errors on hermes - #1491
- Prevent executing mappers for the same value - #1502
- Refine type for `createAnimatedComponent() - #1466
- Add callback to withRepeat type - #1540
๐ Docs improvements
๐ Thank you for your contributions!
2.0.0-rc.0
๐ Bug fixes and ๐ Improvements
- Fix access to
viewDescriptor
property increateAnimatedComponent
- #1446 - Fix spread operator - #1453
- Donโt process event with null native map - #1457
- Fix
setAndForwardRef
&TurboModuleRegistry
imports on web - #1378 - Fix unknown reference to
_updatePropsJS
- #1471 - Fix crash in scheduler - #1473
- Improve error handling - #1468
- Fix bool props on Android - #1474