Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ReanimatedPackage to supported stable API #6730

Merged
merged 2 commits into from
Nov 22, 2024
Merged

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
34 checks passed
@tjzel tjzel deleted the @jakex7/updateStableAPI branch November 22, 2024 09:40
@@ -36,7 +36,7 @@
ReanimatedModule.class,
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
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