Skip to content

Releases: software-mansion/react-native-svg

v12.1.0

09 Apr 23:50
Compare
Choose a tag to compare

12.1.0 (2020-04-09)

Bug Fixes

  • web: improve react-native-web version compatibility (88953c3)

Features

  • implement WithLocalSvg (e66e87a)
  • Support local .svg files, fixes #1306 (4e9e8b5)
  • svgUri: add onError prop to SvgUri/Xml/Ast (3c32a6f)

v12.0.3

08 Mar 12:44
Compare
Choose a tag to compare

12.0.3 (2020-03-08)

Bug Fixes

  • android: default cap, join and handling of null matrix (df4ff9c)
  • ios: #1290 pointerEvents="none" gesture handling (11d14fd)
  • #1290 pointerEvents="none" (bd78998)

v12.0.2

05 Mar 11:15
Compare
Choose a tag to compare

12.0.2 (2020-03-05)

Bug Fixes

  • #1262 support single dimension + aspectRatio syntax (b2f7605)

v12.0.1

05 Mar 10:43
Compare
Choose a tag to compare

12.0.1 (2020-03-05)

Bug Fixes

  • #1262 allow setting width and height using stylesheet (c5374b2)
  • react-native 0.59 compat (c4dba22)

v12.0.0

04 Mar 18:00
Compare
Choose a tag to compare

12.0.0 (2020-03-04)

Bug Fixes

  • ios: handle gradient and pattern transform when null (715e9b8)
  • ios: pod install error (675df92)
  • web: #1274 Unable to build using babel-plugin-react-native-web (80b5064)
  • removed missing unnecessary React headers import error caused by non-framework style import (f795029)

Performance Improvements

  • optimize extraction of fill, stroke, responder, matrix & display (279c3fc)
  • optimize handling of font properties in G elements (0fa4177)
  • optimize handling of inherited styles (363c1b4)
  • optimize svg root prop handling, simplify element development (f0cd11d)

BREAKING CHANGES

  • default size might change if width or height is missing
  • Behavior of native elements is reverted to pre v10

v11.0.1

18 Jan 03:21
Compare
Choose a tag to compare

11.0.1 (2020-01-18)

Bug Fixes

Performance Improvements

  • optimize passing of colors to native (f138c9b)

v11.0.0

18 Jan 00:42
Compare
Choose a tag to compare

11.0.0 (2020-01-18)

Bug Fixes

  • compatibility with reanimated color, fixes #1241 (4983766)

  • android: NullPointerException when calling getBBox #1215 (3eb82a9)

  • android: support animating stroke color (c5dd62f)

  • android: support setting path null (2d34734)

  • ios: iOS 10.3 renders opaque background when drawRect is defined (61bc9bd), closes #1252

  • web: Allow createElement & unstable_createElement usage (#1240) (7a23968)

  • fix(android)!: pivot point for RN transform array syntax (db682f8)

BREAKING CHANGES

  • Makes android specific transform origin adjustments
    unnecessary / broken. Renders exactly the same as web and ios instead.

v10.1.0

12 Jan 17:41
Compare
Choose a tag to compare

10.1.0 (2020-01-12)

Bug Fixes

  • android: improve handling of native ancestors (89f4432)
  • ios: compile warning (e59c0fb)
  • ios: initial render foreignObject / re-render on mount of sub views (d549698)
  • ios: invalidate G / foreignObject on change in native children (65cee78)
  • foreignObject clipping and transform (85e7943)

Features

  • ForeignObject documentation (529b3bf)

v10.0.0

04 Jan 05:38
Compare
Choose a tag to compare

10.0.0 (2020-01-04)

  • feat!: Masks now support native elements (966881a)

BREAKING CHANGES

  • If you had native elements inside any Svg root before,
    Then your content might change appearance when upgrading,
    as e.g. transforms and masks now take effect.

v9.14.0

04 Jan 05:33
Compare
Choose a tag to compare

9.14.0 (2020-01-04)

Bug Fixes

  • android: correct values for measureInWindow, fixes #1231 (3bf07f8)
  • android: elements not touchable if below opacity limit (ebc7220), closes #1200
  • android: fix radial gradient vertical center offset scaling (d5bddd5)
  • ios: crash when offset is outside range #1201 (a2ef51f)
  • web: fix gesture responder dimensions measurement (36c20b3)
  • extraction of clip rule, fixes #1233 (f93bdde)
  • Text color doesn't work with inlineSize #1225 (027b8c1)

Features

  • android: support using other native views in e.g. masks (15b4ac6)
  • ios: support using other native views in e.g. masks (518a3b1)
  • web: Implement support for event, touch & responder handlers (60561ec)
  • web: Optimize: only set responders if press handler exists (23250ad)
  • Implement display="none" (3e3ad13), closes #1220