diff --git a/HISTORY.md b/HISTORY.md index def0623..0cbe1a6 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,48 +2,48 @@ ## Version 0.35 (not released yet) -* Add `--order-attributes` option which orders attributes alphabetically in output. (#59) +* Add `--order-attributes` option which orders attributes alphabetically in output. ([#59](https://github.com/scour-project/scour/issues/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 `` 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: Most elements were still removed from `` when `--keep-unreferenced-defs` was used. ([#62](https://github.com/scour-project/scour/issues/62)) +* Improve escaping of single/double quotes ('/") in attributes. ([#64](https://github.com/scour-project/scour/issues/64)) +* Print usage information if no input file was specified (and no data is available from `stdin`).([#65](https://github.com/scour-project/scour/issues/65)) +* Redirect informational output to `stderr` when SVG is output to `stdout`. ([#67](https://github.com/scour-project/scour/issues/67)) +* Allow elements to be found via `Document.getElementById()` in the minidom document returned by scourXmlFile(). ([#68](https://github.com/scour-project/scour/issues/68)) +* Improve code to remove default attribute values and add a lot of new default values. ([#70](https://github.com/scour-project/scour/issues/70)) ## Version 0.34 (2016-07-25) -* Add a function to sanitize an arbitrary Python object containing options for Scour as attributes (usage: `Scour.sanitizeOptions(options)`).
This simplifies usage of the Scour module by other scripts while avoiding any compatibility issues that might arise when options are added/removed/renamed in Scour. (#44) -* Input/output file can now be specified as positional arguments (e.g. `scour input.svg output.svg`). (#46) -* Improve `--help` output by intuitively arranging options in groups. (#46) -* Add option `--error-on-flowtext` to raise an exception whenever a non-standard `` element is found (which is only supported in Inkscape). If this option is not specified a warning will be shown. (#53) -* Automate tests with continouous integration via Travis. (#52) +* Add a function to sanitize an arbitrary Python object containing options for Scour as attributes (usage: `Scour.sanitizeOptions(options)`).
This simplifies usage of the Scour module by other scripts while avoiding any compatibility issues that might arise when options are added/removed/renamed in Scour. ([#44](https://github.com/scour-project/scour/issues/44)) +* Input/output file can now be specified as positional arguments (e.g. `scour input.svg output.svg`). ([#46](https://github.com/scour-project/scour/issues/46)) +* Improve `--help` output by intuitively arranging options in groups. ([#46](https://github.com/scour-project/scour/issues/46)) +* Add option `--error-on-flowtext` to raise an exception whenever a non-standard `` element is found (which is only supported in Inkscape). If this option is not specified a warning will be shown. ([#53](https://github.com/scour-project/scour/issues/53)) +* Automate tests with continouous integration via Travis. ([#52](https://github.com/scour-project/scour/issues/52)) ## Version 0.33 (2016-01-29) -* Add support for removal of editor data of Sketch. (#37) +* Add support for removal of editor data of Sketch. ([#37](https://github.com/scour-project/scour/issues/37)) * Add option `--verbose` (or `-v`) to show detailed statistics after running Scour. By default only a single line containing the most important information is output now. ## Version 0.32 (2015-12-10) -* Add functionality to remove unused XML namespace declarations from the `` root element. (#14) -* Restore unittests which were lost during move to GitHub. (#24) -* Fix a potential regex matching issue in `points` attribute of `` and `` elements. (#24) -* Fix a crash with `points` attribute of `` and `` starting with a negative number. (#24) -* Fix encoding issues when input file contained unicode characters. (#27) -* Fix encoding issues when using `stding`/`stdout` as input/output. (#27) -* Fix removal of comments. If a node contained multiple comments usually not all of them were removed. (#28) +* Add functionality to remove unused XML namespace declarations from the `` root element. ([#14](https://github.com/scour-project/scour/issues/14)) +* Restore unittests which were lost during move to GitHub. ([#24](https://github.com/scour-project/scour/issues/24)) +* Fix a potential regex matching issue in `points` attribute of `` and `` elements. ([#24](https://github.com/scour-project/scour/issues/24)) +* Fix a crash with `points` attribute of `` and `` starting with a negative number. ([#24](https://github.com/scour-project/scour/issues/24)) +* Fix encoding issues when input file contained unicode characters. ([#27](https://github.com/scour-project/scour/issues/27)) +* Fix encoding issues when using `stding`/`stdout` as input/output. ([#27](https://github.com/scour-project/scour/issues/27)) +* Fix removal of comments. If a node contained multiple comments usually not all of them were removed. ([#28](https://github.com/scour-project/scour/issues/28)) ## Version 0.31 (2015-11-16) -* Ensure Python 3 compatibility. (#8) -* Add option `--nindent` to set the number of spaces/tabs used for indentation (defaults to 1). (#13) -* Add option `--no-line-breaks` to suppress output of line breaks and indentation altogether. (#13) -* Add option `--strip-xml-space` which removes the specification of `xml:space="preserve"` on the `` root element which would otherwise disallow Scour to make any whitespace changes in output. (#13) +* Ensure Python 3 compatibility. ([#8](https://github.com/scour-project/scour/issues/8)) +* Add option `--nindent` to set the number of spaces/tabs used for indentation (defaults to 1). ([#13](https://github.com/scour-project/scour/issues/13)) +* Add option `--no-line-breaks` to suppress output of line breaks and indentation altogether. ([#13](https://github.com/scour-project/scour/issues/13)) +* Add option `--strip-xml-space` which removes the specification of `xml:space="preserve"` on the `` root element which would otherwise disallow Scour to make any whitespace changes in output. ([#13](https://github.com/scour-project/scour/issues/13)) ## Version 0.30 (2014-08-05) @@ -53,13 +53,13 @@ ## Version 0.29 (2014-07-26) -* Add option `--keep-unreferenced-defs` to preserve elements in `` that are not referenced and would be removed otherwise. (#2) +* Add option `--keep-unreferenced-defs` to preserve elements in `` that are not referenced and would be removed otherwise. ([#2](https://github.com/scour-project/scour/issues/2)) * Add option to ingore unknown cmd line opts. ## Version 0.28 (2014-01-12) -* Add option `--shorten-ids-prefix` which allows to add a custom prefix to all shortened IDs. (#1) +* Add option `--shorten-ids-prefix` which allows to add a custom prefix to all shortened IDs. ([#1](https://github.com/scour-project/scour/issues/1)) ## Version 0.27 (2013-10-26)