v0.8.0
What's Changed
Breaking changes
- Remove
$root
parameter ofSVGDocumentFragment
constructor (def5a72)
(breaks any code using nested<svg>
tags)
Features
- Add
getElementById
method to document class (936d22c) - Add
getElementsByTagName
method to nodes (2283a21) - Add support for node values (inner text);
<text>
,<textPath>
(PR #42 by @thomas-kl1) (c628ff3) - Allow omitting of leading XML tag when writing output (PR #48 by @micgro42) (fe8c9d9)
- Add
<title>
tag (PR #47 by @micgro42) (9c73817) - Add support for adding children at a specific index (#51) (9e50562)
- Add
SVGNodeContainer::setChild
method (#51) (48c3980) - Add generic type for unknown nodes(#41) (5677a18)
Fixes
- Fix
setType
method onSVGStyle
(PR #44 by @peter279k) (212cae4) - Travis 5.3 test (PR #46 by @peter279k) (e309858)
New Contributors
- @thomas-kl1 made their first contribution in #42
- @peter279k made their first contribution in #44
- @micgro42 made their first contribution in #48
Full Changelog: v0.7.0...v0.8.0