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

feat: update SvgPackage to supported stable API's #2541

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

javache
Copy link
Contributor

@javache javache commented Nov 18, 2024

Address some deprecated API's in SVGPackage

Summary

This improves compatibility with future React Native releases, which will remove TurboReactPackage and the ReactModuleInfo constructor used.

Test Plan

CI

Address some deprecated API's in SVGPackage
Copy link
Member

@jakex7 jakex7 left a comment

Choose a reason for hiding this comment

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

Thanks for the heads-up and contribution!

@jakex7 jakex7 changed the title Update SvgPackage to supported stable API's feat: update SvgPackage to supported stable API's Nov 19, 2024
@jakex7 jakex7 merged commit 81e4692 into software-mansion:main Nov 19, 2024
3 of 4 checks passed
jakex7 added a commit that referenced this pull request Nov 19, 2024
# Summary

#2541 is not compatible with `react-native@0.73`. This PR introduces
sourceSet to maintain support for that version.

## Test Plan

Build app with `react-native@0.73.x`

## Compatibility

| OS      | Implemented |
| ------- | :---------: |
| Android |    ✅      |
github-merge-queue bot pushed a commit to software-mansion/react-native-reanimated that referenced this pull request Nov 22, 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
j-piasecki pushed a commit to software-mansion/react-native-gesture-handler that referenced this pull request Nov 29, 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+.

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

## Test plan

CI should pass
tjzel pushed a commit to software-mansion/react-native-reanimated 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 to software-mansion/react-native-reanimated 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 to software-mansion/react-native-reanimated 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants