18 KiB
18 KiB
Release Notes for Scour
Version 0.35 (not released yet)
- Add
--order-attributesoption which orders attributes alphabetically in output. (#59) - Drop official support for Python 2.6. (While it will probably continue to work for a while compatibility is not guaranteed anymore. If you continue to use Scour with Python 2.6 and should find/fix any compatibility issues pull requests are welcome, though.)
- Fix: Unused IDs were not shortended when
--shorten-idswas used. - Fix: Most elements were still removed from
<defs>when--keep-unreferenced-defswas used. (#62) - Improve escaping of single/double quotes ('/") in attributes. (#64)
- Print usage information if no input file was specified (and no data is available from
stdin).(#65) - Redirect informational output to
stderrwhen SVG is output tostdout. (#67) - Allow elements to be found via
Document.getElementById()in the minidom document returned by scourXmlFile(). (#68) - Improve code to remove default attribute values and add a lot of new default values. (#70)
- Fix: Only attempt to group elements that the content model allows to be children of a
<g>when--create-groupsis specified. (#98) - Fix: Update list of SVG presentation attributes allowing more styles to be converted to attributes and remove two entries (
line-heightandvisibility) that were actually invalid. (#99) - Add three options that work analoguous to
--remove-metadata(removes elements) (#102)--remove-titles(removes