svg.js v2.3.0 Release Notes

Release Date: 2016-03-30 // about 8 years ago
  • ➕ Added

    • ➕ added SVG.Point which serves as Wrapper to the native SVGPoint (#437)
    • ➕ added element.point(x,y) which transforms a point from screen coordinates to the elements space (#403)
    • ➕ added element.is() which helps to check for the object instance faster (instanceof check)
    • ➕ added more fx specs

    🔄 Changed

    • textpath now is a parent element, the lines method of text will return the tspans inside the textpath (#450)
    • 👀 fx module rewritten to support animation chaining and several other stuff (see docs)

    🛠 Fixed

    • 🛠 fixed svgjs:data attribute which was not set properly in all browsers (#428)
    • 🛠 fixed isNumber and numberAndUnit regex (#405)
    • 🛠 fixed error where a parent node is not found when loading an image but the canvas was cleared (#447)
    • 🛠 fixed absolute transformation animations (not perfect but better)
    • 🛠 fixed event listeners which didnt work correctly when identic funtions used