12.1.0 (2020-04-09)
- web: improve react-native-web version compatibility (88953c3)
- implement WithLocalSvg (e66e87a)
- Support local .svg files, fixes #1306 (4e9e8b5)
- svgUri: add onError prop to SvgUri/Xml/Ast (3c32a6f)
12.0.3 (2020-03-08)
- android: default cap, join and handling of null matrix (df4ff9c)
- ios: #1290 pointerEvents="none" gesture handling (11d14fd)
- #1290 pointerEvents="none" (bd78998)
12.0.2 (2020-03-05)
12.0.1 (2020-03-05)
12.0.0 (2020-03-04)
- fix!: #1262 default width and height on svg (1d6798b), closes #1262
- fix!: #1247 Animated view translation inside Svg tag (0288d95), closes #1247 #1258
- 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)
- 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)
- default size might change if width or height is missing
- Behavior of native elements is reverted to pre v10
11.0.1 (2020-01-18)
- snapshot (a37afcb)
- optimize passing of colors to native (f138c9b)
11.0.0 (2020-01-18)
-
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)
- Makes android specific transform origin adjustments unnecessary / broken. Renders exactly the same as web and ios instead.
10.1.0 (2020-01-12)
- 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)
- ForeignObject documentation (529b3bf)
10.0.0 (2020-01-04)
- feat!: Masks now support native elements (966881a)
- 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.
9.14.0 (2020-01-04)
- 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)
- 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
9.13.6 (2019-12-10)
- android: better npm ignores (7bc717b)
9.13.5 (2019-12-09)
- android: deprecation warning in TSpanView (6035d2d)
9.13.4 (2019-12-09)
- initialize PathView with empty path (45192bd)
- ios: Fix image size when calling getDataURL with bounds. fixes #855 (45b0859)
9.13.3 (2019-10-25)
9.13.2 (2019-10-23)
9.13.1 (2019-10-23)
- update flow types (a50a856)
9.13.0 (2019-10-23)
- camelCase css from style elements (9ee5a28)
- don't overwrite inline styles when inlining style elements (6e1d825)
- handle basic css media query selectors (168ee25)
- handle style elements with CDATA (b3fca84)
- improve style element inlining, support more selectors and optimize (8c9de72)
- improve types for extractTransform (a37ebbb)
- only compute selector specificity once per selector (9f53e31)
- types for css support (c969159)
- use correct import in test (a57963e)
- implement experiment to inline css from style elements (5f3852b)
- implement SvgWithCss and SvgWithCssUri with Animated support (6fb8dd5)
9.12.0 (2019-10-19)
- handle setting transform attribute on clipPath, fixes #1152 (73b21d1)
- improve handling of transform attribute on clipPath, fixes #1152 (3aa126e)
- ios: backwards compatible RCTImageLoader.h handling fixes #1141 (3c22c97)
- ios: clipPath rendering, fixes #1131 (2534537)
- ios: deprecation of RCTImageLoader fixes #1141 (5452144)
- ios: fix changes in color/currentColor/tintColor, fixes #1151 (0c7e94d)
- ios: image viewBox opposite handling of y alignment, fixes #1138 (c69e9e2)
- js: allow setting stopColor/Opacity/Offset using styles, fix #1153 (5984e06)
- getPointAtLength signature (2c57af2)
- getScreenCTM calculation (5c5072d)
- improve native method spec conformance (c63f9e2)
- improve types for getBBox (cecde7d)
- prepare script (9a3dc4e)
- ios: memory leak in tspan, fixes #1073 (974f3a8)
- fix native methods spec conformance (ecedb21)
- Make native methods synchronous (8ce7611)
- refine types for matrix helpers (409af91)
- refine types for matrix helpers (7a3f867)
- android: defineMarker/getDefinedMarker storage (e6eda84)
- android: native method scaling and getScreenCTM offset (f3e0b19)
- native method signatures web compatibility / spec conformance (8687a3d)
- ios: optimize extractPathData, clear PathMeasure when no textPath (df69c26)
- flow: add flowgen to generate flow types from typescript, #1125 (fcd66fb)
- implement getBBox, getCTM, getScreenCTM (f13d54a)
- implement isPointInStroke (2ba64df)
- initial implementation of isPointInFill (203e53b)
- support using native methods using promises instead of callbacks (c28499b)
- android: implement getTotalLength and getPointAtLength (cd667d0)
- ios: implement getTotalLength and getPointAtLength (78c4f20)
9.11.1 (2019-10-03)
- marker onPress & gestures (bff92f0)
9.11.0 (2019-10-03)
- implement support for context-fill and context-stroke color (f9a7238)
9.10.2 (2019-10-02)
- marker viewBox translation (b111028)
9.10.1 (2019-10-01)
9.10.0 (2019-10-01)
- improve marker rendering (9628830)
- improve marker rendering (2e3069d)
- android: implement marker rendering (ceee5ff)
- ios: implement marker rendering (589363d)
- define marker attributes (61533c6)
- define marker element (e7b5978)
9.9.9 (2019-09-28)
9.9.8 (2019-09-28)
9.9.7 (2019-09-28)
- add gradientTransform to d.ts (3f08c46), closes #1069
- handling of gradients without stops (18828c0), closes #1099
- handling of rounded rect (c12d66e), closes #1112
- units in linear and radial gradients (70c54e6), closes #1110 #1118
9.9.6 (2019-09-27)
- ios: animation of clipPath contents, fixes #1119 (8bb5b22)
- handling of focusable, fixes #1117 (bd7e492)
9.9.5 (2019-09-25)
9.9.4 (2019-09-16)
- release process (79bbaf1)