Skip to content

Releases: software-mansion/react-native-svg

4.1.0 - 4.1.4

24 Aug 08:01
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

First release

25 Apr 01:39
Compare
Choose a tag to compare
  • Change npm package name from react-native-art-svg to react-native-svg.
  • Isolated from ReactNativeART.
  • Add some SVG features support (ClipPath, strokeOffset, gradients stroke).
  • Fix some issues on ART.