Skip to content

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

Merged
jakex7 merged 1 commit into
software-mansion:mainfrom
javache:modernize-react-package
Nov 19, 2024
Merged

jakex7 merged 1 commit into
software-mansion:mainfrom
javache:modernize-react-package

Conversation

@javache

@javache javache commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

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

@jakex7 jakex7 left a comment

Copy link
Copy Markdown
Member

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
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
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants