|
| 1 | +### [ [>](https://github.com/svg/svgo/tree/v1.0.0) ] 1.0.0 / 30.10.2017 |
| 2 | +* SVGO now requires Node 4 or higher. |
| 3 | +* Changed CLI syntax to treat filenames as input, thus allowing `svgo *.svg` syntax. |
| 4 | +* `SVGO.optimize()` now returns `Promise`. |
| 5 | +* Added `datauri` option to JS API. |
| 6 | +* Added support for SVG 2 `href` attribute. |
| 7 | +* `cleanupIDs` now don't removes IDs if an image consists only of `defs`. |
| 8 | +* New plugin `inlineStyles` for converting styles from `<style>` element to attributes if possible (by @strarsis). |
| 9 | +* `cleanupNumericValues` now rounds values in `viewBox` (by @caub). |
| 10 | +* New plugin: `removeScriptElement` (disabled by default) to align with `removeStyleElement` (by @pklingem). |
| 11 | +* `minifyStyles` now removes styles based on usage with controlling options (by @lahmatiy). |
| 12 | +* New option `except` in `cleanupIDs` to keep IDs (by @Velenir). |
| 13 | +* New option `force` in `cleanupIDs` to work even if SVG contains `style` or `script` elements (by @Velenir). |
| 14 | +* Fixed arcs transforming with different signed `scale` parameters (by @JoshyPHP). |
| 15 | +* Fixed `removeUselessStrokeAndFill` to check for `style` or `script` elements per file (by @caub). |
| 16 | +* New option `keepAriaAttrs` in `removeUnknownsAndDefaults` (by @davidtheclark). |
| 17 | +* Corrected parsing in `cleanupIDs` to account animation syntax (by @caub). |
| 18 | +* `#ff0000` now converts to `red` as well as `#f00` (by @davidleston). |
| 19 | +* Added “gray” variation to colors list per CSS Color Module Level 4 (by @JoshyPHP). |
| 20 | +* Fixed error on empty files. |
| 21 | +* A separator character in `removeAttrs` now can be changed per `elemSeparator` option (by @mikestreety). |
| 22 | +* `addAttributesToSVGElement` now can add values to attributes. |
| 23 | + |
1 | 24 | ### [ [>](https://github.com/svg/svgo/tree/v0.7.2) ] 0.7.2 / 29.01.2017
|
2 | 25 | * Extended `currentColor` match conditions (string, rx, bool) (by @AlimovSV)
|
3 | 26 | * Fixed removing `<animate>` in `<stop>`.
|
|
0 commit comments