Releases: software-mansion/react-native-reanimated
2.0.0-alpha.9
๐ Key changes
- Improve UI props updating - #1409
๐ Bug fixes
- Fix scrollTo freezing - #1418
- Remove ref from useAnimatedReaction hook - #1412
- Fix "cannot access
repeat()
before initialisation" error on the web - #1402 - Fix bugs on web - #1438
๐ Improvements
- Reduce animations' lag - #1419
- Add types for
makeMutable()
- #1422 - Add tests and cosmetic improvements for plugin - #1416
- Add runOnJS types - #1392
๐ Docs improvements
- Add run on js docs note - #1431
- added info about exception in
measure()
- #1421 - Fix docs typo - #1408
- Fix link to previous ios installation in docs - #1407
๐ Thank you for your contributions!
2.0.0-alpha.8
โผ๏ธ IMPORTANT UPGRADE INSTRUCTIONS
Using Reanimated 2 on iOS no longer requires additional manual installation steps. When upgrading you should revert all the changes previously made to your app's AppDelegate. See here that the new installation instructions on iOS does no longer require to make any changes to the iOS project files, and see this old instructions in case you are unsure of what changes to revert.
๐ Key changes
- add color interpolation - #1305
- Two new hooks -
useWorkletCallback
andcreateWorklet
- #1310 runOnJS
- #1272- simplify iOS installation process - #1323
- update animationsโ logic - #1299
- refactor for the better usage - #1286
- fix event handling - #1319
๐ Bug fixes
- fix concurrency - #1315
- compilation issues - #1331
- eslint - #1344
- runOnJS - #1345
- fix freeze problem - #1346
- Fix shadow color animations - #1304
๐ Improvements
- Do not try to call methods NativeProxy if it's null - #1282
- Add Boolean to the globals - #1292
- Add deps to useAnimatedReaction - #1338
- Update shared value rerender logic - #1351
- Update animations' types - #1359
- Workletize animations' callbacks - #1367
- Use createFromJsonUtf8 in processEvent - #1362
๐ Docs improvements
๐ Thank you for your contributions!
Note
Installation on iOS is now automatic and does not require any additional steps.
2.0.0-alpha.7
โ Important changes
WEB support - #1225
๐ Bug fixes
fixed full reload - #1256
fix scrollTo #1226
fix reattaching of event handlers #1217
๐ Improvements
better caching - #1236
synchronous layout when possible and scroll events improvment #1215
๐ข Miscellaneous
tests improvements
types fixes
documentation improvements
๐ Thank you for your contributions!
Note
From now on every object (which isn't created by useSharedValue
hook) captured by worklet is frozen and as a result, no longer can be modified. It's a rare case when you may want to pass to worklet mutable value. However, if you need to you should pass a deep copy.
1.13.1
Patch release fixing <Animated.Code />
changes
๐ Bug fixes
- [v1] Fix rerenders of
<Code />
component (#1274) by @jakub-gonet
๐ Improvements
- [v1] Add
dependency
prop toAnimated.Code
type (#1141) by @jinshin1013
๐ Thank you for your contributions!
2.0.0-alpha.6
โ Important changes
๐ Bug fixes
- fix major bug: crashes when using with navigation - #1187
- fix color processing on js thread - https://github.com/software-mansion/react-native-reanimated/pull/1055/files
- fix
scrollTo
#1119
๐ Improvements
๐ข Miscellaneous
- tests improved - #1091
- CI fix - #1133
- repair capturing in worklets, this includes both bug fixes and improvements - #1174
๐ Thank you for your contributions!
Note
Some of the names on iOS changed, mostly the rule refers to the names' prefixes: RE
-> REA
Following cases have been detected:
- AppDelegate.mm:19
#import <RNReanimated/REATurboModuleProvider.h>
- AppDelegate.mm:103
return facebook::react::REATurboModuleClassProvider(name);
- AppDelegate.mm:109
return facebook::react::REATurboModuleProvider(name, jsInvoker);
- AppDelegate.mm:116
return facebook::react::REATurboModuleProvider(name, instance, jsInvoker);
1.13.0
Minor release fixing Reanimated support of RN 0.59 from 1.11.0
๐ Bug fixes
- Revert "Update deprecated use of
GuardedRunnable
" (#1110) by @jakub-gonet
๐ข Miscellaneous
- Add TS check to CI (#1107) by @jakub-gonet
1.12.0
This release fixes a regression introduced in #538.
๐ Bug fixes
- Fix non-animated properties in
transform
(#1104) by @jakub-gonet - Fix initialisation of NodesManager (#1030) by @jakub-gonet
1.11.0
This release fixes setting values inside proc
s, refactors some internal code and fixes setValue
in web.
โ Important changes
- Update deprecated use of
GuardedRunnable
(#1031) by @jakub-gonet
This change accidentally removed support for RN <=0.59, this is fixed in 1.13.0
๐ Bug fixes
- Fix setting values inside procs (#1067) by @jakub-gonet
- Fix
setValue()
for web (#1088) by @jfolich
๐ Improvements
๐ข Miscellaneous
- Remove dead code from animation classes (#1018) by @jakub-gonet
- Update Podfile.lock (#1101) by @jakub-gonet
๐ Thank you for your contributions!
2.0.0-alpha.5
What has changed since the last release?
-
Typescript types Pull-Request. Big thanks to everyone involved especially to @renanmav ๐
-
Improved error handling ๐ฎ
-
From now on you can cancel animation from JS thread. Pull-Request ๐ ๐ถ
-
Synchronous methods
measure
andscrollTo
with useAnimatedRef hook. Pull-request ๐ You can read more about them in our docs. measure-doc, scrollTo-doc -
Improved documentation ๐ Read here about our animations
-
Stability improvements โ
1.10.2
Patch release fixing some problems with proc
s and components flashing on the mount.
๐ Bug fixes
- Fix flickering on mount (#1027) by @jakub-gonet
- Update proc type (#1029) by @jakub-gonet
- Fix macOS file extension (#1064) by @kaiguo
- Make diffClamp non-proc'ed (#1068) by @jakub-gonet
- Check if node is initialized when detaching (#1070) by @jakub-gonet
- Fix initial value for props (#1080) by @jakub-gonet
๐ Thank you for your contributions!