Skip to content

Releases: svg/svgo

0.6.6 / 25.04.2016

25 Apr 11:29

Choose a tag to compare

  • Corrected CSSO API usage

0.6.5 / 25.04.2016

25 Apr 11:21

Choose a tag to compare

  • Extra content inserted by editors are now being removed within <foreignObject> as well thus fixing bug “Namespace prefix … is not defined“ after applying SVGO.
  • Doctype with entities declartion is now also being removed since SVGO correctly parses them starting from the version 0.6.2.
  • Corrected moveGroupAttrsToElems not to move attributes to g content if it's referenced (has an id).
  • collapseGroups now don't collapse a group if it has an animated attribute (SMIL).

0.6.4 / 05.04.2016

05 Apr 15:14

Choose a tag to compare

  • Fixed bug in “convertStyleToAttrs” plugin with converting styling properties to non-existent attributes (which are normally removed later by removeUnknownsAndDefaults).
  • Added --indent option to style pretty-printed SVG. (e.g. --indent 2) (by @scurker).
  • Added currentColor param to convertColors plugin for converting values like fill and stroke to currentColor (by @scurker).
  • Bumped CSSO to the current version and used its new shiny API (thanks to @lahmatiy).

0.6.3 / 20.03.2016

20 Mar 18:19

Choose a tag to compare

  • Smart rounding (introduced in 0.4.5) now applies only when rounding is needed, thus making subsequent passes more stable.
  • Fixed regression in converting curves to arcs.
  • xlink:href references are now being checked by local name href, thus correctly working with another namespace prefix.
  • Fixed id removing with disabled plugins/convertStyleToAttrs.js.

0.6.2 / 08.03.2016

08 Mar 18:04

Choose a tag to compare

  • Better error handling and messaging improvements.
  • SVG files with XML entities (e.g. from Adobe Illustrator) are now correctly being parsed.
  • Fixed error on converting curves to arcs.
  • Corrected rounding in subsequent passes with --multipass option.
  • Data URI option now handles charset (by @holymonson)
  • Tranformations are no longer moved to group if there is a mask (plugins/moveElemsAttrsToGroup.js).
  • Fixed matrix decomposition losing sign in case like [1, 0, 0, -1, 0, 0] (scale(1 -1)).
  • Fixed crash on uppercased color name.
  • Paths with id and without stroke-width aren't being trasformed now since stroke-width may be applied later.

0.6.1 / 21.11.2015

21 Nov 11:06

Choose a tag to compare

  • Added option --quite to suppress output (by @phihag).
  • Removed lib-cov folder from the package, which was erroneously included before.
  • Fixed errors in “minifyStyles” when there are <style> elements with CDATA content or without content at all.
  • Amended transform functions parsing to prevent errors when there are no separators between numbers (which isn't allowed by syntax, but understood by browsers).

0.6.0 / 08.11.2015

08 Nov 17:35

Choose a tag to compare

  • New optimization: circular curves are now being converted to arcs. A notable improvement for circles within paths.
  • New plugin “minifyStyles” which minifies <style> elments content with CSSO by @strarsis (svgo still doesn't understand its content)
  • New plugin “removeStyleElement” (disabled by default) by @betsydupuis.
  • Fixed issues wuth parsing numbers with exponent fraction (could happen with high precision >= 7).
  • Fixed rounding error due to incorrect preserving of precision in transformations.
  • Fixed shortand curve distortion due to converted previous curve to not a curve.
  • Fixed interoperability issue with precision cli-option and full config.
  • Fixed an error produced by “removeUnknownsAndDefaults” by @thiakil
  • Another Inkscape prefix namespace is being removed.
  • Fixed an issue in moveElemsAttrsToGroup“” with transforms moved around clip-path.

0.5.6 / 13.08.2015

13 Aug 16:23

Choose a tag to compare

  • Fixed paths removing.

0.5.5 / 05.08.2015

05 Aug 14:13

Choose a tag to compare

  • Reverted debugging changes.

0.5.4 / 05.08.2015

05 Aug 14:01

Choose a tag to compare

  • New parameter useShortTags by @bradbarrow. Now svgo can produce correct non-selfclosing tags (useful in HTML in old browsers).
  • Fixed failing on empty transformation (which could be produced by two opposite).
  • Fixed removing paths which have numbers with exponent notation.
  • Fixed a bug with arc transformation.
  • Some typo fixes.