Skip to content

Latest commit

 

History

History
289 lines (148 loc) · 14.1 KB

CHANGELOG.md

File metadata and controls

289 lines (148 loc) · 14.1 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

8.0.1 (2023-05-09)

Note: Version bump only for package @svgr/cli

8.0.0 (2023-05-09)

Features

  • add snake_case filename option (#857) (428b0c7)
  • make index template more flexible (#861) (003009c)
  • types: change SVGProps from import to import type (#853) (095f021)

BREAKING CHANGES

  • index template now receives an array of objects containing both the created component path (path) and the original SVG path (originalPath)

7.0.0 (2023-03-24)

Features

BREAKING CHANGES

  • svgr now requires Node.js v14+

6.5.1 (2022-10-27)

Reverts

  • Revert "feat(a11y): add attribute role="img" to the svg element (#750)" (1382232), closes #750

6.5.0 (2022-10-14)

Note: Version bump only for package @svgr/cli

6.4.0 (2022-10-01)

Features

  • a11y: add attribute role="img" to the svg element (#750) (8b9edc4)

6.3.1 (2022-07-22)

Note: Version bump only for package @svgr/cli

6.3.0 (2022-07-18)

Features

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

6.2.1 (2022-01-30)

Bug Fixes

6.2.0 (2022-01-10)

Bug Fixes

  • cli: pass in parser to prettier format to avoid deprecation warning (#662) (74fa3ae)

6.1.2 (2021-12-12)

Note: Version bump only for package @svgr/cli

6.1.1 (2021-12-04)

Note: Version bump only for package @svgr/cli

6.1.0 (2021-12-01)

Note: Version bump only for package @svgr/cli

5.5.0 (2020-11-15)

Bug Fixes

Performance Improvements

5.4.0 (2020-04-27)

Bug Fixes

Features

  • cli: make all CLI options available in config (a23a186), closes #431 #437

5.3.1 (2020-04-05)

Bug Fixes

5.3.0 (2020-03-22)

Bug Fixes

  • cli: remove confusion between {keep,ignore}-existing (#413) (c5430f9), closes #390

Features

5.2.0 (2020-02-23)

Note: Version bump only for package @svgr/cli

5.1.0 (2020-01-20)

Features

  • add Svg prefix to exports that starts with a number (#383) (fd120d1), closes #379
  • allow to provide custom index.js template (#378) (f734dda)

5.0.1 (2019-12-29)

Bug Fixes

  • fix engines in package.json (a45d6fc)

4.3.3 (2019-09-24)

Bug Fixes

  • babel-plugin-svg-dynamic-title: dont render empty title (#341) (88b24c5), closes #333

4.3.2 (2019-07-15)

Note: Version bump only for package @svgr/cli

4.3.1 (2019-07-01)

Note: Version bump only for package @svgr/cli

4.3.0 (2019-05-28)

Features

  • cli: output relative destination paths (#312) (b78e471)

4.2.0 (2019-04-11)

Bug Fixes

  • keep viewBox when dimensions are removed (#281) (f476c8e)
  • cli: fix kebab case transformation with "_" (39c24c5), closes #280

4.1.0 (2018-11-24)

Note: Version bump only for package @svgr/cli

4.0.3 (2018-11-13)

Note: Version bump only for package @svgr/cli

4.0.2 (2018-11-08)

Note: Version bump only for package @svgr/cli

4.0.1 (2018-11-08)

Note: Version bump only for package @svgr/cli

4.0.0 (2018-11-04)

Bug Fixes

  • cli: fix --out-dir usage with absolute path (#208) (c922e2e)

Features

BREAKING CHANGES

  • v4: - template option must now returns a Babel AST
  • @svgr/core does not include svgo & prettier by default

3.1.0 (2018-10-05)

Bug Fixes

3.0.0 (2018-10-01)

Features

BREAKING CHANGES

  • "--no-expand-props" is now replaced by "--expand-props none". You can now specify a position "start" or "end" for "expandProps" property.
  • svgAttributes has been removed, please use svgProps instead.
  • "ref" option now uses React.forwardRef. You don't have to use "svgRef" prop, just use "ref" and it will work. React.forwardRef requires React

    16.3.

  • config: - Runtime configuration is always loaded (even with Node API convert)
  • In CLI, "--config" is now "--config-file"; this new option can be used everywhere

2.4.1 (2018-09-16)

Bug Fixes

  • config: fix custom config & default options (#176) (9a6c40b)

2.4.0 (2018-09-16)

Features

  • upgrade: h2x@1.1.0 (jsdom@12.0.0) & others (2d9b7bd)
  • new option "svgProps" (#172) (9657110)

2.3.0 (2018-09-03)

Features

2.2.0 (2018-08-13)

Note: Version bump only for package @svgr/cli

2.1.1 (2018-07-11)

Note: Version bump only for package @svgr/cli

2.1.0 (2018-07-08)

Features