Skip to content

Update ReanimatedPackage to supported stable API#6730

Merged
tjzel merged 2 commits intomainfrom
@jakex7/updateStableAPI
Nov 22, 2024
Merged

Update ReanimatedPackage to supported stable API#6730
tjzel merged 2 commits intomainfrom
@jakex7/updateStableAPI

Conversation

@jakex7
Copy link
Member

@jakex7 jakex7 commented Nov 19, 2024

Summary

Replace the deprecated TurboReactPackage with the newer BaseReactPackage to improve compatibility with future React Native releases. Note that this change requires at least react-native@0.74+, but this should not be an issue as, according to the compatibility table, Reanimated@3.17.0 only supports versions 0.74 and above.

Similar change has been introduced in the SVG package software-mansion/react-native-svg#2541

Test plan

CI should pass

@tjzel tjzel added the Check compatibility Trigger a time-consuming compatibility check action label Nov 21, 2024
@tjzel
Copy link
Collaborator

tjzel commented Nov 21, 2024

@jakex7 Please merge main 🙏

@jakex7
Copy link
Member Author

jakex7 commented Nov 22, 2024

@jakex7 Please merge main 🙏

@tjzel Done

@tjzel tjzel added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 1ab9bad Nov 22, 2024
@tjzel tjzel deleted the @jakex7/updateStableAPI branch November 22, 2024 09:40
ReanimatedUIManager.class,
})
public class ReanimatedPackage extends TurboReactPackage implements ReactPackage {
public class ReanimatedPackage extends BaseReactPackage implements ReactPackage {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BaseReactPackage already implements ReactPackage so the implements is unnecessary.

tjzel pushed a commit that referenced this pull request Dec 13, 2024
## Summary

Replace the deprecated `TurboReactPackage` with the newer
`BaseReactPackage` to improve compatibility with future React Native
releases. Note that this change requires at least react-native@0.74+,
but this should not be an issue as, according to the compatibility
table, Reanimated@3.17.0 only supports versions 0.74 and above.

Similar change has been introduced in the SVG package
software-mansion/react-native-svg#2541

## Test plan

CI should pass
tjzel pushed a commit that referenced this pull request Dec 13, 2024
## Summary

Replace the deprecated `TurboReactPackage` with the newer
`BaseReactPackage` to improve compatibility with future React Native
releases. Note that this change requires at least react-native@0.74+,
but this should not be an issue as, according to the compatibility
table, Reanimated@3.17.0 only supports versions 0.74 and above.

Similar change has been introduced in the SVG package
software-mansion/react-native-svg#2541

## Test plan

CI should pass
tjzel pushed a commit that referenced this pull request Dec 13, 2024
## Summary

Replace the deprecated `TurboReactPackage` with the newer
`BaseReactPackage` to improve compatibility with future React Native
releases. Note that this change requires at least react-native@0.74+,
but this should not be an issue as, according to the compatibility
table, Reanimated@3.17.0 only supports versions 0.74 and above.

Similar change has been introduced in the SVG package
software-mansion/react-native-svg#2541

## Test plan

CI should pass
r0h0gg6 pushed a commit to r0h0gg6/react-native-reanimated that referenced this pull request Jul 28, 2025
## Summary

Replace the deprecated `TurboReactPackage` with the newer
`BaseReactPackage` to improve compatibility with future React Native
releases. Note that this change requires at least react-native@0.74+,
but this should not be an issue as, according to the compatibility
table, Reanimated@3.17.0 only supports versions 0.74 and above.

Similar change has been introduced in the SVG package
software-mansion/react-native-svg#2541

## Test plan

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

Labels

Check compatibility Trigger a time-consuming compatibility check action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants