Releases: gregberge/svgr
Releases · gregberge/svgr
v8.1.0
Bug Fixes
- cli: fix default dimensions, prettier & svgo (571d5c8)
- config: prefer cli config over rc config (#845) (8b97248)
- react-native: fix duplicate import (#894) (e612b6a)
Features
v8.0.0
Bug Fixes
- parseObject error causes website broken (05f2946)
Features
- types: change
SVGProps
from import to import type (#853) (095f021)
- add snake_case filename option (#857) (428b0c7)
- make index template more flexible (#861) (003009c)
BREAKING CHANGES
- index template now receives an array of objects containing both the created
component path (path
) and the original SVG path (originalPath
)
v7.0.0
Features
BREAKING CHANGES
- plugin-jsx is no longer included by default in core
- svgr now requires Node.js v14+
v6.5.0
Bug Fixes
Features
- babel-preset: fix 'role' attribute on svg element for react native (#787) (35d85e0)
v6.4.0
Bug Fixes
- deps: add babel-preset to core dependencies (#782) (464ec5f)
Features
- a11y: add attribute role="img" to the svg element (#750) (8b9edc4)
- support spaces in file names (#779) (6ee639a)
v6.3.0
Bug Fixes
Features
- add descProp option (#729) (a0637d4)
- cli: output file name when error happen to handling a file (#702) (0ec1fbd)