Skip to content

Releases: svg/svgo

0.5.3 / 21.06.2015

21 Jun 19:23

Choose a tag to compare

  • Fixed breaking related to rounding functions in “convertTransform”.
  • Fixed a bug with ID in animations not being worked on by “cleanupIDs”.
  • Fixed a bug with quoted reference in url().
  • Now, if there are several same IDs in the document, then the first one is used and others are being removed.
  • New command-line option --show-plugins displaying list of plugins.
  • Two new optional plugins: “removeDimensions” (removes width and height if there is viewBox) and “removeAttrsPlugin” (by @bennyschudel).

0.5.2 / 24.05.2015

30 Mar 12:00

Choose a tag to compare

  • Introduced new transformPrecision option for better image quality (defaults to 5) in “convertTransform” and “convertPathData” (for the purpose of applying transformations) plugins.
  • Matrix transformations now can be decomposed into a combination of few simple transforms like translate, rotate, scale.
  • Arcs (paths arcto command) are now correctly being transformed into another arcs without being converting to Bezier curves.
  • Fixed an issue with “mergePaths” failing to detect paths intersection in some cases.
  • Fixed a bug with “removeUnknownsAndDefaults” removing some paths, which was introduced in v0.5.1.
  • Fixed a bug with transformation having rotate() with optional parameters.
  • Patterns with inherited attributes are no longer being removed.
  • Styles are no longer being removed from <desc> (by @dennari).
  • SVGO no longer breaks during parsing.
  • Added clone() method to JSAPI (by @jakearchibald)

0.5.0 / 05.11.2014

04 Nov 21:54

Choose a tag to compare

  • added --multipass command line option which repeatedly applies optimizations like collapsing groups (by @dfilatov)
  • exposed JSAPI as a factory method (by @mistakster)
  • added removeDesc plugin (by @dwabyick), disabled by default
  • removeUselessStrokeAndFill plugin is disabled by default since it's unable to check inherited properties
  • transformations now apply to paths with arcs in plugins/convertPathData
  • a lot of bug fixes mostly related to transformations

v0.4.5 / 02.08.2014

03 Aug 21:49

Choose a tag to compare

  • significally improved plugin plugins/convertPathData:
    • Now data is being written relative or absolute whichever is shorter. You can turn it off by setting utilizeAbsolute to false.
    • Smarter rounding: values like 2.499 now rounds to 2.5. Rounding now takes in account accumulutive error meaning that points will not be misplaced due to rounding more than it neccessary.
    • Fixed couple bugs.
  • --output option now can be a folder along with --folder, thanks to @mako-taco.
  • plugins/cleanupIDs now have prefix option in case you want to combine multiple svg later (by @DanielMazurkiewicz).
  • Quotes now being escaped in attributes (by @ditesh).
  • Minor bugfixes

v0.3.7 / 24.06.2013

02 Jul 19:34

Choose a tag to compare

  • do not remove result attribute from filter primitives (fix #122)
  • plugins/cleanupAttrs: replace newline with space when needed (fix #119)
  • lib/coa: look for config file in current folder
  • lib/coa: always traverse all files in the given folder
  • deprecate svgo-grunt in favor of grunt-svgmin
  • re-enable node-coveralls

v0.3.6 / 06.06.2013

02 Jul 19:37

Choose a tag to compare

  • plugins/removeNonInheritableGroupAttrs: more attrs groups to exclude (fix #116 & #118)
  • lib/coa: optimize folder file by file (temp fix #114)
  • .jshintrc: JSHint 2.0
  • temporarily disable node-coveralls

v0.3.5 / 07.05.2013

02 Jul 19:37

Choose a tag to compare

  • plugins/transformsWithOnePath: fix curves bounding box calculation
  • plugins/transformsWithOnePath: fix possible c+t or q+s bug