This repository has been archived by the owner on Oct 30, 2021. It is now read-only.
Releases: RazrFalcon/svgcleaner
Releases · RazrFalcon/svgcleaner
v0.9.5
v0.9.4
v0.9.3
Added
--list-separator
.- The
marker
attribute removing.
Changed
- Attributes with
inherit
orcurrentColor
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
Added
--group-by-style
can group two nodes now.--group-by-style
can group intosvg
now.defs
element is always the first child of ansvg
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
Fixed
transform
grouping in--group-by-style
.
Other
- Includes svgdom 0.6.0 fixes.
- Includes svgparser 0.4.1 fixes.
GUI can be downloaded here.
v0.9.0
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
removesline-height
andxml:space
now.- Some algorithms are moved to the
svgdom
crate.
Changed
<FLAG>
argument type acceptstrue
,false
,yes
,no
,y
,n
now.- Flags
--multipass
,--copy-on-error
and--quiet
doesn't accepts value now. --indent
accepts onlynone
,0
,1
,2
,3
,4
,tabs
now.--join-style-attributes
accepts onlyno
,some
,all
now.
Fixed
- Fixed
stroke-dasharray
andstroke-dashoffset
processing during transformations applying.
v0.8.1
Added
--group-by-style
can group bytransform
now.--remove-needless-attributes
and--remove-default-attributes
now supportsoverflow
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
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
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.