Skip to content

Releases: birdofpreyru/babel-preset-svgr

v1.8.0

18 Aug 11:55
Compare
Choose a tag to compare
  • Updates dependencies; in particular SVGR v8.0.1 ⇒ v8.1.0 (SVGR release notes).
  • Drops support for Node v14 & v19 (removed from test environments in CI/CD flow, as both have reached their end-of-life); adds support for Node v20 (added to the test environments in CI/CD flow, this is the new current Node version). See also Node release schedule.

v1.7.0

18 May 16:29
Compare
Choose a tag to compare

v1.6.0

30 Mar 12:37
Compare
Choose a tag to compare

v1.5.1

05 Nov 13:35
Compare
Choose a tag to compare
  • Updates dependencies.

v1.5.0

19 Oct 21:23
Compare
Choose a tag to compare
  • Updates dependencies, in particular SVGR v6.3.0 ⇒ 6.5.0 (see SVGR Changelog).
  • It is marked as a minor version update because new SVGR version adds role="img" attribute to generated <svg> elements.
  • Also since this release the compatibility with Node 12 (which reached its end-of-life on April 30, 2022) is not guaranteed. This is because the latest versions of packages (ESLint, Jest) used for testing of this preset in CI/CD do not work on Node 12, thus CI/CD is performed now in the environment with Node 14.20.1 (it is currently in maintenance status, with its end-of-life planned on Apr 30, 2023).

v1.4.2

21 Jul 11:53
Compare
Choose a tag to compare
  • Updates dependencies.

v1.4.1

06 Jun 15:43
Compare
Choose a tag to compare

Update of dependencies.

v1.4.0

29 Nov 21:32
Compare
Choose a tag to compare

Breaking Changes

  • Migration to SVGR v6 (v5.5.0v6.0.0). Under the hood it means SVGO migration v1.3.2v2.8.0, and alters output SVG code for the same SVG input, compared to the previous version. If you rely on custom SVGO configuration, this update changes how it should be configured. You may check other changes caused by SVGO upgrade in their release notes.

v1.3.1

19 Jul 22:09
Compare
Choose a tag to compare
  • [#16] Small README correction: the Babel's flag to keep file extensions is --keep-file-extension (it was written with trailing s before).
    Thanks to @saveman71
  • Updates of dev dependencies ⇒ irrelevant to end users.

v1.3.0

16 Nov 21:47
Compare
Choose a tag to compare
  • Updated to use SVGR v5.5.0. Marked as a minor version update because SVGR now keeps xmlns attributes in the processed SVGs. It may require to update your snapshot tests accordingly, etc.