Skip to content

Releases: svg/svgo

0.6.0 / 08.11.2015

08 Nov 17:35
Compare
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
Compare
Choose a tag to compare
  • Fixed paths removing.

0.5.5 / 05.08.2015

05 Aug 14:13
Compare
Choose a tag to compare
  • Reverted debugging changes.

0.5.4 / 05.08.2015

05 Aug 14:01
Compare
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.

0.5.3 / 21.06.2015

21 Jun 19:23
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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