react-native-reanimated

React Native's Animated library reimplemented

MIT License

Downloads
4.4M
Stars
8.5K
Committers
334

Bot releases are hidden (Show)

react-native-reanimated - 1.10.0

Published by jakub-gonet about 4 years ago

Minor release removing support for nulls in Animated.Value adding useValue hook, interpolateColors helper, simplifying some nodes, fixing mocks and types

❗ Important changes

  • Forbid using null in Animated.Value (#970) by @adamgrzybowski

πŸ› Bug fixes

  • Use double instead of CGFloat in iOS operators (#804) by @jakub-gonet
  • Make Animated.Code use Animated.useCode internally (#952) by @jakub-gonet
  • Fix defined node (#999) by @jakub-gonet

πŸ‘ Improvements

  • Add useValue hook (#786) by @iamolegga
  • Add interpolateColors function (#777) by @jtomaszewski
  • Convert abs, floor, ceil, min, max to native operation node (#749) by @adkenyon
  • Exit timing immediately when duration is zero (#787) by @jakub-gonet
  • Add the converting code of deg at animated value (#584) by @bugtype
  • [V1] Support Windows and macOS platforms (#1003) by @kaiguo

πŸ”’ Miscellaneous

  • Fix config of docs deployment action (#799) by @jakub-gonet
  • Make osx build quieter, update Podfile.lock (#800) by @jakub-gonet
  • Fix links to examples in docs (#802) by @headfire94
  • Compile files before publishing (#569) by @satya164
  • Update README's Example section (#811) by @igorrfc

↔️ Mocks and TS types

  • Update mocks for animation nodes (#870) by @yuriyberezovski
  • Fix getValue() and call() in the mock (#866) by @TanPOTGS
  • Update mock.js (#898) by @stackia
  • Export addWhitelistedUIProps type (#876) by @gorhom
  • Simplify proc type signature (#959) by @wcandillon
  • Fix missing Value.interpolate in jest mock (#788) by @punksta

πŸ™Œ Thank you all for your contributions!

react-native-reanimated -

Published by kmagiera over 4 years ago

New alpha release of Reanimated 2.0.

🚨 BREAKING CHANGES:

πŸ„β€β™€οΈ NEW FEATURES:

  • new animation helper withDecay – thanks @terrysahaidak
  • new animation modifier sequence
  • support for React-Native 0.63 ✨

πŸ’ͺ OTHER IMPROVEMENTS:

  • improved typescript support in reanimated plugin
  • support for recursive worklets
  • improved common errors reporting
  • documentation updates
react-native-reanimated -

Published by kmagiera over 4 years ago

Fresh release of Reanimated 2.0 alpha. Includes a number of fixes to issues reported by the community after the initial launch. We've also made a number of optimizations and stability improvements. Some notable changes:

  • Worklet caching - Each worklet is evaluated only once what significantly improves performance.
  • Typescript support - From now on it’s possible to use typescript within worklets.
  • Possibility to start animations from JS side just like we do in worklets. x.value = withSpring(0);
  • Color interpolation fixes
react-native-reanimated - 1.9.0

Published by jakub-gonet over 4 years ago

Minor release improving typings and native code.

πŸ› Bug fixes

  • Fix formatting numbers in concat node by @jakub-gonet (#720)
  • Fix strict mode typings by @hastom (#722)
  • Revert "Use component type in createAnimatedComponent" by @jakub-gonet (#791)

πŸ‘ Improvements

  • Add ios/build to npm package.json blacklist by @jakub-gonet (#716)
  • Fix link to transitions example in docs by @osdnk (#726)
  • Add publishing docs with gh-pages by @osdnk (#727)
  • Simplify typings for 'proc' by @iyegoroff (#750)
  • Remove duplicated interface of RCTUIManager by @osdnk (#776)
  • Fix PR template by @jakub-gonet (#766)

πŸ™Œ Thank you all for your contributions!

react-native-reanimated - 1.8.0

Published by jakub-gonet over 4 years ago

Minor release mostly improving typings of Reanimated and porting examples to RN 0.62.

πŸ› Bug fixes

  • Fix traverse order in createEventObjectProxy by @jakub-gonet (#682)
  • Update createEventObjectProxyPolyfill.js by @ShaMan123 (#687)
  • Hide Nullable from global scope by @mokoshi (#685)
  • Fix greaterThan and lessThan operators platform differences by @adamczyk777 (#688)
  • Use component type in createAnimatedComponent by @salockhart (#696)
  • Fix incorrect transform style prop typings by @hastomhastom (#707)
  • Fix return type for block() by @wcandillon (#712)

πŸ‘ Improvements

  • New Software Mansion logo in README and docs by @adamczyk777 (#689)
  • Hide leading zeroes on int number in concatNode by @jakub-gonet (#698)
  • Bump examples to 0.62 by @jakub-gonet (#709)

πŸ™Œ Thank you all for your contributions!

react-native-reanimated -

Published by kmagiera over 4 years ago

Patch release with a small set of config and type definition fixes

react-native-reanimated - 1.7.0

Published by osdnk almost 5 years ago

Release mostly fixing regressions in 1.5.0 and 1.6.0
Fixes:
Remove RCTAssertParam from REANodesManager.m (#568) @osdnk
Remove useless exports of the main clock (#565) @osdnk
Fallback to the old mechanism of setting value if the value is a node or string (#566) @osdnk
Bump reanimated in an Example @osdnk
Remove cycle of requires in AnimatedParam (#562) @osdnk
fix for crashing on Android [Problem with setValue when a node is not @alimek
[web] Fix parity issue between native addChild and JS addChild (#553) @EvanBacon

Features:
Unify sanitizing nodes for platform (#549) @EvanBaconx
[web] Added support for callID (#547) @EvanBacon

Thank you! ❀️

react-native-reanimated - 1.6.0

Published by osdnk almost 5 years ago

react-native-reanimated - 1.5.0

Published by osdnk almost 5 years ago

Release with bunch or improvement and bugfixes. It's a minor release because it contains some native changes. Actually, none of these are breaking.

Features:
Add displayName to createAnimatedComponent (#543) @lindesvard
[web] Changed how values are updated with Animated.event to prev… (#536) @EvanBacon
[web] Add missing animated param methods (#534) @EvanBacon
[web] Add color support 🎨 (#533) @EvanBacon
Add setValue to InternalAnimatedValue (#532) @EvanBacon
Add return values to Event function Proxy (#529) @jakub-gonet
Feat: Provide basic mock (#522) @wcandillon
Improvement for error messages (#505) @jakub-gonet
Allow useCode 1st parameter to return undefined, null or an array (#455) @yairopro
Use procs in derived nodes and animations (#468) @osdnk
Rename links @osdnk
Add docs website (#273) @osdnk
Make clock ops workable inside procs (#518) @osdnk
Make AnimatedCode sensible for props changing (#526) @osdnk
Use in AnimatedValue.setValue react method instead of evaluateOnce.@Szymon20000
Make interpolate consistent with react-native animated lib (#502) @Szymon20000
Feat: Allow for automatic exports of functions (#503) @wcandillon

Fixes:
Remove unused vars @osdnk
Remove clockTest invariant for procs @osdnk
Fix procs handling by removing parentNode check (#541) @osdnk
fix: clockStop not working #467 #182 (#490) @wilau2
fix all transform errors in the example (#535) @EvanBacon
Fix issue with some events not propagating correctly via Animated.event @kmagiera
Fix: bug in cond() TS typing (#496) @wcandillon
Fix: Make proc() typesafe (#523) @wcandillon
Fix TypeScript exports 🏷 (#512) @wcandillon
Fix: CI πŸ’š (#511) @wcandillon
Fix: CI πŸ’š (#509) @wcandillon
[Android] Fix EQ and NEQ operators. (#498) @Szymon20000
Fix tests' config (#504) @Szymon20000
Replace ListView with FlatList (#492) @jakub-gonet
fixed children disappearing on transition.change (#483) @CameronStuartSmith
Fix width and height example crashing on android (#485) @jakub-gonet
Fix typo in proc docs page (#484) @jakub-gonet
πŸ’„Fix typing of set() function (#471) @wcandillon
Fix Android Gradle setup (#463) @friederbluemle
Fixes transitioning API delay when delayMs is not set (#335) @tomasgcs

Docs:
docs: add how to interpolate strings (#494) @brunohkbx
add Pod install instruction in Getting Started page (#520) @AudyOdi
Update docs for running examples on iOS (#482) @brobertsUPS
Fix reference to GH in docs @osdnk
Fix docs website @osdnk
Improve docs (#486) @jakub-gonet

Thanks a ton for all the contributions. You rock! πŸ€—

react-native-reanimated - 1.4.0

Published by osdnk almost 5 years ago

Minor release, because of native changes related to fixing the evaluation logic:

Features πŸŽ‰:

  1. Add tvos podspec support (#440) @keshavkaul
  2. Allow to pass a callback as parameter of useCode() (#408) @wcandillon

Fixes πŸ›:

  1. Refine debug() typing (#434) @wcandillon
  2. Fix node dirty marking when new connection between nodes is made (#450) @kmagiera
  3. fix: mock.js NOOP to allow for "new" constructor call (#439) @ajsmth

Docs πŸ“–:

  1. Add Jest doc to the README @PierreCapo

Many thanks!

react-native-reanimated - 1.3.1

Published by osdnk almost 5 years ago

Path release, since it does not include any native changes.

In this release, we introduce WEB SUPPORT by @EvanBacon! (#390)

πŸ› Fixes

  1. πŸ’„Export AnimateProps & AnimateStyle (#429) @wcandillon

  2. fixed EventArgFunc typings (#422) @iyegoroff

  3. Fix invalid url in readme.md (example in event handling) (#418) @738

  4. [iOS] Fix floor() implementation (#362) @wcandillon

πŸ™Œ Thanks you for all the contributions!

react-native-reanimated -

Published by kmagiera about 5 years ago

Minor release to support recently released RN 0.61.

IMPORTANT This release drops support for React Native on Android prior to version 0.60 due to migration to AndroidX. It is still possible to use it on older version but additional steps to setup revers jettifier are necessary.

All fixes and improvements listed below:

πŸ› BUG FIXES

  • Fix Android bug when dealing with string animated values by @wcandillon (#311)
  • Add createAnimatedComponent to mock by @PierreCapo (#389)
  • add event type to event mapping by @ShaMan123 (#388)
  • FIX javaCompileProvider by @Fabsolute (#393)

πŸ‘ IMPROVEMENTS

  • Update Example project to RN 0.61 by @Mjuk-Biltvatt (#407) and @kmagiera (#402)
  • Optimize constant nodes creation and cleanup by @kmagiera (#403)
  • migrate to AndroidX by @dulmandakh (#395)
  • Specify component typings as React.Component classes by @christianchown (#373)
  • Remove prevPosition in SpringState by @wcandillon (#386)
  • Update README.md by @leotm (#384)

πŸ™Œ Thanks you for all the contributions!

react-native-reanimated -

Published by kmagiera about 5 years ago

Minor release with a number of important improvements, see the list below:

πŸŽ‰ NEW FEATURES

  • Add TS support for animated transforms by @wcandillon (#323)
  • Add Math.log() operator by @simonbuerger (#320)

πŸ› BUG FIXES

  • (react-native-reanimated.d.ts) fix TransformsStyle by @tpucci (#339)
  • Fix android CI setup by @oblador (#313)

πŸ‘ IMPROVEMENTS

  • Make ReanimatedModule.NAME public by @janicduplessis (#356)
  • target iOS 9.0 by @dulmandakh (#346)
  • Bypass animation queue for onScroll events by @oblador (#312)
  • Replace forEach with for loop by @satya164 (#329)
  • πŸ’„ Refine TS type by @wcandillon (#314)

πŸ™Œ Thanks you for all the contributions!

react-native-reanimated -

Published by kmagiera over 5 years ago

Minor release with a huge ton of improvement and a couple small features added. Read on πŸ‘‡

πŸŽ‰ NEW FEATURES

  • Allow call's input to be a string on Android by @osdnk (#198)
  • Add SpringUtils.js by @osdnk (#40)
  • πŸ“šMinor documentation fix by @wcandillon (#259)
  • Support 'slow animation' setting for Transitioning API by @kmagiera (#250)
  • Add CI integration by @adamczyk777 (#278)
  • TVos support by @iamyellow (#291)

πŸ› BUG FIXES

  • Remove dependencies' cycles by @osdnk (#187)
  • Fix broken link to springUtils example in README by @mikedemarais (#255)
  • Replace β€œSprintUtils” typo with β€œSpringUtils” by @mikedemarais (#256)
  • Convert CATransform3d using [NSValue valueWithCATransform3D] by @krszwsk (#254)
  • [web] Added shim for web by @EvanBacon (#242)
  • Fix example app's metro config on windows machines by @sJJdGG (#266)
  • Remove react/react-native peerDependencies by @brentvatne (#298)

πŸ‘ IMPROVEMENTS

  • Add numbers and non-node values to concat type by @jeremy-deutsch (#249)
  • Add missing function documentation by @wcandillon (#253)
  • update to support gradle >=4.10 by @misaku (#213)
  • πŸ“šMinor documentation fix by @wcandillon (#259)
  • Clarify set node description by @sJJdGG (#285)
  • Add a mock implementation for test runners by @satya164 (#276)
  • Add typing for concat#0 concat#1 by @wcandillon (#293)
  • Update README.md by @ps0305 (#301)
  • πŸ’„Refine TypeScript type for boolean functions by @wcandillon (#305)
  • Get rid of Bezier's arguments check by @osdnk (#307)

πŸ™Œ Thanks for all the contributions and issue reports! We've got 14! contributors with changes in this release. Keep on the great work!

react-native-reanimated -

Published by kmagiera over 5 years ago

Minor release with a bunch of improvements mainly focused on new Transitioning API.

πŸŽ‰ NEW FEATURES

  • Add Animated.useCode hook as an alternative to Animated.Code by @jeremy-deutsch (#237)

πŸ› BUG FIXES

  • Fix adaptable type by @iamolegga (#243)
  • Better error messages when using Animated.Code by @hrastnik (#239)

πŸ‘ IMPROVEMENTS

  • Use legacy context API to support older versions of react by @kmagiera (#247)
  • Typo two by @Schabaani (#240)
  • Add Transition.* and Transitioning.View types by @itsjgf (#246)

πŸ™Œ Thanks for all the contributions and issue reports!

react-native-reanimated -

Published by kmagiera about 6 years ago

Yet another minor alpha release full of small, incremental improvements.

βœ… OTHER IMPROVEMENTS

  • #113 by @osdnk – fixes to example app
  • #111 by @osdnk – even more improvements of the example app
  • #115 by @brentvatne – export createAnimatedComponent
  • #117 by @kelset – update example app to React Native 0.57
  • #118 by @split – fix typescript warnings by exporting EasingFunction from type definition file

πŸ™Œ Thanks for all the contributions and issue reports!

react-native-reanimated -

Published by kmagiera about 6 years ago

Another alpha release bringing a number of updates to the API and some bugfixes.

πŸŽ‰ NEW FEATURES

  • #83 by @osdnk – allow for providing animated block to handle events
  • #104 by @osdnk – debug nodes now works in Expo and when debugging using chrome

πŸ› BUG FIXES

  • #87 by @osdnk – make animated node persist value after reattaching
  • #95 by @kitten – fix Object.freeze crash on Android
  • #97 by @osdnk – yet another fix for Object.freeze crash

βœ… OTHER IMPROVEMENTS

  • #107 by @osdnk – configure example app to import reanimated code from the parent directory
  • #106 by @kmagiera – adds Interactable component implementation to example app
  • #102 by @ckknight – whitelist "color" property (now it can be animated)

πŸ™Œ Thanks for all the contributions and issue reports!

react-native-reanimated -

Published by kmagiera over 6 years ago

Minor release to support recently released RN 0.56

react-native-reanimated -

Published by kmagiera over 6 years ago

In this release we introduce a few new node types:

  • interpolate (thanks @DylanVann πŸŽ‰)
  • color
  • round

Also wanted to thank everyone who contributed fixes (even small ones) to the documentation and example app updates – thank you @AlicanC @joegoodall1 @slorber @lanceharper and @joefazz πŸ‘ πŸ‘