Wojciech Lewicki
1a752999d9
Release 12.4.0
2022-07-15 12:51:41 +02:00
Marlene Cota
28d51bdf06
Add Windows support ( #1632 )
...
Adds Windows support.
Co-authored-by: Adam Gleitman <adam.gleitman@gmail.com >
Co-authored-by: REDMOND\agnel <agnel@microsoft.com >
2022-07-15 11:50:58 +02:00
TikiTDO
4d3c521a22
Do not include build artifacts in the npm package ( #1786 )
...
* Fixes #1785
2022-07-14 17:14:48 +02:00
Stephen Pittman
2a44346049
Fix many JS vulns, fix tests ( #1775 )
...
* fix: lint problem
* fix: ignore malformed JSON file for FlowJS
* fix: add missing @types/jest package
* chore: update TypeScript version
* chore: update all eslint deps
Includes updating and installing missing/wrong peer deps
* chore: update all Jest deps
* chore: replace Jest config with jest.config.ts
* fix: make root Jest tests ignore Example folders
* chore: update css-select dep
* chore: update css-tree to latest 1.x version
2.x broke tests so left a 1.x
* chore: upgrade ansi-regex to close JS vuln
* chore: upgrade ejs to close JS vuln
* chore: upgrade async to close JS vuln
* chore: upgrade simple-plist to close JS vuln
2022-07-14 16:25:55 +02:00
dependabot[bot]
650275fdf5
chore(deps-dev): bump react-native from 0.61.5 to 0.62.3 ( #1617 )
...
Bumps [react-native](https://github.com/facebook/react-native ) from 0.61.5 to 0.62.3.
- [Release notes](https://github.com/facebook/react-native/releases )
- [Changelog](https://github.com/facebook/react-native/blob/main/Releases.md )
- [Commits](https://github.com/facebook/react-native/compare/v0.61.5...v0.62.3 )
---
updated-dependencies:
- dependency-name: react-native
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 21:00:27 +01:00
Wojciech Lewicki
54e40251a4
Release 12.3.0
2022-03-02 12:29:26 +01:00
Wojciech Lewicki
b2c86c72f9
feat: add release-it ( #1714 )
...
Changed semantic-release to release-it.
2022-03-02 12:23:44 +01:00
Eric Anderson
3bc3338d2a
Update to css-select to avoid security warnings ( #1692 )
...
nth-check has a security vulnerability and is depended on by css-select. Updates css-select to fix.
2022-02-23 12:22:44 +01:00
Brent Vatne
fa71673b58
Release v12.2.0
2021-08-13 11:05:18 -07:00
Douglas Lowder
64c3c9f79c
fix: Fix ts types ( #1628 )
2021-08-13 10:58:20 -07:00
Adam Gleitman
efa4987bac
Change folder name in package.json
2021-01-26 13:39:15 -08:00
semantic-release-bot
ffa2e69c17
chore(release): 12.1.0 [skip ci]
...
# [12.1.0](https://github.com/react-native-community/react-native-svg/compare/v12.0.3...v12.1.0 ) (2020-04-09)
### Bug Fixes
* **web:** improve react-native-web version compatibility ([88953c3 ](88953c3f29 ))
### Features
* implement WithLocalSvg ([e66e87a ](e66e87a5b5 ))
* Support local .svg files, fixes [#1306 ](https://github.com/react-native-community/react-native-svg/issues/1306 ) ([4e9e8b5 ](4e9e8b58b2 ))
* **svgUri:** add onError prop to SvgUri/Xml/Ast ([3c32a6f ](3c32a6fdd5 ))
2020-04-10 02:50:01 +03:00
semantic-release-bot
4965d6cd25
chore(release): 12.0.3 [skip ci]
...
## [12.0.3](https://github.com/react-native-community/react-native-svg/compare/v12.0.2...v12.0.3 ) (2020-03-08)
### Bug Fixes
* **android:** default cap, join and handling of null matrix ([df4ff9c ](df4ff9caa7 ))
* **ios:** [#1290 ](https://github.com/react-native-community/react-native-svg/issues/1290 ) pointerEvents="none" gesture handling ([11d14fd ](11d14fd399 ))
* [#1290 ](https://github.com/react-native-community/react-native-svg/issues/1290 ) pointerEvents="none" ([bd78998 ](bd78998a2b ))
2020-03-08 14:44:28 +02:00
semantic-release-bot
d59d9dc64f
chore(release): 12.0.2 [skip ci]
...
## [12.0.2](https://github.com/react-native-community/react-native-svg/compare/v12.0.1...v12.0.2 ) (2020-03-05)
### Bug Fixes
* [#1262 ](https://github.com/react-native-community/react-native-svg/issues/1262 ) support single dimension + aspectRatio syntax ([b2f7605 ](b2f7605855 ))
2020-03-05 13:14:27 +02:00
semantic-release-bot
0362f44b8c
chore(release): 12.0.1 [skip ci]
...
## [12.0.1](https://github.com/react-native-community/react-native-svg/compare/v12.0.0...v12.0.1 ) (2020-03-05)
### Bug Fixes
* [#1262 ](https://github.com/react-native-community/react-native-svg/issues/1262 ) allow setting width and height using stylesheet ([c5374b2 ](c5374b297e ))
* react-native 0.59 compat ([c4dba22 ](c4dba222a3 ))
2020-03-05 12:42:39 +02:00
Mikael Sand
8c6d96b7de
chore: upgrade deps
2020-03-05 12:40:10 +02:00
semantic-release-bot
f6931da688
chore(release): 12.0.0 [skip ci]
...
# [12.0.0](https://github.com/react-native-community/react-native-svg/compare/v11.0.1...v12.0.0 ) (2020-03-04)
* fix!: #1262 default width and height on svg ([1d6798b ](1d6798b08f )), closes [#1262 ](https://github.com/react-native-community/react-native-svg/issues/1262 )
* fix!: #1247 Animated view translation inside Svg tag ([0288d95 ](0288d95e7b )), closes [#1247 ](https://github.com/react-native-community/react-native-svg/issues/1247 ) [#1258 ](https://github.com/react-native-community/react-native-svg/issues/1258 )
### Bug Fixes
* **ios:** handle gradient and pattern transform when null ([715e9b8 ](715e9b82a8 ))
* **ios:** pod install error ([675df92 ](675df92407 ))
* **web:** [#1274 ](https://github.com/react-native-community/react-native-svg/issues/1274 ) Unable to build using babel-plugin-react-native-web ([80b5064 ](80b5064154 ))
* removed missing unnecessary React headers import error caused by non-framework style import ([f795029 ](f795029c2a ))
### Performance Improvements
* optimize extraction of fill, stroke, responder, matrix & display ([279c3fc ](279c3fcf84 ))
* optimize handling of font properties in G elements ([0fa4177 ](0fa4177ed7 ))
* optimize handling of inherited styles ([363c1b4 ](363c1b491f ))
* optimize svg root prop handling, simplify element development ([f0cd11d ](f0cd11d6f6 ))
### BREAKING CHANGES
* default size might change if width or height is missing
* Behavior of native elements is reverted to pre v10
2020-03-04 20:00:02 +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
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
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
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
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
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
semantic-release-bot
ff4d252835
chore(release): 9.13.5 [skip ci]
...
## [9.13.5](https://github.com/react-native-community/react-native-svg/compare/v9.13.4...v9.13.5 ) (2019-12-09)
### Bug Fixes
* **android:** deprecation warning in TSpanView ([6035d2d ](6035d2df13 ))
2019-12-09 23:51:54 +02:00
semantic-release-bot
80a747cf85
chore(release): 9.13.4 [skip ci]
...
## [9.13.4](https://github.com/react-native-community/react-native-svg/compare/v9.13.3...v9.13.4 ) (2019-12-09)
### Bug Fixes
* initialize PathView with empty path ([45192bd ](45192bd086 ))
* **ios:** Fix image size when calling getDataURL with bounds. fixes [#855 ](https://github.com/react-native-community/react-native-svg/issues/855 ) ([45b0859 ](45b0859b7f ))
2019-12-09 21:32:42 +02:00
SAEED
a4a27e685f
separate npmignore entries into their related folders
2019-11-13 11:21:11 +03:30
semantic-release-bot
29dd8a43df
chore(release): 9.13.3 [skip ci]
...
## [9.13.3](https://github.com/react-native-community/react-native-svg/compare/v9.13.2...v9.13.3 ) (2019-10-25)
### Bug Fixes
* **android:** Image onPress [#1170 ](https://github.com/react-native-community/react-native-svg/issues/1170 ) ([5c967b7 ](5c967b7c69 ))
2019-10-25 21:37:48 +03:00
Mikael Sand
18036efc3c
deps: upgrades
2019-10-25 21:34:32 +03:00
semantic-release-bot
021b1a864c
chore(release): 9.13.2 [skip ci]
...
## [9.13.2](https://github.com/react-native-community/react-native-svg/compare/v9.13.1...v9.13.2 ) (2019-10-23)
### Bug Fixes
* make css-select and css-tree dependencies instead of peers ([957914d ](957914d59b )), closes [#1166 ](https://github.com/react-native-community/react-native-svg/issues/1166 )
2019-10-23 21:21:43 +03:00
Mikael Sand
957914d59b
fix: make css-select and css-tree dependencies instead of peers
...
fixes #1166
metro tries to resolve the dependencies,
even if the components which are using them are not used / imported.
2019-10-23 21:21:10 +03:00
semantic-release-bot
f24dd66799
chore(release): 9.13.1 [skip ci]
...
## [9.13.1](https://github.com/react-native-community/react-native-svg/compare/v9.13.0...v9.13.1 ) (2019-10-23)
### Bug Fixes
* update flow types ([a50a856 ](a50a85671e ))
2019-10-23 20:28:31 +03:00
semantic-release-bot
8c1a1737b0
chore(release): 9.13.0 [skip ci]
...
# [9.13.0](https://github.com/react-native-community/react-native-svg/compare/v9.12.0...v9.13.0 ) (2019-10-23)
### Bug Fixes
* camelCase css from style elements ([9ee5a28 ](9ee5a28b37 ))
* don't overwrite inline styles when inlining style elements ([6e1d825 ](6e1d8257a4 ))
* handle basic css media query selectors ([168ee25 ](168ee25ee4 ))
* handle style elements with CDATA ([b3fca84 ](b3fca84fb1 ))
* improve style element inlining, support more selectors and optimize ([8c9de72 ](8c9de72bda ))
* improve types for extractTransform ([a37ebbb ](a37ebbbb15 ))
* only compute selector specificity once per selector ([9f53e31 ](9f53e31b24 ))
* types for css support ([c969159 ](c96915923e ))
* use correct import in test ([a57963e ](a57963eb4d ))
### Features
* implement experiment to inline css from style elements ([5f3852b ](5f3852bf9c ))
* implement SvgWithCss and SvgWithCssUri with Animated support ([6fb8dd5 ](6fb8dd53db ))
2019-10-23 19:18:57 +03:00
Mikael Sand
6fb8dd53db
feat: implement SvgWithCss and SvgWithCssUri with Animated support
...
Expose types of SvgCss, SvgWithCss, SvgCssUri & SvgWithCssUri
Move css-select and css-tree to peerDependencies & devDependencies
2019-10-23 19:13:57 +03:00
Mikael Sand
b1c0a43e9a
tests: add test for combining parse with inlineStyles
2019-10-23 17:43:41 +03:00
Tuomas Jaakola
614233786c
merge conflict resolved
2019-10-22 12:32:02 +03:00
Mikael Sand
091ca82900
refactor: vendor stable and optimize
2019-10-21 22:50:56 +03:00
Mikael Sand
2c894625c7
refactor: refine types, optimize adapter
2019-10-21 22:26:46 +03:00
Mikael Sand
c59654c2dc
refactor: remove css-select-base-adapter dependency
2019-10-21 19:13:52 +03:00
Tuomas Jaakola
02e725948b
merge conflict with package-lock.json, refreshed
2019-10-21 18:09:00 +03:00
Mikael Sand
744354aa21
refactor: simplify initializing styles, simpler and stricter types
2019-10-21 18:06:00 +03:00
Tuomas Jaakola
8ebd84f792
test case for css support
2019-10-21 10:57:20 +03:00
Mikael Sand
5f3852bf9c
feat: implement experiment to inline css from style elements
2019-10-20 15:35:33 +03:00
semantic-release-bot
189df82f17
chore(release): 9.12.0 [skip ci]
...
# [9.12.0](https://github.com/react-native-community/react-native-svg/compare/v9.11.1...v9.12.0 ) (2019-10-19)
### Bug Fixes
* handle setting transform attribute on clipPath, fixes [#1152 ](https://github.com/react-native-community/react-native-svg/issues/1152 ) ([73b21d1 ](https://github.com/react-native-community/react-native-svg/commit/73b21d1 ))
* improve handling of transform attribute on clipPath, fixes [#1152 ](https://github.com/react-native-community/react-native-svg/issues/1152 ) ([3aa126e ](https://github.com/react-native-community/react-native-svg/commit/3aa126e ))
* **ios:** backwards compatible RCTImageLoader.h handling fixes [#1141 ](https://github.com/react-native-community/react-native-svg/issues/1141 ) ([3c22c97 ](https://github.com/react-native-community/react-native-svg/commit/3c22c97 ))
* **ios:** clipPath rendering, fixes [#1131 ](https://github.com/react-native-community/react-native-svg/issues/1131 ) ([2534537 ](https://github.com/react-native-community/react-native-svg/commit/2534537 ))
* **ios:** deprecation of RCTImageLoader fixes [#1141 ](https://github.com/react-native-community/react-native-svg/issues/1141 ) ([5452144 ](https://github.com/react-native-community/react-native-svg/commit/5452144 ))
* **ios:** fix changes in color/currentColor/tintColor, fixes [#1151 ](https://github.com/react-native-community/react-native-svg/issues/1151 ) ([0c7e94d ](https://github.com/react-native-community/react-native-svg/commit/0c7e94d ))
* **ios:** image viewBox opposite handling of y alignment, fixes [#1138 ](https://github.com/react-native-community/react-native-svg/issues/1138 ) ([c69e9e2 ](https://github.com/react-native-community/react-native-svg/commit/c69e9e2 ))
* **js:** allow setting stopColor/Opacity/Offset using styles, fix [#1153 ](https://github.com/react-native-community/react-native-svg/issues/1153 ) ([5984e06 ](https://github.com/react-native-community/react-native-svg/commit/5984e06 ))
* getPointAtLength signature ([2c57af2 ](https://github.com/react-native-community/react-native-svg/commit/2c57af2 ))
* getScreenCTM calculation ([5c5072d ](https://github.com/react-native-community/react-native-svg/commit/5c5072d ))
* improve native method spec conformance ([c63f9e2 ](https://github.com/react-native-community/react-native-svg/commit/c63f9e2 ))
* improve types for getBBox ([cecde7d ](https://github.com/react-native-community/react-native-svg/commit/cecde7d ))
* prepare script ([9a3dc4e ](https://github.com/react-native-community/react-native-svg/commit/9a3dc4e ))
* **ios:** memory leak in tspan, fixes [#1073 ](https://github.com/react-native-community/react-native-svg/issues/1073 ) ([974f3a8 ](https://github.com/react-native-community/react-native-svg/commit/974f3a8 ))
* fix native methods spec conformance ([ecedb21 ](https://github.com/react-native-community/react-native-svg/commit/ecedb21 ))
* Make native methods synchronous ([8ce7611 ](https://github.com/react-native-community/react-native-svg/commit/8ce7611 ))
* refine types for matrix helpers ([409af91 ](https://github.com/react-native-community/react-native-svg/commit/409af91 ))
* refine types for matrix helpers ([7a3f867 ](https://github.com/react-native-community/react-native-svg/commit/7a3f867 ))
* **android:** defineMarker/getDefinedMarker storage ([e6eda84 ](https://github.com/react-native-community/react-native-svg/commit/e6eda84 ))
* **android:** native method scaling and getScreenCTM offset ([f3e0b19 ](https://github.com/react-native-community/react-native-svg/commit/f3e0b19 ))
* native method signatures web compatibility / spec conformance ([8687a3d ](https://github.com/react-native-community/react-native-svg/commit/8687a3d ))
* **ios:** optimize extractPathData, clear PathMeasure when no textPath ([df69c26 ](https://github.com/react-native-community/react-native-svg/commit/df69c26 ))
### Features
* **flow:** add flowgen to generate flow types from typescript, [#1125 ](https://github.com/react-native-community/react-native-svg/issues/1125 ) ([fcd66fb ](https://github.com/react-native-community/react-native-svg/commit/fcd66fb ))
* implement getBBox, getCTM, getScreenCTM ([f13d54a ](https://github.com/react-native-community/react-native-svg/commit/f13d54a ))
* implement isPointInStroke ([2ba64df ](https://github.com/react-native-community/react-native-svg/commit/2ba64df ))
* initial implementation of isPointInFill ([203e53b ](https://github.com/react-native-community/react-native-svg/commit/203e53b ))
* support using native methods using promises instead of callbacks ([c28499b ](https://github.com/react-native-community/react-native-svg/commit/c28499b ))
* **android:** implement getTotalLength and getPointAtLength ([cd667d0 ](https://github.com/react-native-community/react-native-svg/commit/cd667d0 ))
* **ios:** implement getTotalLength and getPointAtLength ([78c4f20 ](https://github.com/react-native-community/react-native-svg/commit/78c4f20 ))
2019-10-19 23:09:58 +03:00
Mikael Sand
9a3dc4e71d
fix: prepare script
2019-10-07 21:46:48 +03:00
Mikael Sand
fcd66fbf47
feat(flow): add flowgen to generate flow types from typescript, #1125
...
upgrade dev deps
2019-10-07 18:59:09 +03:00
semantic-release-bot
b6ee11ad9e
chore(release): 9.11.1 [skip ci]
...
## [9.11.1](https://github.com/react-native-community/react-native-svg/compare/v9.11.0...v9.11.1 ) (2019-10-03)
### Bug Fixes
* marker onPress & gestures ([bff92f0 ](https://github.com/react-native-community/react-native-svg/commit/bff92f0 ))
2019-10-03 16:51:09 +03:00
semantic-release-bot
c50479416d
chore(release): 9.11.0 [skip ci]
...
# [9.11.0](https://github.com/react-native-community/react-native-svg/compare/v9.10.2...v9.11.0 ) (2019-10-03)
### Features
* implement support for context-fill and context-stroke color ([f9a7238 ](https://github.com/react-native-community/react-native-svg/commit/f9a7238 ))
2019-10-03 14:16:33 +03:00
semantic-release-bot
b192bb5214
chore(release): 9.10.2 [skip ci]
...
## [9.10.2](https://github.com/react-native-community/react-native-svg/compare/v9.10.1...v9.10.2 ) (2019-10-02)
### Bug Fixes
* marker viewBox translation ([b111028 ](https://github.com/react-native-community/react-native-svg/commit/b111028 ))
2019-10-02 03:24:30 +03:00