Skip to content

v0.7.0

Compare
Choose a tag to compare
@meyfa meyfa released this 20 Jan 12:42

What's Changed

Besides internal rewrites, this release offers many fixes for nonconforming behavior. In addition, there is now support for rectangles with rounded corners, the full range of CSS color notation and automatic entity escaping in attributes ("").

Fixes

  • Fix miscellaneous SVGDocumentFragment test failures (094238d)
  • Remove unnecessary rasterizer clipping (20e64d5)
  • Treat empty namespace string like 'xmlns' (58a43f7)
  • Fix namespaces not added to document fragment by SVGReader (dadcabd)
  • Fix width/height taken from viewBox by SVGReader when explicit attributes are missing (dadcabd)
  • Fix SVG::convertUnit accepting missing value (c9ce6ed)

Features

  • Add support for rounded rectangles (PR #29 by @yoya, PR #34 by @meyfa) (600da3e)
  • Rewrite color parsing algorithm (#36, #37) (203c93e)
  • Decode/Encode XML entities in reader/writer (#39) (a84f8dd)
  • Make SVGNode::setStyle and SVGNode::setAttribute unset properties when given null (0747a98)
  • Remove obsolete SVGNode::setAttributeOptional (#38) (0747a98)
  • Rewrite viewBox parsing for SVGNode (c8c4f6b)

Tests

  • Huge expansion of unit testing suite (work in progress) (see #35)

New Contributors

  • @yoya made their first contribution in #29

Full Changelog: v0.6.1...v0.7.0