All Versions
68
Latest Version
Avg Release Cycle
39 days
Latest Release
-

Changelog History
Page 4

  • v2.5.1 Changes

    March 27, 2017

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ make svgjs ready to be used on the server

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed SVG.PathArray.parse that did not correctly parsed flat arrays
    • ๐Ÿ“œ prevented unnecessary parsing of point or path strings
  • v2.5.0 Changes

    March 10, 2017

    โž• Added

    • โž• added a plot and array method to SVG.TextPath (#582)
    • โž• added clone() method to SVG.Array/PointArray/PathArray (#590)
    • โž• added font() method to SVG.Tspan
    • โž• added SVG.Box()
    • โž• added transform() method to boxes
    • โž• added event() to SVG.Element to retrieve the event that was fired last on the element (#550)

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ changed CHANGELOG to follow the conventions described in โ€œKeep a CHANGELOGโ€ (#578)
    • ๐Ÿ‘‰ make the method plot a getter when no parameter is passed for SVG.Polyline,SVG.Polygon, SVG.Line, SVG.Path (related #547)
    • ๐Ÿ‘ allow SVG.PointArray to be passed flat array
    • ๐Ÿ”„ change the regexp SVG.PointArray use to parse string to allow more flexibility in the way spaces and commas can be used
    • ๐Ÿ‘ allow plot to be called with 4 parameters when animating an SVG.Line
    • relative value for SVG.Number are now calculated in its morph method (related #547)
    • clean up the implementation of the initAnimation method of the FX module (#547, #552, #584)
    • ๐Ÿ—„ deprecated .tbox(). .tbox() now map to .rbox(). If you are using .tbox(), you can substitute it with .rbox() (#594, #602)
    • all boxes now accept 4 values or an object on creation
    • el.rbox() now always returns the right boxes in screen coordinates and has an additional paramater to transform the box into other coordinate systems
    • font() method can now be used like attr() method (#620)
    • 0๏ธโƒฃ events are now cancelable by default (#550)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed a bug in the plain morphing part of SVG.MorphObj that is in the FX module
    • ๐Ÿ›  fixed bug which produces an error when removing an event from a node which was formerly removed with a global off() (#518)
    • ๐Ÿ›  fixed a bug in size() for poly elements when their height/width is zero (#505)
    • viewbox now also accepts strings and arrays as constructor arguments
    • SVG.Array now accepts a comma seperated string and returns array of numbers instead of strings
    • SVG.Matrix now accepts an array as input
    • SVG.Element.matrix() now accepts also 6 values
    • dx()/dy() now accepts percentage values, too but only if the value on the element is already percentage
    • flip() now flips on both axis when no parameter is passed
    • ๐Ÿ›  fixed bug with documentElement.contains() in IE
    • ๐Ÿ›  fixed offset produced by svg parser (#553)
    • ๐Ÿ›  fixed a bug with clone which didnt copy over dom data (#621)
  • v2.4.0 Changes

    January 14, 2017

    โž• Added

    • โž• added support for basic path animations (#561)
  • v2.3.7 Changes

    January 14, 2017

    โž• Added

    ๐Ÿ”„ Changed

    • ๐Ÿšš moved project to svgdotjs
    • made matrixify work with transformation chain separated by commas (#543)
    • โšก๏ธ updated dev dependencies; request and gulp-chmod - npm run build now requires nodejs 4.x+

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed SVG.Matrix.skew() (#545)
    • ๐Ÿ›  fixed broken animations, if using polyfills for es6/7 proposals (#504)
    • ๐Ÿ›  fixed and improved SVG.FX.dequeue() (#546)
    • ๐Ÿ›  fixed an error in SVG.FX.step, if custom properties is added to Array.prototype (#549)
  • v2.3.6 Changes

    October 21, 2016

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ make SVG.FX.loop modify the last situation instead of the current one (#532)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed leading and trailing space in SVG.PointArray would return NaN for some points (695f26a) (#529)
    • ๐Ÿ›  fixed test of SVG.FX.afterAll (#534)
    • ๐Ÿ›  fixed SVG.FX.speed() (#536)
  • v2.3.5 Changes

    October 13, 2016

    โž• Added

    • โž• added automated unit tests via Travis (#527)
    • โž• added npm run build to build a new version of SVG.js without requiring gulp to be globally installed

    ๐Ÿ”„ Changed

    • calling fill(), stroke() without an argument is now a nop
    • Polygon now accepts comma less points to achieve parity with Adobe Illustrator (#529)
    • โšก๏ธ updated dependencies
  • v2.3.4 Changes

    August 04, 2016

    ๐Ÿ”„ Changed

    • reworked parent module for speed improvemenents
    • reworked filterSVGElements utility to use a for loop instead of the native filter function
  • v2.3.3 Changes

    August 02, 2016

    โž• Added

    • โž• add error callback on image loading (#508)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed bug when getting bbox of text elements which are not in the dom (#514)
    • ๐Ÿ›  fixed bug when getting bbox of element which is hidden with css (#516)
  • v2.3.2 Changes

    June 21, 2016

    โž• Added

    • โž• added specs for SVG.ViewBox
    • โž• added parent parameter for clone()
    • โž• added spec for mentioned issue

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed string parsing in viewbox (#483)
    • ๐Ÿ›  fixed bbox when element is not in the dom (#480)
    • ๐Ÿ›  fixed line constructor which doesn't work with Array as input (#487)
    • ๐Ÿ›  fixed problem in IE with document.contains (#490) related to (#480)
    • ๐Ÿ›  fixed undo when undoing transformations (#494)
  • v2.3.1 Changes

    May 05, 2016

    โž• Added

    • โž• added typings for svg.js (#470)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed SVG.morph() (#473)
    • ๐Ÿ›  fixed parser error (#471)
    • ๐Ÿ›  fixed bug in SVG.Color with new fx
    • ๐Ÿ›  fixed radius() for circles when animating and other related code (#477)
    • ๐Ÿ›  fixed bug where stop(true) throws an error when element is not animated (#475)
    • ๐Ÿ›  fixed bug in add() when altering svgs with whitespaces
    • ๐Ÿ›  fixed bug in SVG.Doc().create where size was set to 100% even if size was already specified
    • ๐Ÿ›  fixed bug in parse() from SVG.PathArray which does not correctly handled S and T (#485)