Skip to content

chore(deps): bump react-native-reanimated from 4.7.1 to 4.8.0 in /demo/rn-expo-example - #254

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/demo/rn-expo-example/react-native-reanimated-4.8.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/demo/rn-expo-example/react-native-reanimated-4.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 4, 2026

Copy link
Copy Markdown
Contributor

Bumps react-native-reanimated from 4.7.1 to 4.8.0.

Release notes

Sourced from react-native-reanimated's releases.

Reanimated - 4.8.0

Reanimated 4.8 puts Shared Element Transitions in focus. They are now on by default, they move the shared view itself instead of a copy, and they get many fixes for native stacks, modals, sheets, back gestures and scroll views on iOS and Android. The release also adds shared values as Animated.Text children, backgroundImage gradients in CSS animations and transitions, and a lower per-frame cost of animations.

Key changes

  • Shared Element Transitions on by default: Set the ENABLE_SHARED_ELEMENT_TRANSITIONS static feature flag to false to turn them off. A transition now animates the shared view itself, so its content (for example a video player or an image) stays on screen.
    • New transition APIs: SharedTransition.fadeContent() fades the content of the moving view out and the content of the target in. SharedTransition.custom(), .progressAnimation() and .defaultTransitionType() from Reanimated 3 are back.
    • Transitions with navigation: Transitions follow their target through native stacks, modals, sheets, back gestures, tabs and scrolled lists. Android supports transitions between two views in the same React Native Modal.
  • Animated text: Animated.Text accepts shared values as children, also mixed with static text: <Animated.Text>{sv}%</Animated.Text>.
  • Styles and CSS: CSS animations and transitions animate backgroundImage gradients. borderCurve, writingDirection, verticalAlign and objectFit are now animatable. An invalid style value logs a warning in development instead of throwing.
  • Performance: Mappers run only when there is work, so an app with no running animations can go idle. Animations copy fewer props per frame, and layout animations cost less per commit.
  • Layout animations stability: Fixes for crashes and invisible entering views on Android, also under the mounting coordinator pull model.
  • Jest mocks: The mocks of useSharedValue, useDerivedValue, makeMutable and the scroll offset hooks now behave like the real hooks.
  • Compatibility: Reanimated 4.8 supports React Native 0.87–0.89 (0.86 is no longer supported) and pairs with Worklets 0.14.x.

Changelog

🎉 New features

  • Support Android shared element transitions between two views in the same React Native Modal. (#11260 by @​pawicao)
  • Shared Element Transitions are now enabled by default. Set the ENABLE_SHARED_ELEMENT_TRANSITIONS static feature flag to false to turn them off. (#11146 by @​pawicao)
  • Add fadeOut.end and fadeIn.duration options to SharedTransition.fadeContent(). (#11044 by @​pawicao)
  • Play the entering animation of a fading direct child of the target view when a SharedTransition.fadeContent() transition lands. (#11035 by @​pawicao)
  • Add SharedTransition.fadeContent(), which fades the children of a shared view out while it moves and fades the children of the target view in when it lands. (#11033 by @​pawicao)
  • Add support for animating borderCurve, writingDirection, verticalAlign and objectFit styles. (#10904 by @​tshmieldev)
  • Restore custom shared element transitions with SharedTransition.custom(), .progressAnimation() and .defaultTransitionType(), including the Reanimated 3 values and the transformMatrix output, interpolate every changed property in iOS progress transitions, and fix the interpolation of a transform matrix rotated by exactly 90 or -90 degrees around the Y axis. (#10885 by @​bartlomiejbloniarz)
  • Show shared element transitions above iOS modals and hide the shared element in the snapshot of a closing iOS modal that holds a nested stack. (#10884 by @​bartlomiejbloniarz)
  • Add support for shared values as children of Animated.Text, including mixed with static text like <Animated.Text>{sv}%</Animated.Text>. (#10713 by @​tshmieldev)
  • Add backgroundImage support to CSS animations and CSS transitions, with interpolation of gradient colors, color stop positions, angle direction, and radial size and position on native and a CSS gradient string on web. (#10193 by @​Titozzz)

🐛 Bug fixes

  • Fix a built-in shared element transition or a back gesture that did not follow its target when it interrupted the transition to the screen. (#11437 by @​pawicao)
  • Fix a custom or timed progress shared element transition that did not follow the scroll of its target when the user went back before the transition to the screen ended. (#11436 by @​pawicao)
  • Run the dirty mappers that follow a throwing mapper in the next frame instead of on the next input change. (#11423 by @​tjzel)
  • Fix a React style change of a view that a shared element transition moves, for example its backgroundColor, which showed only after the view landed. (#11417 by @​bartlomiejbloniarz)
  • Stop the settled-props polling when no registered view has updates left to sync or evict. (#11413 by @​tjzel)
  • Fix the landing position of a shared element transition when a parent transform combines with a 3D transform. (#11389 by @​pawicao)
  • Fix a popped stack screen on Android losing its content at the start of its exit animation during a shared element transition, which briefly showed only the shared views. (#11388 by @​pawicao)
  • Fix a shared element transition on iOS that jumped when it ended while a native stack or a modal still moved its screen. (#11382 by @​pawicao)
  • Run mappers only when a mapper starts, an input changes or a props flush is queued, so the app can go idle when nothing animates. (#11372 by @​tjzel)
  • Fix a debug assertion crash when React re-creates a shared view whose transition clips it, for example when switching tabs before the transition ends. (#11371 by @​bartlomiejbloniarz)
  • Resolve web styles through the public react-native-web StyleSheet export, so web works with react-native-web 0.21 and 0.22. (#11370 by @​zoontek)
  • Start a shared element transition at the first frame of an iOS native stack back navigation instead of a few frames later. (#11369 by @​bartlomiejbloniarz)
  • Release the iOS keyboard observer and its display link when the Reanimated module is invalidated on reload. (#11367 by @​pawicao)
  • Fix a shared element transition that stayed in one place on the screen and landed late when the user scrolled the scroll view of its target during the transition. (#11365 by @​pawicao)
  • Fix a shared element transition on iOS that flew off the screen and showed a mirrored view when the target screen opened as a modal with the flip animation. (#11364 by @​pawicao)
  • Fix a shared element transition in a modal or a sheet on iOS that went to a wrong place and then jumped when it went back to its source before it ended. (#11363 by @​pawicao)
  • Fix a frame without the shared view at the start of the first shared element transition of a surface on iOS, when the transition removes a screen. (#11331 by @​pawicao)
  • Write only the views updated since the last flush when an event arrives during an Android draw pass, instead of every animating view. (#11325 by @​tomekzaw)

... (truncated)

Changelog

Sourced from react-native-reanimated's changelog.

4.8.0 — 2026-11-19

🎉 New features

  • Support Android shared element transitions between two views in the same React Native Modal. (#11260 by @​pawicao)
  • Shared Element Transitions are now enabled by default. Set the ENABLE_SHARED_ELEMENT_TRANSITIONS static feature flag to false to turn them off. (#11146 by @​pawicao)
  • Add fadeOut.end and fadeIn.duration options to SharedTransition.fadeContent(). (#11044 by @​pawicao)
  • Play the entering animation of a fading direct child of the target view when a SharedTransition.fadeContent() transition lands. (#11035 by @​pawicao)
  • Add SharedTransition.fadeContent(), which fades the children of a shared view out while it moves and fades the children of the target view in when it lands. (#11033 by @​pawicao)
  • Add support for animating borderCurve, writingDirection, verticalAlign and objectFit styles. (#10904 by @​tshmieldev)
  • Restore custom shared element transitions with SharedTransition.custom(), .progressAnimation() and .defaultTransitionType(), including the Reanimated 3 values and the transformMatrix output, interpolate every changed property in iOS progress transitions, and fix the interpolation of a transform matrix rotated by exactly 90 or -90 degrees around the Y axis. (#10885 by @​bartlomiejbloniarz)
  • Show shared element transitions above iOS modals and hide the shared element in the snapshot of a closing iOS modal that holds a nested stack. (#10884 by @​bartlomiejbloniarz)
  • Add support for shared values as children of Animated.Text, including mixed with static text like <Animated.Text>{sv}%</Animated.Text>. (#10713 by @​tshmieldev)
  • Add backgroundImage support to CSS animations and CSS transitions, with interpolation of gradient colors, color stop positions, angle direction, and radial size and position on native and a CSS gradient string on web. (#10193 by @​Titozzz)

🐛 Bug fixes

  • Fix a built-in shared element transition or a back gesture that did not follow its target when it interrupted the transition to the screen. (#11437 by @​pawicao)
  • Fix a custom or timed progress shared element transition that did not follow the scroll of its target when the user went back before the transition to the screen ended. (#11436 by @​pawicao)
  • Run the dirty mappers that follow a throwing mapper in the next frame instead of on the next input change. (#11423 by @​tjzel)
  • Fix a React style change of a view that a shared element transition moves, for example its backgroundColor, which showed only after the view landed. (#11417 by @​bartlomiejbloniarz)
  • Stop the settled-props polling when no registered view has updates left to sync or evict. (#11413 by @​tjzel)
  • Fix the landing position of a shared element transition when a parent transform combines with a 3D transform. (#11389 by @​pawicao)
  • Fix a popped stack screen on Android losing its content at the start of its exit animation during a shared element transition, which briefly showed only the shared views. (#11388 by @​pawicao)
  • Fix a shared element transition on iOS that jumped when it ended while a native stack or a modal still moved its screen. (#11382 by @​pawicao)
  • Run mappers only when a mapper starts, an input changes or a props flush is queued, so the app can go idle when nothing animates. (#11372 by @​tjzel)
  • Fix a debug assertion crash when React re-creates a shared view whose transition clips it, for example when switching tabs before the transition ends. (#11371 by @​bartlomiejbloniarz)
  • Resolve web styles through the public react-native-web StyleSheet export, so web works with react-native-web 0.21 and 0.22. (#11370 by @​zoontek)
  • Start a shared element transition at the first frame of an iOS native stack back navigation instead of a few frames later. (#11369 by @​bartlomiejbloniarz)
  • Release the iOS keyboard observer and its display link when the Reanimated module is invalidated on reload. (#11367 by @​pawicao)
  • Fix a shared element transition that stayed in one place on the screen and landed late when the user scrolled the scroll view of its target during the transition. (#11365 by @​pawicao)
  • Fix a shared element transition on iOS that flew off the screen and showed a mirrored view when the target screen opened as a modal with the flip animation. (#11364 by @​pawicao)
  • Fix a shared element transition in a modal or a sheet on iOS that went to a wrong place and then jumped when it went back to its source before it ended. (#11363 by @​pawicao)
  • Fix a frame without the shared view at the start of the first shared element transition of a surface on iOS, when the transition removes a screen. (#11331 by @​pawicao)
  • Write only the views updated since the last flush when an event arrives during an Android draw pass, instead of every animating view. (#11325 by @​tomekzaw)
  • Fixed worklet handlers for the onTransitionProgress and onGestureCancel screen events, such as useReanimatedTransitionProgress from react-native-screens, not running on iOS when shared element transitions are enabled. (#11322 by @​pawicao)
  • On iOS, make a shared element transition land on a target that a native view between it and its React parent moves, for example the sheet of @swmansion/react-native-bottom-sheet. (#11305 by @​pawicao)
  • Stop a moving shared view on Android from taking touches and accessibility focus during its transition, as on iOS. (#11304 by @​pawicao)
  • The callback of a shared transition that does not move the view, for example between the screen and a Modal on Android, now gets false instead of true. (#11302 by @​pawicao)
  • A shared view that mounts under an inactive SharedTransitionBoundary is hidden at mount only when the active boundary shows its tag or a transition moves it, so new rows under a sheet and the pages of a pager show. (#11300 by @​pawicao)
  • Stop keeping the entering configuration of a component with its own nativeID, and warn in development that its entering animation does not run. (#11299 by @​pawicao)
  • Reject withInitialValues, withTargetValues and rotate on SharedTransition in TypeScript, allow .custom() after other modifiers, and make the Jest mock of SharedTransition a class. (#11293 by @​pawicao)
  • A shared view uses the default transition again when its sharedTransitionStyle prop is removed. (#11281 by @​pawicao)
  • A built-in shared element transition follows the synchronous transforms of the parents of its target without the TRACK_SYNCHRONOUS_PROPS_IN_LAYOUT_ANIMATIONS flag. (#11280 by @​pawicao)
  • Reduce the cost of commits that add or remove views on a screen with shared element transitions, and of commits during a transition. (#11277 by @​pawicao)
  • Start built-in shared element transitions on iOS before the screen of the target is in its window, so that the view moves in the first frame of a navigation. (#11276 by @​pawicao)
  • Keep the animation and the callback of the source when a commit moves the target of a running shared element transition. (#11275 by @​pawicao)
  • Report the callback of a shared element transition once, when the view lands or the transition stops, so that a restart no longer reports false and a start that ends before its animation reports false. (#11274 by @​pawicao)
  • Give the overlay of shared element transitions a tag that React Native never gives to a view, so it cannot share a tag with a view in a long session. (#11273 by @​pawicao)
  • Start and end a shared element transition of a scroll view at its own frame, and keep the transforms of the parents of a shared view without size. (#11272 by @​pawicao)

... (truncated)

Commits
  • 9262dae release(Reanimated): 4.8.0 (#11442)
  • 1077c17 chore: prepare branch for reanimated 4.8.0 release (#11441)
  • f10eb7e fix(SET): follow the target when a built-in transition returns to its own slo...
  • 4e9443c fix(SET): follow the scroll when a custom transition returns to its own slot ...
  • 06eff8f fix(Reanimated): run the settled props sync only while updates are pending (#...
  • e9621b2 fix(Reanimated): run the dirty mappers that follow a throwing mapper (#11423)
  • b751823 fix(Worklets): request UI frames and mapper runs on demand (#11372)
  • 91b9914 chore: upgrade React Native to 0.89.0-rc.2 (#11298)
  • f6a54da fix(SET): show React style changes of a moving view before it lands (#11417)
  • 1ce5adf fix(SET): land an iOS shared transition after the native stack stops moving i...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-native-reanimated](https://github.com/software-mansion/react-native-reanimated/tree/HEAD/packages/react-native-reanimated) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/software-mansion/react-native-reanimated/releases)
- [Changelog](https://github.com/software-mansion/react-native-reanimated/blob/main/packages/react-native-reanimated/CHANGELOG.md)
- [Commits](https://github.com/software-mansion/react-native-reanimated/commits/4.8.0/packages/react-native-reanimated)

---
updated-dependencies:
- dependency-name: react-native-reanimated
  dependency-version: 4.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from a team as code owners December 4, 2026 14:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 4, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​react-native-reanimated@​4.7.1 ⏵ 4.8.09910088 +198100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants