Releases: f2face/artisan
Releases · f2face/artisan
Release v0.4.2
This release removes unnecessary xmlns
and xmlns:xlink
attributes when applying nested <svg>
.
Full Changelog: v0.4.1...v0.4.2
Release v0.4.1
Full Changelog: v0.4.0...v0.4.1
Release v0.4.0
This release introduces a way to append multiple/nested elements.
✅ No breaking changes.
Example:
const svg = new Svg();
svg.appendChild([
RawElement.create('a', {}, [
RawElement.create('b', {}, [
node.text({}, [
node.tspan({}, 'Lorem'),
node.tspan({}, 'ipsum'),
]),
'raw text',
'another raw text',
]),
RawElement.create('some-other-element'),
]),
]);
Full Changelog: v0.3.0...v0.4.0
Release v0.3.0
BREAKING CHANGES!
This version automatically add closing tag if the element has content.
Full Changelog: v0.2.2...v0.3.0
Release v0.2.2
Bump version