source: frontend/node_modules/svgo/CHANGELOG.md

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago

Fix frontend appearance

  • Property mode set to 100644
File size: 38.3 KB
Line 
1### [ [>](https://github.com/svg/svgo/tree/v1.3.2) ] 1.3.2 / 30.10.2019
2* Fixed TypeError: Cannot set property 'multipassCount' of undefined
3
4### [ [>](https://github.com/svg/svgo/tree/v1.3.1) ] 1.3.1 / 29.10.2019
5* Updated CSSO version to 4.0.2 fixing the issue with empty semicolons ";;" in styles (thanks to @strarsis and @lahmatiy).
6* `prefixIds` plugin now runs only once with `--multipass` option (by @strarsis).
7* `cleanupIDs` plugin is prevented from producing a preserved ID, including one which matches a preserved prefix, when minifying (by @thomsj).
8
9### [ [>](https://github.com/svg/svgo/tree/v1.3.0) ] 1.3.0 / 14.07.2019
10* Custom plugins now can be loaded from external js through `path` plugin param.
11* New plugin `convertEllipseToCircle` to convert ellipse with equal radius measures to circle (by @tigt).
12* New plugin `sortDefsChildren` for improved compression (by @davidleston).
13* SVGO now removes unnecessary spaces after `arcto` path command flags.
14* `removeDimensions` plugin now adds `viewBox` if it's missing (by @adipascu).
15* Fixed `removeUnusedNS` not counting attributes in `<svg>` tag itself.
16* Fixed an issue with incorrect processing multiple images (by @cyberalien).
17* Fixed an error with incorrect converting multiple segmented curve to an arc.
18* Fixed an error with matrix decomposition in `convertTransform` due to rounding error leading to illegal value.
19* Added `force` option for `mergePaths` plugin (by @goyney).
20* Added options to `prefixIds` plugin for selectively prefixing IDs and/or classes (by @strarsis).
21* Exported config function (by @1000ch).
22
23### [ [>](https://github.com/svg/svgo/tree/v1.2.2) ] 1.2.2 / 16.04.2019
24* Update js-yaml for Code Injection warning (by @kaungst).
25
26### [ [>](https://github.com/svg/svgo/tree/v1.2.1) ] 1.2.1 / 04.04.2019
27Some goodness from pull-requests.
28* Bump up js-yaml version to fix DoS vulnerability (by @eugestarr).
29
30### [ [>](https://github.com/svg/svgo/tree/v1.2.0) ] 1.2.0 / 24.02.2019
31Some goodness from pull-requests.
32* Fixed extra blank lines when processing many files (by @panczarny).
33* Added `--recursive` option to process folders recursevely with option `-f` (by @dartess).
34* Added `removeAttributesBySelector` plugin to remove elements matching a css selector (by @bmease).
35* Added `removeOffCanvasPaths` plugin to remove elements outside of the viewbox (by @JoshyPHP).
36* `removeAttrs` plugin: added `preserveCurrentColor` color (by @roblevintennis) and 3rd optional filter for a value (by @Herman-Freund).
37* Added `reusePaths` plugin to replace duplicated elements with link (by @jhowcrof).
38* Added support of comma-separated plugins list in `--disable` and `--enable` options (by @jmwebservices).
39* Added option to preserve IDs based on prefix in `cleanupIDs` plugin (by @bkotzz).
40* Replaced `colors` dependency with `chalk` (by @xPaw).
41
42### [ [>](https://github.com/svg/svgo/tree/v1.1.1) ] 1.1.1 / 17.09.2018
43* Fixed crash in `SVGO.optimize()` when ‘info’ is absent.
44* Removed extra space after `cleanupListOfValues` plugin.
45
46### [ [>](https://github.com/svg/svgo/tree/v1.1.0) ] 1.1.0 / 16.09.2018
47* Fixed `collapseGroups` plugin removing property with a child having `inherit` value.
48* `version` attribute value is not more being rounded.
49* Fixed jsAPI `clone` method with respect to the introduced CSS classes.
50* Fixed scaling strokes with `vector-effect="non-scaling-stroke"` (by @alexjlockwood).
51* Fixed passing properties from groups in `collapseGroups` plugin if child have a filter (by @stristr).
52* Fixed arc path commands parsing without separators after flags, effectively producing a JS error.
53* Fixed `viewBox` separators parsing.
54* Fixed `removeNonInheritableGroupAttrs` plugin to work as intended.
55* Fixed removing path segments without length in presence of `stroke-linecap`.
56* Fixed `removeUnknownsAndDefaults` plugin removing attributes from elements with `id`.
57* Fixed converting to large arcs from nearly straight lines curves.
58* Fixed `collapseGroups` plugin affecting `<switch>` and its subgroups.
59* Fixed `convertTransform` plugin converting to `rotate()` with wrong sign in some case.
60* Fixed `cleanupListOfValues` plugin not preserving non-numeric values.
61* Fixed `!important` being passed to attributes in `convertStyleToAttrs` plugin.
62* Added option `keepImportant` to `convertStyleToAttrs` plugin to preserve styles with `!important`.
63* `removeHiddenElems` plugin now also removes elements with `visibility="hidden"` attribute (by @mikolaj92).
64* Added `forceAbsolutePath` option to `convertPathData` plugin to always use absolute coordinates (by @cool).
65* Added `keepRoleAttr` for `removeUnknownsAndDefaults` plugin to preserve `role-` attributes (by @himedlooff).
66* Added `xmlns` order option in `sortAttrs` plugin (by @hellatan).
67* Added an option to `prefixIds` plugin to pass prefix as false or as a function that returns false (by @vzaidman).
68* `prefixIds` plugin now adds prefix to every class (by @vzaidman).
69* Updated and improved docs a bit (multiple authors).
70
71### [ [>](https://github.com/svg/svgo/tree/v1.0.5) ] 1.0.5 / 26.02.2018
72* Fixed issue with prefixIDs plugin not replacing url() values correctly (by @harrisjose).
73
74### [ [>](https://github.com/svg/svgo/tree/v1.0.4) ] 1.0.4 / 30.01.2018
75* Fixed bug with removing groups that are direct child of "<switch>".
76* Fixed bug with shorthand path points counting (thanks @alexjlockwood for noticing).
77* Fixed crash on parsing invalid transform, e.g. without close parenthesis.
78
79### [ [>](https://github.com/svg/svgo/tree/v1.0.3) ] 1.0.3 / 08.11.2017
80* Fixed `removeViewBox` plugin to check for zero start coordinates.
81* Removed extra info from STDOUT when it set to output.
82
83### [ [>](https://github.com/svg/svgo/tree/v1.0.2) ] 1.0.2 / 03.11.2017
84* Fixed a couple of errors related to `inlineStyles` plugin.
85* Updated some lost details in documentation to reflect v1.0 changes.
86
87### [ [>](https://github.com/svg/svgo/tree/v1.0.1) ] 1.0.1 / 31.10.2017
88* Fixed error “Object.defineProperty called on non-object” in images with `<foreignObject/>`.
89
90### [ [>](https://github.com/svg/svgo/tree/v1.0.0) ] 1.0.0 / 30.10.2017
91* SVGO now requires Node 4 or higher.
92* Changed CLI syntax to treat filenames as input, thus allowing `svgo *.svg` syntax.
93* `SVGO.optimize()` now returns `Promise`.
94* Added `datauri` option to JS API.
95* Added support for SVG 2 `href` attribute.
96* `cleanupIDs` now don't removes IDs if an image consists only of `defs`.
97* New plugin `inlineStyles` for converting styles from `<style>` element to attributes if possible (by @strarsis).
98* `cleanupNumericValues` now rounds values in `viewBox` (by @caub).
99* New plugin: `removeScriptElement` (disabled by default) to align with `removeStyleElement` (by @pklingem).
100* `minifyStyles` now removes styles based on usage with controlling options (by @lahmatiy).
101* New option `except` in `cleanupIDs` to keep IDs (by @Velenir).
102* New option `force` in `cleanupIDs` to work even if SVG contains `style` or `script` elements (by @Velenir).
103* Fixed arcs transforming with different signed `scale` parameters (by @JoshyPHP).
104* Fixed `removeUselessStrokeAndFill` to check for `style` or `script` elements per file (by @caub).
105* New option `keepAriaAttrs` in `removeUnknownsAndDefaults` (by @davidtheclark).
106* Corrected parsing in `cleanupIDs` to account animation syntax (by @caub).
107* `#ff0000` now converts to `red` as well as `#f00` (by @davidleston).
108* Added “gray” variation to colors list per CSS Color Module Level 4 (by @ydaniv).
109* Fixed error on empty files.
110* A separator character in `removeAttrs` now can be changed per `elemSeparator` option (by @mikestreety).
111* `addAttributesToSVGElement` now can add values to attributes.
112
113### [ [>](https://github.com/svg/svgo/tree/v0.7.2) ] 0.7.2 / 29.01.2017
114* Extended `currentColor` match conditions (string, rx, bool) (by @AlimovSV)
115* Fixed removing `<animate>` in `<stop>`.
116* Fixed removing same transform in inner element in `removeUnknownsAndDefaults`.
117* Fixed collapsing groups with same non-inheritable attribute.
118* Corrected removing of leading zero in case of exponential notation.
119
120### [ [>](https://github.com/svg/svgo/tree/v0.7.1) ] 0.7.1 / 27.09.2016
121* Reverted the requirement of Node.js to version 0.10.
122* Added `addAttributesToSVGElement` to the default config to allow using it with `--enable` option.
123* Added korean translation of “How it works” doc (by @primeiros).
124
125### [ [>](https://github.com/svg/svgo/tree/v0.7.0) ] 0.7.0 / 25.08.2016
126* Required Node.js version has increased to 0.12.
127* New plugins: `removeElementsByAttr` (by IDs or classes) by @elidupuis,
128 `addAttributesToSVGElement` by @gjjones,
129 `removeXMLNS` (for SVG inlining) by @ricardobeat.
130* Tests now correctly pass in Windows with CRLF line endings. Pretty print now accounts system line endings.
131* Fixed bugs with collapsing groups with masks and transforms in `collapseGroups`.
132* Fixed bugs with erroneous removing IDs in `cleanupIDs`.
133* Improved attributes sorting in `sortAttrs` by @darktrojan.
134* `addClassesToSVGElement` no more repeats classes (by @ricardobeat).
135
136### [ [>](https://github.com/svg/svgo/tree/v0.6.6) ] 0.6.6 / 25.04.2016
137* Corrected CSSO API usage
138
139### [ [>](https://github.com/svg/svgo/tree/v0.6.5) ] 0.6.5 / 25.04.2016
140* Extra content inserted by editors are now being removed within `<foreignObject>` as well thus fixing bug “Namespace prefix … is not defined“ after applying SVGO.
141* Doctype with entities declaration is now also being removed since svgo correctly parses them starting from the version [0.6.2](https://github.com/svg/svgo/tree/v0.6.2).
142* Corrected `moveGroupAttrsToElems` not to move attributes to `g` content if it's referenced (has an `id`).
143* `collapseGroups` now don't collapse a group if it has an animated attribute (SMIL).
144
145### [ [>](https://github.com/svg/svgo/tree/v0.6.4) ] 0.6.4 / 05.04.2016
146* Fixed bug in “[convertStyleToAttrs](https://github.com/svg/svgo/blob/master/plugins/convertStyleToAttrs.js)” plugin with converting styling properties to non-existent attributes (which are normally removed later by `removeUnknownsAndDefaults`).
147* Added `--indent` option to style pretty-printed SVG. (e.g. `--indent 2`) (by @scurker).
148* Added `currentColor` param to `convertColors` plugin for converting values like `fill` and `stroke` to `currentColor` (by @scurker).
149* Bumped CSSO to the current version and used [its new shiny API](https://github.com/css/csso#api) (thanks to @lahmatiy).
150
151### [ [>](https://github.com/svg/svgo/tree/v0.6.3) ] 0.6.3 / 20.03.2016
152* Smart rounding (introduced in 0.4.5) now applies only when rounding is needed, thus making subsequent passes more stable.
153* Fixed regression in converting curves to arcs.
154* `xlink:href` references are now being checked by local name `href`, thus correctly working with another namespace prefix.
155* Fixed `id` removing with disabled `plugins/convertStyleToAttrs.js`.
156
157### [ [>](https://github.com/svg/svgo/tree/v0.6.2) ] 0.6.2 / 08.03.2016
158* Better error handling and messaging improvements.
159* SVG files with XML entities (e.g. from Adobe Illustrator) are now correctly being parsed.
160* Fixed error on converting curves to arcs.
161* Corrected rounding in subsequent passes with `--multipass` option.
162* Data URI option now handles charset (by @holymonson)
163* Transformations are no longer moved to group if there is a mask (`plugins/moveElemsAttrsToGroup.js`).
164* Fixed matrix decomposition losing sign in case like `[1, 0, 0, -1, 0, 0]` (`scale(1 -1)`).
165* Fixed crash on uppercased color name.
166* Paths with `id` and without `stroke-width` aren't being transformed now since `stroke-width` may be applied later.
167
168### [ [>](https://github.com/svg/svgo/tree/v0.6.1) ] 0.6.1 / 21.11.2015
169* Added option `--quiet` to suppress output (by @phihag).
170* Removed `lib-cov` folder from the package, which was erroneously included before.
171* Fixed errors in “[minifyStyles](https://github.com/svg/svgo/blob/master/plugins/minifyStyles.js)” when there are `<style>` elements with `CDATA` content or without content at all.
172* Amended transform functions parsing to prevent errors when there are no separators between numbers (which isn't allowed by syntax, but understood by browsers).
173
174### [ [>](https://github.com/svg/svgo/tree/v0.6.0) ] 0.6.0 / 08.11.2015
175* New optimization: circular curves now being converted to arcs. A notable improvement for circles within paths.
176* New plugin “[minifyStyles](https://github.com/svg/svgo/blob/master/plugins/minifyStyles.js)” which minifies `<style>` elments content with CSSO by @strarsis (svgo still doesn't understand its content)
177* New plugin “[removeStyleElement](https://github.com/svg/svgo/blob/master/plugins/removeStyleElement.js)” (disabled by default) by @betsydupuis.
178* Fixed issues with parsing numbers with exponent fraction (could happen with high precision >= 7).
179* Fixed rounding error due to incorrect preserving of precision in transformations.
180* Fixed shorthand curve distortion due to converted previous curve to not a curve.
181* Fixed interoperability issue with `precision` cli-option and `full` config.
182* Fixed an error produced by “[removeUnknownsAndDefaults](https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js)” by @thiakil
183* Another Inkscape prefix namespace is being removed.
184* Fixed an issue in [moveElemsAttrsToGroup“](https://github.com/svg/svgo/blob/master/plugins/moveElemsAttrsToGroup“.js)” with transforms moved around `clip-path`.
185
186### [ [>](https://github.com/svg/svgo/tree/v0.5.6) ] 0.5.6 / 13.08.2015
187* Fixed paths removing.
188
189### [ [>](https://github.com/svg/svgo/tree/v0.5.5) ] 0.5.5 / 05.08.2015
190* Reverted debugging changes.
191
192### [ [>](https://github.com/svg/svgo/tree/v0.5.4) ] 0.5.4 / 05.08.2015
193* New parameter `useShortTags` by @bradbarrow. Now svgo can produce correct non-selfclosing tags (useful in HTML in old browsers).
194* Fixed failing on empty transformation (which could be produced by two opposite).
195* Fixed removing paths which have numbers with exponent notation.
196* Fixed a bug with arc transformation.
197* Some typo fixes.
198
199### [ [>](https://github.com/svg/svgo/tree/v0.5.3) ] 0.5.3 / 21.06.2015
200* Fixed breaking related to rounding functions in “[convertTransform](https://github.com/svg/svgo/blob/master/plugins/convertTransform.js)”.
201* Fixed a bug with ID in animations not being worked on by “[cleanupIDs](https://github.com/svg/svgo/blob/master/plugins/cleanupIDs.js)”.
202* Fixed a bug with quoted reference in `url()`.
203* Now, if there are several same IDs in the document, then the first one is used and others are being removed.
204* New command-line option `--show-plugins` displaying list of plugins.
205* Two new optional plugins: “[removeDimensions](https://github.com/svg/svgo/blob/master/plugins/removeDimensions.js)” (removes `width` and `height` if there is `viewBox`) and “[removeAttrsPlugin](https://github.com/svg/svgo/blob/master/plugins/removeAttrs.js)” (by @bennyschudel).
206
207### [ [>](https://github.com/svg/svgo/tree/v0.5.2) ] 0.5.2 / 24.05.2015
208* Introduced new `transformPrecision` option for better image quality (defaults to 5) in “[convertTransform](https://github.com/svg/svgo/blob/master/plugins/convertTransform.js)” and “[convertPathData](https://github.com/svg/svgo/blob/master/plugins/convertPathData.js)” (for the purpose of applying transformations) plugins.
209* Matrix transformations now can be decomposed into a combination of few simple transforms like `translate`, `rotate`, `scale`.
210* Arcs (paths `arcto` command) are now correctly being transformed into another arcs without being converting to Bezier curves.
211* Fixed an issue with “[mergePaths](https://github.com/svg/svgo/blob/master/plugins/mergePaths.js)” failing to detect paths intersection in some cases.
212* Fixed a bug with “[removeUnknownsAndDefaults](https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js)” removing some paths, which was introduced in [v0.5.1](https://github.com/svg/svgo/tree/v0.5.1).
213* Fixed a bug with transformation having `rotate()` with optional parameters.
214* Patterns with inherited attributes are no longer being removed.
215* Styles are no longer being removed from `<desc>` (by @dennari).
216* SVGO no longer breaks during parsing.
217* Added `clone()` method to JSAPI (by @jakearchibald)
218
219### [ [>](https://github.com/svg/svgo/tree/v0.5.1) ] 0.5.1 / 30.03.2015
220* added new command-line option to set precision in floating point numbers.
221* fixed all known image-disruptive bugs
222* Notably [mergePaths](https://github.com/svg/svgo/blob/master/plugins/mergePaths.js) plugin now checks for possible intersections to avoid side-effects
223* new plugin [removeUselessDefs](https://github.com/svg/svgo/blob/master/plugins/removeUselessDefs.js) to remove elements in ``<defs>`` and similar non-rendering elements without an ``id`` and thus cannot be used
224* fix for ``--multipass`` command line option (by @dfilatov)
225* improved [cleanupEnableBackground](https://github.com/svg/svgo/blob/master/plugins/cleanupEnableBackground.js) and [convertColors](https://github.com/svg/svgo/blob/master/plugins/convertColors.js) plugins (by @YetiOr)
226* new plugin for image manipulation [cleanupListOfValues](https://github.com/svg/svgo/blob/master/plugins/cleanupListOfValues.js) (by @kiyopikko)
227* fixed fail on comments after closing root ``</svg>`` tag
228* updated parsing to account meaningful spaces in ``<text>``
229* ``data-*`` attributes are now preserved in [removeUnknownsAndDefaults](https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js)
230* prevented plugins from failing in ``<foreignObject>``
231* [cleanupNumericValues](https://github.com/svg/svgo/blob/master/plugins/cleanupNumericValues.js) plugin now converts other units to pixels (if it's better)
232* [removeUselessStrokeAndFill](https://github.com/svg/svgo/blob/master/plugins/removeUselessStrokeAndFill.js) plugin is enabled again with correct work in case of inherited attributes
233* fixed fail on images with incorrect paths like ``<path d="z"/>``
234* svgo now understands if an input is a folder (remember, you can set output to folder as well)
235* added support for some properties from SVG 2 like ``vector-effect="non-scaling-stroke"``
236* removed option to remove an ``id`` on root ``<svg>`` tag in [removeUnknownsAndDefaults](https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js) since it's already being done in [cleanupIDs](https://github.com/svg/svgo/blob/master/plugins/cleanupIDs.js)
237
238### [ [>](https://github.com/svg/svgo/tree/v0.5.0) ] 0.5.0 / 05.11.2014
239* added ``--multipass`` command line option which repeatedly applies optimizations like collapsing groups (by @dfilatov)
240* exposed JSAPI as a factory method (by @mistakster)
241* added removeDesc plugin (by @dwabyick), disabled by default
242* [removeUselessStrokeAndFill](https://github.com/svg/svgo/blob/master/plugins/removeUselessStrokeAndFill.js) plugin is disabled by default since it's unable to check inherited properties
243* transformations now apply to paths with arcs in [plugins/convertPathData](https://github.com/svg/svgo/blob/master/plugins/convertPathData.js)
244* a lot of bug fixes mostly related to transformations
245
246### [ [>](https://github.com/svg/svgo/tree/v0.4.5) ] 0.4.5 / 02.08.2014
247* significally improved plugin [plugins/convertPathData](https://github.com/svg/svgo/blob/master/plugins/convertPathData.js):
248 - Now data is being written relative or absolute whichever is shorter. You can turn it off by setting ``utilizeAbsolute`` to ``false``.
249 - 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.
250 - Fixed couple bugs.
251* ``--output`` option now can be a folder along with ``--folder``, thanks to @mako-taco.
252* [plugins/cleanupIDs](https://github.com/svg/svgo/blob/master/plugins/cleanupIDs.js) now have ``prefix`` option in case you want to combine multiple svg later (by @DanielMazurkiewicz).
253* Quotes now being escaped in attributes (by @ditesh).
254* Minor bugfixes.
255
256### [ [>](https://github.com/svg/svgo/tree/v0.4.4) ] 0.4.4 / 14.01.2014
257* new plugin [plugins/removeTitle](https://github.com/svg/svgo/blob/master/plugins/removeTitle.js) (disabled by default, close [#159](https://github.com/svg/svgo/issues/159))
258* plugins/convertPathData: skip data concatenation for z instruction in collapseRepeated
259* plugins/removeUnknownsAndDefaults: do not remove overriden attributes with default values (fix [#161](https://github.com/svg/svgo/issues/161) and [#168](https://github.com/svg/svgo/issues/168))
260* plugins/removeViewBox: disable by default (fix [#139](https://github.com/svg/svgo/issues/139))
261* update README with [gulp task](https://github.com/ben-eb/gulp-svgmin)
262
263### [ [>](https://github.com/svg/svgo/tree/v0.4.3) ] 0.4.3 / 02.01.2014
264* new plugin [plugins/convertShapeToPath](https://github.com/svg/svgo/blob/master/plugins/convertShapeToPath.js) (close [#96](https://github.com/svg/svgo/issues/96))
265* update sax version to fix [#140](https://github.com/svg/svgo/issues/140)
266* update deps
267
268### [ [>](https://github.com/svg/svgo/tree/v0.4.2) ] 0.4.2 / 19.12.2013
269* add `lcov.info` to npmignore
270* fix `js-yaml` version to suppress deprecation warning in stdout
271
272### [ [>](https://github.com/svg/svgo/tree/v0.4.1) ] 0.4.1 / 18.11.2013
273* node >=0.8.0
274
275### [ [>](https://github.com/svg/svgo/tree/v0.4.0) ] 0.4.0 / 18.11.2013
276* merge almost all pull-requests
277* update dependencies
278
279### [ [>](https://github.com/svg/svgo/tree/v0.3.7) ] 0.3.7 / 24.06.2013
280* do not remove `result` attribute from filter primitives (fix [#122](https://github.com/svg/svgo/issues/122))
281* plugins/cleanupAttrs: replace newline with space when needed (fix [#119](https://github.com/svg/svgo/issues/119))
282* lib/coa: look for config file in current folder
283* lib/coa: always traverse all files in the given folder
284* deprecate svgo-grunt in favor of [grunt-svgmin](https://github.com/sindresorhus/grunt-svgmin)
285* re-enable node-coveralls
286
287### [ [>](https://github.com/svg/svgo/tree/v0.3.6) ] 0.3.6 / 06.06.2013
288* plugins/removeNonInheritableGroupAttrs: more attrs groups to exclude (fix [#116](https://github.com/svg/svgo/issues/116) & [#118](https://github.com/svg/svgo/issues/118))
289* lib/coa: optimize folder file by file (temp fix [#114](https://github.com/svg/svgo/issues/114))
290* `.jshintrc`: JSHint 2.0
291* temporarily disable node-coveralls
292
293### [ [>](https://github.com/svg/svgo/tree/v0.3.5) ] 0.3.5 / 07.05.2013
294* plugins/transformsWithOnePath: fix curves bounding box calculation
295* plugins/transformsWithOnePath: fix possible c+t or q+s bug
296
297
298### [ [>](https://github.com/svg/svgo/tree/v0.3.4) ] 0.3.4 / 06.05.2013
299* plugins/convertPathData: fix m->M bug in some cases
300* plugins/transformsWithOnePath: fix last point calculation for C/S/Q/T
301* plugins/mergePaths: add space delimiter between z and m
302
303### [ [>](https://github.com/svg/svgo/tree/v0.3.3) ] 0.3.3 / 05.05.2013
304* plugins/convertPathData: convert very first m to M, fix applyTransforms with translate() (fix [#112](https://github.com/svg/svgo/issues/112))
305* plugins/transformsWithOnePath: fix real width/height rounding; fix scale transform origin; reorder transforms
306* plugins/transformsWithOnePath: ability to set new width or height independently with auto rescaling
307
308### [ [>](https://github.com/svg/svgo/tree/v0.3.2) ] 0.3.2 / 03.05.2013
309* new plugin [plugins/sortAttrs](https://github.com/svg/svgo/blob/master/plugins/sortAttrs.js)
310* plugins/transformsWithOnePath: buggy hcrop (fix [#111](https://github.com/svg/svgo/issues/111))
311* Impossible to set output presision to 0 (no fractional part) (fix [#110](https://github.com/svg/svgo/issues/110))
312* Istanbul + coveralls.io
313* update README with NPM version from badge.fury.io
314* update README with dependency status from gemnasium.com
315* npmignore unneeded files
316* reoptimized project logo
317
318### [ [>](https://github.com/svg/svgo/tree/v0.3.1) ] 0.3.1 / 15.04.2013
319* plugins/transformsWithOnePath: resize SVG and automatically rescale inner Path
320* better errors handling
321
322### [ [>](https://github.com/svg/svgo/tree/v0.3.0) ] 0.3.0 / 12.04.2013
323* global refactoring: getting rid of the many dependencies
324* new plugin [plugins/mergePaths](https://github.com/svg/svgo/blob/master/plugins/mergePaths.js)
325* new plugin [plugins/transformsWithOnePath](https://github.com/svg/svgo/blob/master/plugins/transformsWithOnePath.js) (renamed and featured `cropAndCenterAlongPath`)
326* config: replace default config with `full: true`
327* coa: JSON string as value of `--config`
328* coa: different types of Data URI strings (close [#105](https://github.com/svg/svgo/issues/105))
329* plugins/_transforms: allow spaces at the beginning of transform
330* Travis CI: Nodejs 0.10 & 0.11
331* `node.extend` → `whet.extend`
332* update `.gitignore`
333* update docs
334
335### [ [>](https://github.com/svg/svgo/tree/v0.2.4) ] 0.2.4 / 05.04.2013
336* new plugin [plugins/cropAndCenterAlongPath](https://github.com/svg/svgo/blob/master/plugins/cropAndCenterAlongPath.js) for the [Fontello](https://github.com/fontello) project
337
338### [ [>](https://github.com/svg/svgo/tree/v0.2.3) ] 0.2.3 / 22.02.2013
339* new plugin [plugins/removeNonInheritableGroupAttrs](https://github.com/svg/svgo/blob/master/plugins/removeNonInheritableGroupAttrs.js) (fix [#101](https://github.com/svg/svgo/issues/101))
340* new plugin [plugins/removeRasterImages](https://github.com/svg/svgo/blob/master/plugins/removeRasterImages.js) (close [#98](https://github.com/svg/svgo/issues/98))
341* plugins/convertTransform: bug with trailing spaces in transform value string (fix [#103](https://github.com/svg/svgo/issues/103))
342
343### [ [>](https://github.com/svg/svgo/tree/v0.2.2) ] 0.2.2 / 09.02.2013
344* plugins/convertTransforms: wrong translate() shorthand (fix [#94](https://github.com/svg/svgo/issues/94))
345* [yaml.js](https://github.com/jeremyfa/yaml.js) → [js-yaml](https://github.com/nodeca/js-yaml)
346* update outdated deps
347
348### [ [>](https://github.com/svg/svgo/tree/v0.2.1) ] 0.2.1 / 18.01.2013
349* plugins/moveElemsAttrsToGroup + plugins/moveGroupAttrsToElems: move or just leave transform attr from Group to the inner Path Elems (close [#86](https://github.com/svg/svgo/issues/86))
350* plugins/removeViewBox: doesn't catch floating-point numbers (fix [#88](https://github.com/svg/svgo/issues/88))
351* plugins/cleanupEnableBackground: doesn't catch floating-point numbers (fix [#89](https://github.com/svg/svgo/issues/89))
352* plugins/cleanupNumericValues: wrong floating-point numbers regexp (fix [#92](https://github.com/svg/svgo/issues/92))
353* SVG file generated by fontcustom.com not properly compressed (fix [#90](https://github.com/svg/svgo/issues/90))
354* `README.ru.md`: стилизация русского языка, улучшение языковых конструкций, правка ошибок (close [#91](https://github.com/svg/svgo/issues/91))
355* minor JSHint warning fix
356
357### [ [>](https://github.com/svg/svgo/tree/v0.2.0) ] 0.2.0 / 23.12.2012
358* plugins/convertPathData: apply transforms to Path pata (close [#33](https://github.com/svg/svgo/issues/33))
359* plugins/convertPathData: `-1.816-9.278.682-13.604` parsing error (fix [#85](https://github.com/svg/svgo/issues/85))
360* plugins/convertTransform: `translate(10, 0)` eq `translate(10)`, but not `translate(10, 10)` eq `translate(10)` (fix [#83](https://github.com/svg/svgo/issues/83))
361* run plugins/cleanupIDs before plugins/collapseGroups (fix [#84](https://github.com/svg/svgo/issues/84))
362* update `.gitignore`
363
364### [ [>](https://github.com/svg/svgo/tree/v0.1.9) ] 0.1.9 / 17.12.2012
365* plugins/cleanupIDs: renamed from removeUnusedIDs; minify used IDs (fix [#7](https://github.com/svg/svgo/issues/7))
366* lib/svgo/js2svg: restore HTML entities back (fix [#80](https://github.com/svg/svgo/issues/80) + [#81](https://github.com/svg/svgo/issues/81))
367* plugins/removeDoctype: do not remove if custom XML entities presents (fix [#77](https://github.com/svg/svgo/issues/77))
368* lib/svgo/coa: refactoring, colors and fix [#70](https://github.com/svg/svgo/issues/70)
369* lib/svgo: store elapsed time in result object
370* usage examples with SVGZ (close [#18](https://github.com/svg/svgo/issues/18))
371* more optimized logo
372* update `.gitignore`
373
374### [ [>](https://github.com/svg/svgo/tree/v0.1.8) ] 0.1.8 / 11.12.2012
375* new plugin [plugins/removeUselessStrokeAndFill](https://github.com/svg/svgo/blob/master/plugins/removeUselessStrokeAndFill.js) (close [#75](https://github.com/svg/svgo/issues/75))
376* new plugin [plugins/removeUnusedIDs](https://github.com/svg/svgo/blob/master/plugins/removeUnusedIDs.js) (close [#76](https://github.com/svg/svgo/issues/76))
377* plugins/convertPathData: wrong M interpretation in some cases (fix [#73](https://github.com/svg/svgo/issues/73))
378* plugins/cleanupAttrs: use `isElem()` API
379* `.travis.yml`: check all branches
380
381
382### [ [>](https://github.com/svg/svgo/tree/v0.1.7) ] 0.1.7 / 08.12.2012
383* plugins/convertPathData: incorrect interpretation of `z + m` (fix [#69](https://github.com/svg/svgo/issues/69))
384* plugins/convertTransform: do a more accurate floating numbers rounding in `matrixToTransform()` (fix [#68](https://github.com/svg/svgo/issues/68))
385
386### [ [>](https://github.com/svg/svgo/tree/v0.1.6) ] 0.1.6 / 07.12.2012
387* plugins/convertPathData: collapse repeated instructions only after curveSmoothShorthands (fix [#64](https://github.com/svg/svgo/issues/64))
388* lib/svgo/coa: handle 'there is nothing to optimize' case and display a message about it (fix [#61](https://github.com/svg/svgo/issues/61))
389* plugins/cleanupSVGElem: delete as useless artefact
390
391
392### [ [>](https://github.com/svg/svgo/tree/v0.1.5) ] 0.1.5 / 06.12.2012
393* E-notated numbers in paths not recognised (fix [#63](https://github.com/svg/svgo/issues/63))
394* update README with `svgo-grunt` and `svgo-osx-folder-action`
395* fix `mocha-as-promised` plug in node 0.6
396
397### [ [>](https://github.com/svg/svgo/tree/v0.1.4) ] 0.1.4 / 05.12.2012
398* plugins/_collections: more defaults
399* `README.ru.md`
400* `docs/how-it-works/ru.md`
401* mocha + mocha-as-promised + chai + chai-as-promised + should + istanbul = <3
402* update dependencies semvers in `package.json`
403* `v0.1.x` and `v0.2.x` milestones
404
405### [ [>](https://github.com/svg/svgo/tree/v0.1.3) ] 0.1.3 / 30.11.2012
406* new plugin [plugins/cleanupNumericValues](https://github.com/svg/svgo/blob/master/plugins/cleanupNumericValues.js) (close [#8](https://github.com/svg/svgo/issues/8))
407* plugins/removeDefaultPx functionality now included in plugins/removeUnknownsAndDefaults
408* plugins/removeUnknownsAndDefaults: refactoring and picking up the complete elems+attrs collection (close [#59](https://github.com/svg/svgo/issues/59))
409* plugins/convertTransform: error in matrices multiplication (fix [#58](https://github.com/svg/svgo/issues/58))
410* plugins/convertTransform: mark translate() and scale() as useless only with one param (fix [#57](https://github.com/svg/svgo/issues/57))
411* plugins/convertPathData: drastic speed improvement with huge Path data
412* plugins/convertPathData: fix the very first Mm with multiple points (fix [#56](https://github.com/svg/svgo/issues/56))
413* plugins/moveElemsAttrsToGroup: additional check for transform attr
414* brand-new project `logo.svg`
415* `.travis.yml`: build only master branch
416* global `'use strict'`
417* `.jshintignore`
418* README and CHANGELOG: minor corrections
419
420### [ [>](https://github.com/svg/svgo/tree/v0.1.2) ] 0.1.2 / 24.11.2012
421* lib/svgo/svg2js: correct 'onerror' failure (fix [#51](https://github.com/svg/svgo/issues/51))
422* config: disable sax-js position tracking by default (fix [#52](https://github.com/svg/svgo/issues/52))
423* lib/svgo: rename 'startBytes' to 'inBytes' and 'endBytes' to 'outBytes' (close [#53](https://github.com/svg/svgo/issues/53))
424* plugins/removeUnknownsAndDefaults: remove SVG id attr (close [#54](https://github.com/svg/svgo/issues/54))
425
426### [ [>](https://github.com/svg/svgo/tree/v0.1.1) ] 0.1.1 / 23.11.2012
427* plugins/moveElemsAttrsToGroup: fix inheitable only attrs array (fix [#47](https://github.com/svg/svgo/issues/47))
428* plugins/removeEmptyContainers: do not remove an empty 'svg' element (fix [#48](https://github.com/svg/svgo/issues/48))
429* plugins/removeDefaultPx: should also understand a floating-numbers too (fix [#49](https://github.com/svg/svgo/issues/49))
430* plugins/removeUnknownsAndDefaults: merge multiple groupDefaults attrs (close [#50](https://github.com/svg/svgo/issues/50))
431
432### [ [>](https://github.com/svg/svgo/tree/v0.1.0) ] 0.1.0 / 22.11.2012
433* new plugin [plugins/removeUnknownsAndDefaults](https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js) (close [#6](https://github.com/svg/svgo/issues/6))
434* plugins/convertPathData: convert straight curves into lines segments (close [#17](https://github.com/svg/svgo/issues/17)); remove an absolute coords conversions
435* plugins/convertPathData: convert quadratic Bézier curveto into smooth shorthand (close [#31](https://github.com/svg/svgo/issues/31))
436* plugins/convertPathData: convert curveto into smooth shorthand (close [#30](https://github.com/svg/svgo/issues/30))
437* lib/svgo: global API refactoring (close [#37](https://github.com/svg/svgo/issues/37))
438* lib/svgo: fatal and stupid error in stream chunks concatenation (fix [#40](https://github.com/svg/svgo/issues/40))
439* lib/coa: batch folder optimization (close [#29](https://github.com/svg/svgo/issues/29))
440* lib/coa: support arguments as aliases to `--input` and `--output` (close [#28](https://github.com/svg/svgo/issues/28))
441* project logo by [Egor Bolhshakov](http://xizzzy.ru/)
442* move modules to `./lib/svgo/`
443* rename and convert `config.json` to `.svgo.yml`
444* add [./docs/](https://github.com/svg/svgo/tree/master/docs)
445* plugins/convertPathData: don't remove first `M` even if it's `0,0`
446* plugins/convertPathData: stronger defense from infinite loop
447* plugins/moveElemsAttrsToGroup: should affect only inheritable attributes (fix [#46](https://github.com/svg/svgo/issues/46))*
448* plugins/removeComments: ignore comments which starts with '!' (close [#43](https://github.com/svg/svgo/issues/43))
449* config: `cleanupAttrs` should be before `convertStyleToAttrs` (fix [#44](https://github.com/svg/svgo/issues/44))*
450* lib/svgo/jsAPI: add `eachAttr()` optional context param
451* temporarily remove PhantomJS and `--test` (close [#38](https://github.com/svg/svgo/issues/38))
452* q@0.8.10 compatibility: 'end is deprecated, use done instead' fix
453* add [Istanbul](https://github.com/gotwarlost/istanbul) code coverage
454* update dependencies versions and gitignore
455* README: add TODO section with versions milestones
456* update README with License section
457* update LICENSE with russian translation
458* `.editorconfig`: 2 spaces for YAML
459
460### [ [>](https://github.com/svg/svgo/tree/v0.0.9) ] 0.0.9 / 29.10.2012
461* [plugins how-to](https://github.com/svg/svgo/tree/master/plugins#readme) (close [#27](https://github.com/svg/svgo/issues/27))
462* allow any plugin of any type to go in any order (close [#14](https://github.com/svg/svgo/issues/14))
463* allow to do a multiple optimizations with one init (close [#25](https://github.com/svg/svgo/issues/25))
464* plugins/convertPathData: global refactoring
465* plugins/convertPathData: do all the tricks with absolute coords too (fix [#22](https://github.com/svg/svgo/issues/22))
466* plugins/convertPathData: accumulation of rounding errors (fix [#23](https://github.com/svg/svgo/issues/23))
467* plugins/convertPathData: prevent an infinity loop on invalid path data (fix [#26](https://github.com/svg/svgo/issues/26))
468* plugins/convertPathData: do not remove very first M from the path data (fix [#24](https://github.com/svg/svgo/issues/24))
469* plugins/convertPathData: optimize path data in &lt;glyph&gt; and &lt;missing-glyph&gt; (close [#20](https://github.com/svg/svgo/issues/20))
470* plugins/convertTransform: add patternTransform attribute to the process (close [#15](https://github.com/svg/svgo/issues/15))
471* plugins/convertTransform: Firefox: removing extra space in front of negative number is alowed only in path data, but not in transform (fix [#12](https://github.com/svg/svgo/issues/12))
472* plugins/removeXMLProcInst: remove only 'xml' but not 'xml-stylesheet' (fix [#21](https://github.com/svg/svgo/issues/15))
473* plugins/collapseGroups: merge split-level transforms (fix [#13](https://github.com/svg/svgo/issues/13))
474* jsdoc corrections
475
476### [ [>](https://github.com/svg/svgo/tree/v0.0.8) ] 0.0.8 / 20.10.2012
477* new plugin [convertTransform](plugins/convertTransform.js) (close [#5](https://github.com/svg/svgo/issues/5))
478* new plugin [removeUnusedNS](plugins/removeUnusedNS.js)
479* plugins/convertPathData: remove useless segments
480* plugins/convertPathData: a lot of refactoring
481* plugins/convertPathData: round numbers before conditions because of exponential notation (fix [#3](https://github.com/svg/svgo/issues/3))
482* plugins/moveElemsAttrsToGroup: merge split-level transforms instead of replacing (fix [#10](https://github.com/svg/svgo/issues/10))
483* lib/svg2js: catch and output xml parser errors (fix [#4](https://github.com/svg/svgo/issues/4))
484* lib/coa: open file for writing only when we are ready (fix [#2](https://github.com/svg/svgo/issues/2))
485* lib/tools: node.extend module
486* lib/plugins: refactoring
487* lib/js2svg: refactoring
488* lib/jsAPI: simplification and refactoring
489* absolute urls in README
490* update .editorconfig
491* update .travis.yml with nodejs 0.9
492
493### [ [>](https://github.com/svg/svgo/tree/v0.0.7) ] 0.0.7 / 14.10.2012
494* new plugin [convertPathData](plugins/convertPathData.js)
495* --input data now can be a Data URI base64 string
496* --output data now can be a Data URI base64 string with --datauri flag
497* Travis CI
498* JSHint corrections + .jshintrc
499* [.editorconfig](http://editorconfig.org/)
500* display time spent on optimization
501* .svgo → config.json
502* lib/phantom_wrapper.js → lib/phantom.js
503
504### [ [>](https://github.com/svg/svgo/tree/v0.0.6) ] 0.0.6 / 04.10.2012
505* add --test option to make a visual comparison of two files (PhantomJS pre-required)
506* update README and CHANGELOG with the correct relative urls
507
508### [ [>](https://github.com/svg/svgo/tree/v0.0.5) ] 0.0.5 / 03.10.2012
509* every plugin now has [at least one test](plugins)
510* removeViewBox, cleanupEnableBackground, removeEditorsNSData, convertStyleToAttrs and collapseGroups plugins fixes
511* new --pretty option for the pretty printed SVG
512* lib/config refactoring
513
514### [ [>](https://github.com/svg/svgo/tree/v0.0.4) ] 0.0.4 / 30.09.2012
515* new plugin [removeViewBox](plugins/removeViewBox.js)
516* new plugin [cleanupEnableBackground](plugins/cleanupEnableBackground.js)
517* display useful info after successful optimization
518* 'npm test' with 'spec' mocha output by default
519
520### [ [>](https://github.com/svg/svgo/tree/v0.0.3) ] 0.0.3 / 29.09.2012
521* plugins/collapseGroups bugfix
522* plugins/moveElemsAttrsToGroup bugfix
523* svgo now display --help if running w/o arguments
524* massive jsdoc updates
525* plugins engine main filter function optimization
526
527### [ [>](https://github.com/svg/svgo/tree/v0.0.2) ] 0.0.2 / 28.09.2012
528* add --disable and --enable command line options
529* add an empty values rejecting to coa.js
530* update README
531
532### [ [>](https://github.com/svg/svgo/tree/v0.0.1) ] 0.0.1 / 27.09.2012
533* initial public version
Note: See TracBrowser for help on using the repository browser.