fabric.js v4.0.0-beta.11 Release Notes

Release Date: 2020-04-25 // almost 4 years ago
    • ๐Ÿ›  fix(itext): improved style handling for new lines #6268
    • ๐Ÿ›  fix(controls): Fix flip and controls and skewY and controls. #6278
    • ๐Ÿ›  fix(controls): Current position with handlers is wrong if using skew #6267
    • ๐Ÿ’ฅ breaking: setCoords has only one argument now skipCorners boolean. setCoords will always update aCoords, lineCoords. If skipCorners is not specified, it will alos update oCoords();
    • feat(fabric.Image): Image.imageSmoothing for fabric.Image objects #6280
    • ๐Ÿ›  fix(fabric.StaticCanvas): export to dataUrl and canvasElement will respect imageSmoothingEnabled #6280
    • ๐Ÿ›  fix(fabric.Image): toSVG export with missing element won't crash #6280
    • โž• added: added fabric.util.setImageSmoothing(ctx, value);
    • โž• added svg import/export for image image-rendering attribute
    • ๐Ÿ›  fix(svg_import): Fix some parsing logic for nested SVGs. #6284
    • ๐Ÿ›  fix(fabric.Image): do not crash if image has no element #6285

    ๐Ÿ’ฅ BREAKING:

    • โœ‚ removed 2 utils member that was not used anywhere: fabric.util.getScript, fabric.util.getElementStyle
    • โœ‚ remove private member _setImageSmoothing in the canvas: use fabric.util.setImageSmoothing(ctx, value);