npm / react-native-svg
react-native-svg
What changed in react-native-svg 10 to 15, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
12 breaking1 deprecations3 new APIs and options4 performance1 behavior and defaults2 tooling39 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-native-svg 1536 changes
Breaking changes 4
The iOS/tvOS deployment target was raised to 15.1 for Xcode 27.
The macOS deployment target was raised to 14.0.
Support for React Native versions below 0.80 was dropped.
Raises the minimum supported iOS version to 12.4; apps supporting an earlier version must bump it before upgrading.
Deprecations 1
The unused fontData prop is deprecated.
New APIs and options 1
Adds support for visionOS, allowing developers to use react-native-svg in visionOS apps.
Behavior and default changes 1
The default value for RadialGradientView was set.
Tooling 2
Added Swift Package Manager support for React Native's SwiftPM mode, including shipping Metal filter kernels as SwiftPM resources.
CMake now supports a 16kb page size.
Fixes and other changes 27
Fixed Android support for React Native 0.89 JNI calls.
Android tap sound was reintroduced.
Web Defs now allows children.
The package is no longer imported on native.
Applies opacity to currentColor for fill and stroke on Apple platforms.
Fixes LinearGradient when enabling RN props 2.0 on Android.
Fixes MaskView when enabling RN props 2.0 on Android.
Fixes SVG rendering on macOS Fabric by opting out of updateLayer.
Fixes nightly builds, allowing react-native-svg to support React Native nightly builds.
Replaces buffer decoding with atob.
Fixes an iOS use-after-free crash involving RCTImage.
Fixes macOS build issues involving UIImage.
Sets the absolute fill position in shadow nodes to fix onPress hit testing in JavaScript.
Fixes a performance regression accidentally introduced in 15.15.0.
Properties are now inherited from parents into ClipPath.
ForeignObject now respects React Native view layout and transforms, re-renders on Android, and invalidates correctly to render Text components.
Fixed setting the letterSpacing prop.
Properties are now inherited from parents into Mask.
Specific attributes now preserve camelCase when passed through setNativeProps.
Doctypes are now parsed correctly.
Unicode emojis now draw correctly in Text on iOS.
Touch handling has been improved.
Setting multiple transform attributes at once is now handled correctly.
Renders a fallback instead of crashing when content loaded from a remote SVG file is invalid.
Corrects the types for transformsArrayToProps.
Fixes type exports so they work with TypeScript's isolatedModules setting.
Fixes a crash when an SVG is unloaded by XAML.
react-native-svg 142 changes
Breaking changes 2
CSS-related exports, including SvgCss and inlineStyles, should now be imported from react-native-svg/css instead of the main package.
The Windows implementation was ported to Direct2D, removing the win2d dependency.
react-native-svg 134 changes
Breaking changes 2
With the new architecture and react-native versions below 0.70.0-rc.3, Android linking must be handled manually because autolinking is available starting with that version.
Using React Native SVG on Fabric requires react-native 0.69.0 or newer.
New APIs and options 2
React Native SVG adds Fabric support on Android.
React Native SVG adds Fabric support on iOS without ComponentViews.
react-native-svg 1211 changes
Breaking changes 2
The behavior of native elements is reverted to pre-v10 behavior.
The default size might change when width or height is missing.
Performance 4
Optimizes extraction of fill, stroke, responder, matrix and display properties.
Optimizes handling of font properties in G elements.
Optimizes handling of inherited styles.
Optimizes SVG root prop handling.
Fixes and other changes 5
Fixes translation of animated views inside an Svg tag.
Fixes an inability to build using babel-plugin-react-native-web.
Handles gradient and pattern transforms when null on iOS.
Fixes a pod install error.
Removes an unnecessary missing React headers import error caused by a non-framework style import.
react-native-svg 118 changes
Breaking changes 1
Android-specific transform origin adjustments are no longer needed; transforms now render exactly as on web and iOS.
Fixes and other changes 7
Web now allows createElement usage.
Fixes an Android NullPointerException when calling getBBox.
Fixes iOS 10.3 rendering an opaque background when drawRect is defined.
Android now supports setting path to null.
Fixes compatibility with reanimated color.
Android now supports animating stroke color.
Web now allows unstable_createElement usage.
react-native-svg 101 changes
Breaking changes 1
Masks now support native elements inside an Svg root; transforms and masks take effect on that content, which may change its appearance.