Skip to content

Releases: software-mansion/react-native-svg

4.3.2

08 Nov 15:19

Choose a tag to compare

Use TextureView and pass Surface from the view to draw on it asynchronously instead of passing the bitmap (which is inefficient especially in terms of memory usage).
React Native ART related commit.

4.3.0

10 Sep 11:59

Choose a tag to compare

Make it work with react-native@0.33 #124
And change react-native's peer dependency to @0.33

4.2.1

02 Sep 02:57

Choose a tag to compare

Handle touches when root is a ViewRootImpl
#133

4.2.0

26 Aug 01:30

Choose a tag to compare

fix #118 and change react-native's peer-dependency to 0.32.0

4.1.5

24 Aug 09:41

Choose a tag to compare

fix #111

4.1.0 - 4.1.4

24 Aug 08:01

Choose a tag to compare

4.1.0 - 4.1.1

Add preserveAspectRatio prop for Image

4.1.1 - 4.1.2

Set unrecognized font family to default.

4.1.2 - 4.1.3

Fix #116 and #115

4.1.2 - 4.1.4

Fix #103

4.1.0

12 Aug 04:04

Choose a tag to compare

Add get svg base64 data support

svgRef.toDataURL(function (base64) {
    console.log(64);
});

Fix memory leak issue on iOS.

Add textPath support for iOS.

Add touch events support for G elements.

Add all features support for viewBox prop.

Fix lots of bugs.

2.0.0

21 May 12:32

Choose a tag to compare

Add support for both react-native@0.26.0 and below.
Add Image element for Android.
Add gesture responder system for all renderable elements.
Refactor all shape elements like: circle, rect, line, ellipse

1.3.1

13 May 04:04

Choose a tag to compare

Add support for react-native@0.25.0
Add Image element for iOS.(Android not finished yet)
Refactor Text element on iOS, add support for text path and text stroke(gradient) on iOS.
Fix a few bugs #33 #32

Percentage props support

27 Apr 09:18

Choose a tag to compare

Now we can use percentage props on shape elements:
Rect,Circle,Line, Ellipse

<Rect x="0%" y="5%" width="90" height="95%" />
<Circle cx="50%" cy="50%" r="50%" />
<Line x1="0%" y1="5%" x2="90%" y2="95%" />
<Ellipse cx="50%" cy="50%" rx="30%" ry="40%" />

And moved gradients percentage calculation to native side for a better support.