Skip to content

Releases: f2face/artisan

Release v0.4.2

12 Nov 13:37
0cb6265
Compare
Choose a tag to compare

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

11 Nov 15:17
72eb19e
Compare
Choose a tag to compare

Release v0.4.0

08 Nov 16:47
1692d27
Compare
Choose a tag to compare

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

06 Nov 03:19
b0718a2
Compare
Choose a tag to compare

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

05 Nov 07:29
014d7a5
Compare
Choose a tag to compare
Bump version