- Fixed: SVGO was changing colors to shorthand format, which caused SVGR attribute replacement with colors not to work correctly.
- Fixed: images with "width=100%" and/or "height=100%" were not displayed correctly. Disabled SVGO default setting to remove attributes with default values.
- Fixed: enabling SVGO was removing the
viewBox
attribute from SVG images, which caused the default size of the image not be applied correctly.
- Added: support for looking up SVGR config location based on asset path.
- Fixed: configure SVGR to use SVGO and inline styles when there are multiple selector matches.
- Updated:
@svgr/core
dependency to v4.3.3.
- Added: support for SVGR configuration file.
- Fixed: Compatibility with react-native v0.59.
- Updated:
@svgr/core
dependency to v4.1.0. - Updated:
semver
dependency to v5.6.0.
- Changed: use
@svgr/core
instead ofreact-native-svg-loader
to transform SVG images to React Native components.
- Fixed: broken
require
forreact-native-svg-loader
fork.
- Fixed: use a fork of
react-native-svg-loader
from npm.
- Fixed: use a fork of
react-native-svg-loader
to fix an issue with broken transforms.
- Added: support for
.svg
extension as React Native v0.57+ should support it.
- Initial release