Skip to content

Releases: svgdotjs/svg.js

Release 3.0.14

31 Oct 20:13
Compare
Choose a tag to compare

Fixed

  • hide parser from screen readers (#1023)

Added

  • added transpiled esm bundle for webpack und co and faster import

Release 3.0.13

12 Jun 11:13
Compare
Choose a tag to compare

Fixed

  • fixed a bug in Timeline.finish() (#964)
  • fixed registration of classes with custom bundler
  • fixed transform getter (e.g. el.transform('scale'))
  • fixed typings (#1004)

Release 3.0.12

19 Feb 16:27
Compare
Choose a tag to compare

Fixed

  • fixed package.json which points to correct file for webpack now (browser keyword)
  • fixed typescript types

Added

  • added ForeignObject to the core

Release 3.0.11

22 Jan 19:03
Compare
Choose a tag to compare

Fixed

  • fixed move commands (x, y, move) of text so that it moves text always by the upper left edge.
  • fixed center commands (cx, cy, center) of text so that it moves text always by the center.

Release 3.0.10

14 Jan 12:13
Compare
Choose a tag to compare

Fixed

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

Release 3.0.9

14 Jan 08:16
Compare
Choose a tag to compare

Fixed

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

Release 3.0.8

13 Jan 19:42
Compare
Choose a tag to compare

Fixed

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

Release 3.0.7

13 Jan 16:31
Compare
Choose a tag to compare

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

Release 3.0.6

12 Jan 20:18
Compare
Choose a tag to compare

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)

Release 3.0.5

12 Dec 22:26
Compare
Choose a tag to compare
  • 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()