Skip to content

Releases: gregberge/svgr

v8.1.0

15 Aug 06:46
772592e
Compare
Choose a tag to compare

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

09 May 09:48
a6699e7
Compare
Choose a tag to compare

Bug Fixes

v8.0.0

09 May 07:03
52a1079
Compare
Choose a tag to compare

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

24 Mar 09:17
3b04a92
Compare
Choose a tag to compare

Features

BREAKING CHANGES

  • plugin-jsx is no longer included by default in core
  • svgr now requires Node.js v14+

v6.5.1

27 Oct 21:47
d5efedd
Compare
Choose a tag to compare
v6.5.1

v6.5.0

14 Oct 14:02
b385279
Compare
Choose a tag to compare

Bug Fixes

Features

  • babel-preset: fix 'role' attribute on svg element for react native (#787) (35d85e0)

v6.4.0

01 Oct 07:34
fd423ae
Compare
Choose a tag to compare

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

22 Jul 15:04
1dbc3e2
Compare
Choose a tag to compare

Bug Fixes

v6.3.0

18 Jul 22:31
d29884e
Compare
Choose a tag to compare

Bug Fixes

Features

  • add descProp option (#729) (a0637d4)
  • cli: output file name when error happen to handling a file (#702) (0ec1fbd)

v6.2.1

30 Jan 10:51
6158fe7
Compare
Choose a tag to compare

Bug Fixes