Releases: svgdotjs/svg.js
Releases · svgdotjs/svg.js
Release 3.0.14
Fixed
- hide parser from screen readers (#1023)
Added
- added transpiled esm bundle for webpack und co and faster import
Release 3.0.13
Release 3.0.12
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
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
Fixed
- fixed
textPath()
,path().text()
andtext().path()
- fixed
root()
method - fixed default values returned by
attr
. Can be missleading if present.
Release 3.0.9
Fixed
- renamed
unit()
toconvert()
due to name collision
Release 3.0.8
Fixed
- added back
to()
asunit()
ofSVG.Number
which was removed accidentally
Release 3.0.7
Fixed
- fixed a bug in
isNulledBox()
anddomContains()
- performance changes:
- replace
getElementsByTagName
withquerySelector
- make Color check in
attr
more restrictive to prevent expensivetoString
- replace
Release 3.0.6
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
- 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 asloop()