·
6 commits
to main
since this release
1.28.0
- API changes:
- New API for loading custom components from SVG (
SVGLoaderPlugin
, see the "Custom components" guide). - For consistency, renamed
Elements
->Components
in severalEditorImage
methods. For example,getAllElements
was renamed togetAllComponents
.- The old spellings can still be used, but are deprecated.
- New APIs for creating
StrokeComponent
s (staticStroke.fromStroked
,Stroke.fromFilled
).
- New API for loading custom components from SVG (
- Bug fixes
- Collaborative editing: Fixed an issue where
Duplicate
commands caused editors to become out of sync (commit bee6451).- Note: This change adjusts how
Duplicate
commands are serialized. Although new editors can still deserialize oldDuplicate
commands, old editors will be unable to deserializeDuplicate
commands created by new editors.
- Note: This change adjusts how
- Fixed two incorrect uses of
aria
(commits ffa1ca7, 56975a1). - AbstractRenderer API: Fixed
.pushTransform
and.popTransform
were not applied to paths in some cases (commit 370a5b1).
- Collaborative editing: Fixed an issue where