scour/HISTORY.md
2016-08-30 00:13:37 +02:00

18 KiB

Release Notes for Scour

Version 0.35 (not released yet)

  • Add --order-attributes option 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-ids was used.
  • Fix: Most elements were still removed from <defs> when --keep-unreferenced-defs was 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 stderr when SVG is output to stdout. (#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-groups is specified. (#98)
  • Fix: Update list of SVG presentation attributes allowing more styles to be converted to attributes and remove two entries (line-height and visibility) that were actually invalid. (#99)
  • Add three options that work analoguous to --remove-metadata (removes elements) (#102)
    • --remove-titles (removes