Releases: svg/svgo
Releases · svg/svgo
0.6.6 / 25.04.2016
- Corrected CSSO API usage
0.6.5 / 25.04.2016
- 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
moveGroupAttrsToElemsnot to move attributes togcontent if it's referenced (has anid). collapseGroupsnow don't collapse a group if it has an animated attribute (SMIL).
0.6.4 / 05.04.2016
- Fixed bug in “convertStyleToAttrs” plugin with converting styling properties to non-existent attributes (which are normally removed later by
removeUnknownsAndDefaults). - Added
--indentoption to style pretty-printed SVG. (e.g.--indent 2) (by @scurker). - Added
currentColorparam toconvertColorsplugin for converting values likefillandstroketocurrentColor(by @scurker). - Bumped CSSO to the current version and used its new shiny API (thanks to @lahmatiy).
0.6.3 / 20.03.2016
- 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:hrefreferences are now being checked by local namehref, thus correctly working with another namespace prefix.- Fixed
idremoving with disabledplugins/convertStyleToAttrs.js.
0.6.2 / 08.03.2016
- 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
--multipassoption. - 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
idand withoutstroke-widtharen't being trasformed now sincestroke-widthmay be applied later.
0.6.1 / 21.11.2015
- Added option
--quiteto suppress output (by @phihag). - Removed
lib-covfolder from the package, which was erroneously included before. - Fixed errors in “minifyStyles” when there are
<style>elements withCDATAcontent 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
- 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
precisioncli-option andfullconfig. - 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
- Fixed paths removing.
0.5.5 / 05.08.2015
- Reverted debugging changes.
0.5.4 / 05.08.2015
- New parameter
useShortTagsby @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.