Releases: software-mansion/react-native-reanimated
Releases Β· software-mansion/react-native-reanimated
3.8.1
3.8.0
What's Changed
New features
- Add
isWorklet
function by @tomekzaw in #4894 - Make animatedStyle keep reference through renders by @Latropos in #5333
- Expose
isWorklet
in public API by @tjzel in #5667 - Setup custom eslint plugin by @Latropos in #5553
- Add closable App.js banner to docs landing page by @patrycjakalinska in #5709
Fixes
- fix(android,animated-sensor): Fix HMR for Animated Sensor by @Nodonisko in #5646
- Fix hidden testimonials on landing page by @patrycjakalinska in #5675
- Fix warning about overwriting style with layout animation by @Latropos in #5644
- [Example] Fix chess pieces getting clipped on Android by @tjzel in #5691
- [LA Web] Add check for
HTMLElement
when looking for descendant with animation. by @m-bert in #5749 - fix: don't use deprecated onCatalystInstanceDestroy API by @WoLewicki in #5752
- Make
useEvent
return a different reference if event handler should be reattached by @tjzel in #5743 - Fix race condition when ShareableHandle is accessed on multiple threads by @tjzel in #5759
- Fix easing in Keyframe by @Latropos in #5761
Fix android layout animation z-index bug by @bartlomiejbloniarz in #5769
Improvements
- Remove rest of
findNodeHandle
on web by @m-bert in #5654 - Fix missing null check for lastValue in useAnimatedStyle.ts by @maks-io in #5402
- docs: add
withClamp
animation modifier to docs glossary by @kacperkapusciak in #5661 - Add Testimonials section to Reanimated Landing Page by @patrycjakalinska in #5670
- Improve typing in mock.ts by @tomekzaw in #5372
- docs: fix too big button hitbox on landing by @kacperkapusciak in #5707
- docs: various small fixes by @kacperkapusciak in #5708
- Rename
isWorklet
toisWorkletFunction
by @tjzel in #5695 - Move Reanimated Babel Plugin dependencies to dependencies by @tjzel in #5716
- tests: add missing mock function by @camilossantos2809 in #5755
Keyboard
- [useAnimatedKeyboard][iOS] Keyboard interpolation by @piaskowyk in #5705
- [useAnimatedKeyboard][iOS] Support for keyboard interactive dismiss mode by @piaskowyk in #5730
- [useAnimatedKeyboard][Android] Keyboard refactor by @piaskowyk in #5665
- [useAnimatedKeyboard][Android] Filter keyboard events by @piaskowyk in #5740
- [useAnimatedKeyboard][Android] Fix state after animation dismiss by @piaskowyk in #5741
- [useAnimatedKeyboard][Android] Fix navigation bar with auto hide by @piaskowyk in #5742
- [useAnimatedKeyboard][iOS] Improve curve parameters by @piaskowyk in #5750
New Contributors
- @maks-io made their first contribution in #5402
- @Nodonisko made their first contribution in #5646
- @camilossantos2809 made their first contribution in #5755
Full Changelog: 3.7.0...3.8.0
3.7.2
3.7.1
3.6.3
3.7.0
What's Changed
New features
- visionOS support by @okwasniewski in #5627
- Add TSDoc to public API by @kacperkapusciak in #5377
- Pass down generator boolean in babel plugin by @wcandillon in #5565
- Add new spring feature - clamp by @Latropos in #5195
- Introduce executeOnUIRuntimeSync and use it to replace Sync Data Holder by @kmagiera in #4300
Fixes
- Fix ScrollView missing properties by @tjzel in #5437
- Web Layout Animation fixes by @m-bert
- [Web LA] Update
left
from snapshot. by @m-bert in #5491 - Fix overloads in createAnimatedComponent by @Latropos in #5463
- Fix "Reading from
_value
directly is only possible on the UI runtime." on fast refresh during library development by @tomekzaw in #5434 - Fix incomplete UI runtime initialization by @tomekzaw in #5505
- Fix FlatList item generic types by @jkadamczyk in #5528
- Fix
useHandler
context issue by @bartlomiejbloniarz in #5586 - fix: lazily search for ReactFabric by @WoLewicki in #5588
- Fix Android reloads by @piaskowyk in #5624
- Fix plugin sometimes not workletizing
ObjectMethod
by @tjzel in #5599
Improvements
- Rework
interpolate
documentation by @kacperkapusciak in #5398 - Replace useRef with useState for useSharedValue by @amadeus in #5458
- Add warning about reduced motion in dev mode by @bartlomiejbloniarz in #5479
- TS Improvements by @tjzel, @Latropos, @marmor157
- Add
withClamp
documentation by @Latropos in #5381 - Use relative file location in source maps with
relativeSourceLocation
enabled by @tjzel in #5464 - Add docs for Reanimated Babel plugin options by @tjzel in #5382
- Always inject JS version by @tjzel in #5499
- Add suggestions to errors for accessing mutable's
value
by @tjzel in #5531 - Remove
makeRemote
by @tjzel in #5518 - Properly transpile async functions by @tjzel in #5577
- Allow layout animations to be updated on rerender by @bartlomiejbloniarz in #5371
- Pass shared_ptr by reference by @piaskowyk in #5592
- Add interactive examples to landing page by @patrycjakalinska in #5603
New Contributors
@marmor157 @Code-Victor @wodin @amadeus @azashi @shubham1206agra @migueldaipre @cortinico @patrycjakalinska @jp1987 @okwasniewski
π Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/7017226041
Full Changelog: 3.6.2...3.7.0
3.6.2
3.6.1
3.6.0
What's Changed
New features
- Multithreading / Async task - @tomekzaw in #5068 #5192
- Layout Animations for web - @m-bert in #4805
- Added
<LayoutAnimationConfig>
- @bartlomiejbloniarz in #5045 - Support for react-native@0.73 - @piaskowyk in #4913 #5422
- Add animation - withClamp - @Latropos in #5239
Fixes
- Update type exports to fix build warnings - @khevamann in #5074
- fix Maximum call stack size exceeded - @efstathiosntonas in #5087
- Fix Skia-Reanimated integration - @tjzel in #5103
- Fix cleaning layout animation config on iOS - @Latropos in #4997
- [SET] Fix transition restart by @piaskowyk in #4947
- Prevent top-level calls to
requestAnimationFrame
- @bartlomiejbloniarz in #5136 - Fix inline styles on web - @tjzel in #5164
- Fix animated UI Props on Web - @piaskowyk in #5169
- Fix mapper getting stuck on an error in worklet - @tjzel in #5190
- Fix race-condition during render - @piaskowyk in #5224
- Fix stack trace on worklet factory crash - @tjzel in #5197
- Fix inverted
FlatList
by @bartlomiejbloniarz in #5295 - Fix useAnimatedKeyboard when keyboard type changes by @andreysam in #5337
Improvements
- Documentation improvements - @kacperkapusciak in #5063 #5071 #5159 #5215 #5299
- Use strict everywhere - @tjzel in #5055
- Add e2e tests in NextExample - @bartlomiejbloniarz in #5124
- CI to detect broken URLs in source code - @piaskowyk in #5131
- Unify
Extrapolation
andExtrapolate
- @Latropos in #5141 - Add
performance.now
in worklet runtimes by @tomekzaw in #5194 - Improve spring config verification - @Latropos in #5188
- Add compatibility table - @Latropos in #5122
- Add shareable ArrayBuffer, typed arrays and DataView, BigInt - @tomekzaw in #5223 #5237
- Reduce web bundle size - @bartlomiejbloniarz in #5203 #5200
- Replaced DEBUG macro with NDEBUG - @michalmaka in #5113
- Bump iOS deployment target to 10.0 - @gabrieldonadel in #5263
- Run listeners when calling sv.modify - @tomekzaw in #5306
- Avoid double serialization of
__initData
- @tomekzaw in #5186 - Add JSProps on Fabric by @piaskowyk in #5009
- Use install_modules_dependencies by @piaskowyk in #5334
- Allow different flavors JS and App by @tjzel in #5404
Typescript
- A lot of type improvements - @tjzel
New Contributors
@khevamann @xSyki @ankit-tailor @caglar09 @gabrieldonadel @td-tomasz-joniec @cwclancy @szydlovsky @joshlam @andreysam @ugurcanatas
π Thank you for your contributions!
Package build: https://github.com/software-mansion/react-native-reanimated/actions/runs/7017226041
Full Changelog: 3.5.0...3.6.0