- Fixed
collapseGroups
plugin removing property with a child havinginherit
value. version
attribute value is not more being rounded.- Fixed jsAPI
clone
method with respect to the introduced CSS classes. - Fixed scaling strokes with
vector-effect="non-scaling-stroke"
(by @alexjlockwood). - Fixed passing properties from groups in
collapseGroups
plugin if child have a filter (by @stristr). - Fixed arc path commands parsing without separators after flags, effectively producing a JS error.
- Fixed
viewBox
separators parsing. - Fixed
removeNonInheritableGroupAttrs
plugin to work as intended. - Fixed removing path segments without length in presence of
stroke-linecap
. - Fixed
removeUnknownsAndDefaults
plugin removing attributes from elements withid
. - Fixed converting to large arcs from nearly straight lines curves.
- Fixed
collapseGroups
plugin affecting<switch>
and its subgroups. - Fixed
convertTransform
plugin converting torotate()
with wrong sign in some case. - Fixed
cleanupListOfValues
plugin not preserving non-numeric values. - Fixed
!important
being passed to attributes inconvertStyleToAttrs
plugin. - Added option
keepImportant
toconvertStyleToAttrs
plugin to preserve styles with!important
. removeHiddenElems
plugin now also removes elements withvisibility="hidden"
attribute (by @mikolaj92).- Added
forceAbsolutePath
option toconvertPathData
plugin to always use absolute coordinates (by @cool). - Added
keepRoleAttr
forremoveUnknownsAndDefaults
plugin to preserverole-
attributes (by @himedlooff). - Added
xmlns
order option insortAttrs
plugin (by @hellatan). - Added an option to
prefixIds
plugin to pass prefix as false or as a function that returns false (by @vzaidman). prefixIds
plugin now adds prefix to every class (by @vzaidman).- Updated and improved docs a bit (multiple authors).