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: Bug fixes
- Use double instead of CGFloat in iOS operators (#804) by @jakub-gonet
- Make
Animated.CodeuseAnimated.useCodeinternally (#952) by @jakub-gonet - Fix
definednode (#999) by @jakub-gonet
:+1: Improvements
- Add useValue hook (#786) by @iamolegga
- Add
interpolateColorsfunction (#777) by @jtomaszewski - Convert abs, floor, ceil, min, max to native operation node (#749) by @adkenyon
- Exit
timingimmediately 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()andcall()in the mock (#866) by @TanPOTGS - Update mock.js (#898) by @stackia
- Export
addWhitelistedUIPropstype (#876) by @gorhom - Simplify proc type signature (#959) by @wcandillon
- Fix missing
Value.interpolatein jest mock (#788) by @punksta
:raised_hands: Thank you all for your contributions!