Svg.js Versions Save

The lightweight library for manipulating and animating SVG

3.0.10

5 years ago

Fixed

  • fixed textPath(), path().text() and text().path()
  • fixed root() method
  • fixed default values returned by attr. Can be missleading if present.

3.0.9

5 years ago

Fixed

  • renamed unit() to convert() due to name collision

3.0.8

5 years ago

Fixed

  • added back to() as unit() of SVG.Number which was removed accidentally

3.0.7

5 years ago

Fixed

  • fixed a bug in isNulledBox() and domContains()
  • performance changes:
    • replace getElementsByTagName with querySelector
    • make Color check in attr more restrictive to prevent expensive toString

3.0.6

5 years ago

Fixed

  • fixed group move and size commands
  • default font size is not set anymore because it mostly goes against what the user wants
  • fix bug in font() which set wrong values

Added

  • PointArray.transform() (#945)

3.0.5

5 years ago
  • fixed parser which didnt have all reqired css rules and not focusable=false
  • group x(), y(), width(), height(), dx(), dy() now correctly change the bbox of the group by moving/resizing all children
  • fixed timeline which fired finished to early
  • fixed Animator.frame(). The passed callback gets the current time now (same as RAF)
  • allow loop(true) which is the same as loop()

3.0.4

5 years ago
  • fixed zoom which was added correctly and is animatable now
  • fixed Runner which merges transformations on the correct frame and in the correct way now
  • fixed condition on which transforms get deleted from an element when animating
  • fixed Timeline which executes Runner in the correct order now
  • fixed Svg which correctly deletes the defs reference on clear()

3.0.3

5 years ago
  • fixed Runner which correctly retains transformations when it is still on a timeline
  • fixed plot() method of Runner
  • fixed timeline() so that one can set the timeline of an element now
  • fixed G and added missing width/height

3.0.2

5 years ago
  • fixed List which still didn't have all method names it should have
  • fixed Runner which correctly handle retargeted controlled animations now
  • fixed Runner so that it is able to be persisted correctly
  • fixed Color which correctly handles empty strings now
  • fixed attr which correctly handles Objects of other kind now
  • fixed Morphable which correctly calculates the done flag now

3.0.1

5 years ago

Fixed

  • fixed insertBefore, insertAfter and flip correctly returning this
  • fixed List which didnt have all method names it should have