Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Releases: RazrFalcon/svgcleaner

v0.9.5

10 Apr 14:27
Compare
Choose a tag to compare

GUI can be downloaded here.

Added

  • Removal of the transform attribute with a default value.

Changed

  • A default Transform will be printed as matrix(1 0 0 1 0) and not as an empty string.

Fixed

  • Attributes resolving during the defs regrouping.
  • Text with xml:space preprocessing.

v0.9.4

22 Mar 15:33
Compare
Choose a tag to compare

Fixed

  • Crash during defs processing.
  • Crash during use resolving.
  • The --resolve-use option does not resolve used use now.

GUI can be downloaded here.

v0.9.3

17 Jan 19:57
Compare
Choose a tag to compare

Added

  • --list-separator.
  • The marker attribute removing.

Changed

  • Attributes with inherit or currentColor values and without a proper parent is an error now.

Fixed

  • Groups removing with transform and non-SVG child.
  • Transform to path applying when a path has a style defined in a parent element.
  • Multipass with --join-style-attributes.
  • Paths preprocessing.

GUI can be downloaded here.

v0.9.2

16 Dec 15:36
Compare
Choose a tag to compare

Added

  • --group-by-style can group two nodes now.
  • --group-by-style can group into svg now.
  • defs element is always the first child of an svg now.

Fixed

  • Groups ungrouping inside a switch element.
  • Complex groups ungrouping.
  • --group-by-style recursive processing.
  • Crash if path has an implicit MoveTo after ClosePath.
  • --remove-unresolved-classes option had no effect.

GUI can be downloaded here.

v0.9.1

18 Jun 13:38
Compare
Choose a tag to compare

Fixed

  • transform grouping in --group-by-style.

Other

GUI can be downloaded here.

v0.9.0

05 Jun 16:32
Compare
Choose a tag to compare

Added

  • XML nodes can be indented with tabs now. Using --indent=tabs.
  • Presentational attributes joining can be forced with --join-style-attributes=all now.
  • stdin and stdout support.
  • --no-defaults.
  • --apply-transform-to-paths.
  • --allow-bigger-file.
  • --coordinates-precision.
  • --properties-precision.
  • --transforms-precision.
  • Better groups with transforms ungrouping.
  • --remove-text-attributes removes line-height and xml:space now.
  • Some algorithms are moved to the svgdom crate.

Changed

  • <FLAG> argument type accepts true, false, yes, no, y, n now.
  • Flags --multipass, --copy-on-error and --quiet doesn't accepts value now.
  • --indent accepts only none, 0, 1, 2, 3, 4, tabs now.
  • --join-style-attributes accepts only no, some, all now.

Fixed

  • Fixed stroke-dasharray and stroke-dashoffset processing during transformations applying.

Downloads

v0.8.1

01 Feb 11:57
Compare
Choose a tag to compare

Added

  • --group-by-style can group by transform now.
  • --remove-needless-attributes and --remove-default-attributes
    now supports overflow attribute.
  • svgcleaner can be used as a library now.

Fixed

  • Incorrect grouping in --group-by-style.
  • Gradients with one stop children processing in --remove-invisible-elements.

v0.8.0

14 Jan 20:36
Compare
Choose a tag to compare

Added

  • --use-implicit-cmds.
  • --convert-segments.
  • --resolve-use.
  • --paths-coordinates-precision.
  • --group-by-style.
  • --apply-transform-to-shapes.

Fixed

  • CLI arguments processing.

Removed

  • --move-styles-to-group. Use --group-by-style instead.

Other

  • Updated to the latest version of the libsvgdom.

v0.7.1

04 Nov 02:02
Compare
Choose a tag to compare

Added

  • Check that input file exist.
  • Remove invisible elements now removes default feColorMatrix element.
  • --remove-unresolved-classes.

Other

  • Updated to the latest version of the libsvgdom.

v0.7.0

09 Oct 22:28
Compare
Choose a tag to compare
  • Rewritten from C++ to Rust.
  • Implemented own SVG parser and SVG DOM.
  • ~3x faster.
  • Increased correctness. svgcleaner is lossless now.
  • ~5% smaller cleaning ratio as a cost for correctness.
  • Added a documentation for all cleaning options.
  • The GUI is in the separate repo now.