diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d95bec1..9f0bb9d3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### [ [>](https://github.com/svg/svgo/tree/v0.7.0) ] 0.7.0 / 25.08.2016 +* Required Node.js version has increased to 0.12. +* New plugins: `removeElementsByAttr` (by IDs or classes) by @elidupuis, + `addAttributesToSVGElement` by @gjjones, + `removeXMLNS` (for SVG inlining) by @ricardobeat. +* Tests now correctly pass in Windows with CRLF line endings. Pretty print now accounts system line endings. +* Fixed bugs with collapsing groups with masks and transforms in `collapseGroups`. +* Fixed bugs with erroneous removing IDs in `cleanupIDs`. +* Improved attributes sorting in `sortAttrs` by @darktrojan. +* `addClassesToSVGElement` no more repeats classes (by @ricardobeat). + ### [ [>](https://github.com/svg/svgo/tree/v0.6.6) ] 0.6.6 / 25.04.2016 * Corrected CSSO API usage diff --git a/README.md b/README.md index 6831b279f..e21f45285 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Today we have: * [ [ removeTitle](https://github.com/svg/svgo/blob/master/plugins/removeTitle.js) ] remove `` (disabled by default) * [ [ removeDesc](https://github.com/svg/svgo/blob/master/plugins/removeDesc.js) ] remove `<desc>` (only non-meaningful by default) * [ [ removeUselessDefs](https://github.com/svg/svgo/blob/master/plugins/removeUselessDefs.js) ] remove elements of `<defs>` without `id` +* [ [ removeXMLNS](https://github.com/svg/svgo/blob/master/plugins/removeXMLNS.js) ] removes xmlns attribute (for inline svg, disabled by default) * [ [ removeEditorsNSData](https://github.com/svg/svgo/blob/master/plugins/removeEditorsNSData.js) ] remove editors namespaces, elements and attributes * [ [ removeEmptyAttrs](https://github.com/svg/svgo/blob/master/plugins/removeEmptyAttrs.js) ] remove empty attributes * [ [ removeHiddenElems](https://github.com/svg/svgo/blob/master/plugins/removeHiddenElems.js) ] remove hidden elements diff --git a/README.ru.md b/README.ru.md index dafa937b9..d7c1a6163 100644 --- a/README.ru.md +++ b/README.ru.md @@ -23,9 +23,10 @@ SVGO имеет расширяемую архитектуру, в которой * [ [ removeXMLProcInst](https://github.com/svg/svgo/blob/master/plugins/removeXMLProcInst.js) ] удаление XML-инструкций * [ [ removeComments](https://github.com/svg/svgo/blob/master/plugins/removeComments.js) ] удаление комментариев * [ [ removeMetadata](https://github.com/svg/svgo/blob/master/plugins/removeMetadata.js) ] удаление `<metadata>` -* [ [ removeTitle](https://github.com/svg/svgo/blob/master/plugins/removeTitle.js) ] удаление `<title>` (отключена по умолчанию) +* [ [ removeTitle](https://github.com/svg/svgo/blob/master/plugins/removeTitle.js) ] удаление `<title>` (выключено по умолчанию) * [ [ removeDesc](https://github.com/svg/svgo/blob/master/plugins/removeDesc.js) ] удаление `<desc>` (по умолчанию только незначимых) * [ [ removeUselessDefs](https://github.com/svg/svgo/blob/master/plugins/removeUselessDefs.js) ] удаление элементов в `<defs>` без `id` +* [ [ removeXMLNS](https://github.com/svg/svgo/blob/master/plugins/removeXMLNS.js) ] удаление атрибута xmlns (для заинлайненных svg, выключено по умолчанию) * [ [ removeEditorsNSData](https://github.com/svg/svgo/blob/master/plugins/removeEditorsNSData.js) ] удаление пространств имён различных редакторов, их элементов и атрибутов * [ [ removeEmptyAttrs](https://github.com/svg/svgo/blob/master/plugins/removeEmptyAttrs.js) ] удаление пустых атрибутов * [ [ removeHiddenElems](https://github.com/svg/svgo/blob/master/plugins/removeHiddenElems.js) ] удаление скрытых элементов diff --git a/package.json b/package.json index 9c12748ef..e6a30c425 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svgo", - "version": "0.6.6", + "version": "0.7.0", "description": "Nodejs-based tool for optimizing SVG vector graphics files", "keywords": [ "svgo", @@ -59,7 +59,7 @@ "devDependencies": { "mocha": "~3.0.2", "should": "11.1.0", - "istanbul": "~0.4.4", + "istanbul": "~0.4.5", "mocha-istanbul": "~0.3.0", "coveralls": "~2.11.12" },