Commit Graph

1636 Commits

Author SHA1 Message Date
Mikael Sand
c48104f0a6 chore: improve github templates 2020-02-07 00:54:42 +02:00
semantic-release-bot
4375ee676e chore(release): 11.0.1 [skip ci]
## [11.0.1](https://github.com/react-native-community/react-native-svg/compare/v11.0.0...v11.0.1) (2020-01-18)

### Bug Fixes

* snapshot ([a37afcb](a37afcb485))

### Performance Improvements

* optimize passing of colors to native ([f138c9b](f138c9b1ab))
2020-01-18 05:20:41 +02:00
Mikael Sand
a37afcb485 fix: snapshot 2020-01-18 05:17:44 +02:00
Mikael Sand
3b5dbc904e chore(ios): fix warning 2020-01-18 05:06:03 +02:00
Mikael Sand
f138c9b1ab perf: optimize passing of colors to native 2020-01-18 05:01:55 +02:00
semantic-release-bot
c12cd1e01a chore(release): 11.0.0 [skip ci]
# [11.0.0](https://github.com/react-native-community/react-native-svg/compare/v10.1.0...v11.0.0) (2020-01-18)

### Bug Fixes

* compatibility with reanimated color, fixes [#1241](https://github.com/react-native-community/react-native-svg/issues/1241) ([4983766](498376678e))
* **android:** NullPointerException when calling getBBox [#1215](https://github.com/react-native-community/react-native-svg/issues/1215) ([3eb82a9](3eb82a91b4))
* **android:** support animating stroke color ([c5dd62f](c5dd62f47b))
* **android:** support setting path null ([2d34734](2d347347a3))
* **ios:** iOS 10.3 renders opaque background when drawRect is defined ([61bc9bd](61bc9bd2cb)), closes [#1252](https://github.com/react-native-community/react-native-svg/issues/1252)
* **web:** Allow createElement & unstable_createElement usage ([#1240](https://github.com/react-native-community/react-native-svg/issues/1240)) ([7a23968](7a23968f3d))

* fix(android)!: pivot point for RN transform array syntax ([db682f8](db682f87bc))

### BREAKING CHANGES

* Makes android specific transform origin adjustments
 unnecessary / broken. Renders exactly the same as web and ios instead.
2020-01-18 02:41:41 +02:00
Mikael Sand
498376678e fix: compatibility with reanimated color, fixes #1241 2020-01-18 02:32:00 +02:00
Mikael Sand
61bc9bd2cb fix(ios): iOS 10.3 renders opaque background when drawRect is defined
v10 of rnsvg introduced (void)drawRect:(CGRect)rect into RNSVGGroup.m

fixes #1252
2020-01-16 13:03:36 +02:00
Mikael Sand
3eb82a91b4 fix(android): NullPointerException when calling getBBox #1215
Also fixes for other native methods
2020-01-15 03:12:45 +02:00
Mathieu Acthernoene
7a23968f3d fix(web): Allow createElement & unstable_createElement usage (#1240) 2020-01-15 02:22:56 +02:00
Mikael Sand
c2c524af54 Merge pull request #1249 from HelloCore/fix/animated-stroke-path
fix(android): animated stroked path with useNativeDriver: true
2020-01-15 02:18:47 +02:00
Mikael Sand
db682f87bc fix(android)!: pivot point for RN transform array syntax
BREAKING CHANGE: Makes android specific transform origin adjustments
 unnecessary / broken. Renders exactly the same as web and ios instead.
2020-01-15 02:09:32 +02:00
Core
c5dd62f47b fix(android): support animating stroke color 2020-01-14 12:12:18 +07:00
Core
2d347347a3 fix(android): support setting path null 2020-01-14 12:11:58 +07:00
semantic-release-bot
d12b01cbc2 chore(release): 10.1.0 [skip ci]
# [10.1.0](https://github.com/react-native-community/react-native-svg/compare/v10.0.0...v10.1.0) (2020-01-12)

### Bug Fixes

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

### Features

* ForeignObject documentation ([529b3bf](529b3bfaa0))
2020-01-12 19:41:16 +02:00
Mikael Sand
eceb70b379 chore: upgrade deps, lint, format 2020-01-12 19:39:18 +02:00
Mikael Sand
529b3bfaa0 feat: ForeignObject documentation 2020-01-12 19:10:17 +02:00
Mikael Sand
3857fc4308 refactor(web): improve types 2020-01-12 18:39:03 +02:00
Mikael Sand
e48538d0ba Merge pull request #1242 from SaeedZhiany/supportForeignObject
Added support for ForeignObject
2020-01-12 03:43:24 +02:00
Mikael Sand
65cee78a33 fix(ios): invalidate G / foreignObject on change in native children 2020-01-12 02:42:15 +02:00
Mikael Sand
b5b1ececc0 refactor(ios): only invalidate foreignObject on did mount if not ready 2020-01-12 01:33:27 +02:00
Mikael Sand
d54969846d fix(ios): initial render foreignObject / re-render on mount of sub views 2020-01-12 01:08:32 +02:00
Mikael Sand
85e7943448 fix: foreignObject clipping and transform 2020-01-11 21:35:44 +02:00
Mikael Sand
f50017164b Merge pull request #1245 from zoontek/fix-regression
Delete regression that make every component accessible by default
2020-01-10 02:35:39 +02:00
Mathieu Acthernoene
84232a87f8 Delete regression that make every component accessible by default 2020-01-08 10:42:36 +01:00
SaeedZhiany
f18c483555 Added support for ForeignObject 2020-01-07 14:20:07 +03:30
Mikael Sand
e59c0fb9c0 fix(ios): compile warning 2020-01-04 16:33:50 +02:00
Mikael Sand
89f443236e fix(android): improve handling of native ancestors 2020-01-04 16:33:23 +02:00
semantic-release-bot
0d302250ce chore(release): 10.0.0 [skip ci]
# [10.0.0](https://github.com/react-native-community/react-native-svg/compare/v9.14.0...v10.0.0) (2020-01-04)

* feat!: Masks now support native elements ([966881a](966881a67d))

### 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.
2020-01-04 07:38:15 +02:00
Mikael Sand
966881a67d feat!: Masks now support native elements
BREAKING CHANGE: 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.
2020-01-04 07:37:20 +02:00
semantic-release-bot
1749176fac chore(release): 9.14.0 [skip ci]
# [9.14.0](https://github.com/react-native-community/react-native-svg/compare/v9.13.6...v9.14.0) (2020-01-04)

### Bug Fixes

* **android:** correct values for measureInWindow, fixes [#1231](https://github.com/react-native-community/react-native-svg/issues/1231) ([3bf07f8](3bf07f8085))
* **android:** elements not touchable if below opacity limit ([ebc7220](ebc7220f4d)), closes [#1200](https://github.com/react-native-community/react-native-svg/issues/1200)
* **android:** fix radial gradient vertical center offset scaling ([d5bddd5](d5bddd5e2d))
* **ios:** crash when offset is outside range [#1201](https://github.com/react-native-community/react-native-svg/issues/1201) ([a2ef51f](a2ef51fdfa))
* **web:** fix gesture responder dimensions measurement ([36c20b3](36c20b3763))
* extraction of clip rule, fixes [#1233](https://github.com/react-native-community/react-native-svg/issues/1233) ([f93bdde](f93bdde26f))
* Text color doesn't work with inlineSize [#1225](https://github.com/react-native-community/react-native-svg/issues/1225) ([027b8c1](027b8c16aa))

### Features

* **android:** support using other native views in e.g. masks ([15b4ac6](15b4ac63b9))
* **ios:** support using other native views in e.g. masks ([518a3b1](518a3b1836))
* **web:** Implement support for event, touch & responder handlers ([60561ec](60561ec38d))
* **web:** Optimize: only set responders if press handler exists ([23250ad](23250ad30a))
* Implement display="none" ([3e3ad13](3e3ad13b65)), closes [#1220](https://github.com/react-native-community/react-native-svg/issues/1220)
2020-01-04 07:32:51 +02:00
Mikael Sand
db76e6f22c feat!: note about masks and native elements as ancestors of svg
BREAKING CHANGE
2020-01-04 07:32:12 +02:00
Mikael Sand
ebc7220f4d fix(android): elements not touchable if below opacity limit
fixes #1200:
  <Rect>, <Ellipse> are not rendered if opacity set to 0 on Android
2020-01-04 07:22:41 +02:00
Mikael Sand
a2ef51fdfa fix(ios): crash when offset is outside range #1201 2020-01-04 07:18:16 +02:00
Mikael Sand
d5bddd5e2d fix(android): fix radial gradient vertical center offset scaling 2020-01-04 06:06:11 +02:00
Mikael Sand
36c20b3763 fix(web): fix gesture responder dimensions measurement 2020-01-04 03:08:49 +02:00
Mikael Sand
f93bdde26f fix: extraction of clip rule, fixes #1233 2020-01-04 01:19:02 +02:00
Mikael Sand
3bf07f8085 fix(android): correct values for measureInWindow, fixes #1231 2020-01-04 00:43:22 +02:00
Mikael Sand
518a3b1836 feat(ios): support using other native views in e.g. masks 2020-01-03 22:06:20 +02:00
Mikael Sand
15b4ac63b9 feat(android): support using other native views in e.g. masks 2020-01-03 20:17:21 +02:00
Mikael Sand
d7043bb9e5 refactor(web): improve types 2020-01-03 02:51:03 +02:00
Mikael Sand
bb9d384381 refactor(web): improve types 2020-01-03 02:48:02 +02:00
Mikael Sand
23250ad30a feat(web): Optimize: only set responders if press handler exists 2020-01-03 01:45:27 +02:00
Mikael Sand
60561ec38d feat(web): Implement support for event, touch & responder handlers 2020-01-03 00:51:31 +02:00
Mikael Sand
3e3ad13b65 feat: Implement display="none"
fixes: Enable display svg prop #1220
2020-01-01 21:34:03 +02:00
Mikael Sand
027b8c16aa fix: Text color doesn't work with inlineSize #1225 2020-01-01 20:28:30 +02:00
semantic-release-bot
690c3aa4e0 chore(release): 9.13.6 [skip ci]
## [9.13.6](https://github.com/react-native-community/react-native-svg/compare/v9.13.5...v9.13.6) (2019-12-10)

### Bug Fixes

* **android:** better npm ignores ([7bc717b](7bc717bfd5))
2019-12-10 21:21:50 +02:00
Mikael Sand
7bc717bfd5 fix(android): better npm ignores
Had to make a commit to have semantic-release notice any changes
Also, format markdown files
2019-12-10 21:21:35 +02:00
Mikael Sand
f0e13a7a7d Merge pull request #1219 from SaeedZhiany/patch-2
ignore some more file and folders in android path
2019-12-10 21:12:44 +02:00
Mikael Sand
29cc11e914 Merge pull request #1218 from SaeedZhiany/patch-1
added common Marker props to CommonPathProps
2019-12-10 21:12:11 +02:00