react-native-svg 一个React Native的SVG库
react-native-svg 一个React Native的SVG库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
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
Assets
2
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)
Assets
2
Assets
2
Assets
2
9.12.0 (2019-10-19)
Bug Fixes
- 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)
Features
- 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)
Assets
2
Assets
2
Assets
2
Assets
2
Assets
2
A bunch of PRs merged
msand released this
Allow numeric dimensions in Use element
Fix touch in groups and use @maxkomarychev
Fixed TVOS target @Max2817
drawOutput() only when Layout is != 0 @Crash--
Remove 'child.type === Stop' check from extractGradient @Fitzpasd
Removing check for cachedClipPath when getting clipPath in VirtualNode, as it hinders image clip path update, when animating the clip path itself @RasmusFredensborg
Fixes android arc @davidpricedev
Implement onLayout @maxkomarychev
[android] Handle gracefully gradients with only one stop @isnotgood
[android] fix rendering of nested svg
[android] fix inherited attributes
[android] fix text hit test
Thanks to all the contributors and any users reporting reproducible issues!
Expo compatibility
msand released this
New release with fixes for integrating latest version into Expo. Thanks goes to @ide and @terribleben !
Happy lunar new year and spring festival everyone!
《雞飛除舊歲 狗來旺新年》𧫴祝闔家吉祥,和樂安康!
Bugfixes and align version with react-native init
msand released this
Implement correct transform parser
Implement custom distance along a path algorithm and data structure
Fix image positions and hit area calculations
Fix baseline alignment
Allow text on a path using any svg node
Optimize hasGlyph handling
Fix strokeWidth hitarea calculation
Fix percentage regex
Remove QuartzBookPack and PerformanceBezier
Fix tvOS compile issue Thanks to @dlowder-salesforce
Add typescript definitions Thanks to @simonbuchan
Fixes Android Release images not rendering (Issue #129) Thanks to @jerzxu
v6.0.1-rc.2
msand released this
Tailor made data structure and algorithm for text on a path.
Remove native iOS dependencies and various bug fixes.
Watchers:92 |
Star:5136 |
Fork:699 |
创建时间: 2016-01-17 22:29:21 |
最后Commits: 7月前 |
许可协议:MIT |
分类:混合移动开发 / JavaScript开发 |
收录时间:2017-06-13 18:24:06 |
ffa2e69
Compare
12.1.0 (2020-04-09)
Bug Fixes
Features