Home
Projects
Resources
Alternatives
Blog
Sign In
Svgr Versions
Save
Transform SVGs into React components 🦁
Overview
Versions
Reviews
Resources
v8.1.0
8 months ago
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
esm:
add support for svgo.config.cjs (
#879
) (
ae91e2e
)
v8.0.1
11 months ago
Bug Fixes
fix peer dependencies (
2e05255
)
v8.0.0
11 months ago
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
1 year ago
Features
allow specifying
jsxRuntimeImport
in config (
86bb86f
), closes
#801
#801
remove
@svgr
/plugin-jsx from core (
a0f078d
)
upgrade to svgo v3 (
#798
) (
21b6209
)
BREAKING CHANGES
plugin-jsx is no longer included by default in core
svgr now requires Node.js v14+
v6.5.1
1 year ago
v6.5.0
1 year ago
Bug Fixes
fix Yarn peer dependency warning from
@babel
/core (
#786
) (
db35837
), closes
#785
Features
babel-preset:
fix 'role' attribute on svg element for react native (
#787
) (
35d85e0
)
v6.4.0
1 year ago
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.1
1 year ago
Bug Fixes
fix duplicate plugin/preset detected error (
#747
) (
3c6a54c
), closes
#746
fix exports compat with ESM (
#749
) (
f3e304c
)
v6.3.0
1 year ago
Bug Fixes
core:
types field in package.json (
#693
) (
a491ace
)
package.json:
fix exports (
#745
) (
2a368d1
)
Features
add descProp option (
#729
) (
a0637d4
)
cli:
output file name when error happen to handling a file (
#702
) (
0ec1fbd
)
v6.2.1
2 years ago
Bug Fixes
do not transform mask-type (
#673
) (
6e58f2c
), closes
#643
use .ts extension for generated index (
#670
) (
d19abe2
), closes
#462
« Previous
Next »
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github