Packages

svgo

4.1.0 · 24 Aug 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed

Upgrading svgo From 0.2.0 to 0.7.2

35 releases in betweennotes for 20

Reading releases, release notes and advisories…

Other targets from 0.2.0Latest4.1.0
  1. 0.2.0yours
  2. 4 releases
  3. 0.3.0major
  4. 7 releases
  5. 0.4.0major
  6. 5 releases
  7. 0.5.0major
  8. 6 releases
  9. 0.6.0major
  10. 6 releases
  11. 0.7.0major
  12. 1 release
  13. 0.7.2target
1+
change to make
0
advisories fixed
16+
new
32+
fixes

Counted from 20 of 35 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated0.3.7

Release by release

  1. 0.7.2

    29 Jan 20173 fixes
    • Fixed

      Fixed removing <animate> in <stop>.

    • Fixed

      Fixed removing same transform in inner element in removeUnknownsAndDefaults.

    • Fixed

      Fixed collapsing groups with same non-inheritable attribue.

  2. 0.7.1

    27 Sep 20162 new
    • New

      Added addAttributesToSVGElement to the default config to allow using it with --enable option.

    • New

      Added korean translation of “How it works” doc

  3. 0.7.0

    25 Aug 20161 new · 2 fixes
    • New

      New plugins: removeElementsByAttr (by IDs or classes) addAttributesToSVGElement removeXMLNS (for SVG inlining)

    • Fixed

      Fixed bugs with collapsing groups with masks and transforms in collapseGroups.

    • Fixed

      Fixed bugs with erroneous removing IDs in cleanupIDs.

  4. 0.6.5 – 0.6.62 releases, nothing new or fixed in the notes

  5. 0.6.4

    5 Apr 20162 new · 1 fix
    • New

      Added --indent option to style pretty-printed SVG. (e.g. --indent 2)

    • New

      Added currentColor param to convertColors plugin for converting values like fill and stroke to currentColor

    • Fixed

      Fixed bug in “convertStyleToAttrs” plugin with converting styling properties to non-existent attributes (which are normally removed later by removeUnknownsAndDefaults).

  6. 0.6.3

    20 Mar 20162 fixes
    • Fixed

      Fixed regression in converting curves to arcs.

    • Fixed

      Fixed id removing with disabled plugins/convertStyleToAttrs.js.

  7. 0.6.2

    8 Mar 20163 fixes
    • Fixed

      Fixed error on converting curves to arcs.

    • Fixed

      Fixed matrix decomposition losing sign in case like [1, 0, 0, -1, 0, 0] (scale(1 -1)).

    • Fixed

      Fixed crash on uppercased color name.

  8. 0.6.1

    21 Nov 20151 new · 1 fix
    • New

      Added option --quite to suppress output

    • Fixed

      Fixed errors in “minifyStyles” when there are <style> elements with CDATA content or without content at all.

49 other lines we could not sort, mostly version bumps
  • Extended currentColor match conditions (string, rx, bool)

    0.7.2
  • Corrected removing of leading zero in case of exponential notation.

    0.7.2
  • Reverted the requirement of Node.js to version 0.10.

    0.7.1
  • Required Node.js version has increased to 0.12.

    0.7.0
  • Tests now correctly pass in Windows with CRLF line endings. Pretty print now accounts system line endings.

    0.7.0
  • Improved attributes sorting in sortAttrs

    0.7.0
  • addClassesToSVGElement no more repeats classes

    0.7.0
  • Corrected CSSO API usage

    0.6.6
  • Extra content inserted by editors are now being removed within <foreignObject> as well thus fixing bug “Namespace prefix … is not defined“ after applying SVGO.

    0.6.5
  • Doctype with entities declartion is now also being removed since SVGO correctly parses them starting from the version 0.6.2.

    0.6.5

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.