fabric.js v3.0.0 Release Notes

Release Date: 2019-05-19 // almost 5 years ago
    • ๐Ÿ’ฅ Breaking: removed support for node 4 and 6. #5356
    • ๐Ÿ’ฅ Breaking: changed objectCaching meaning to disable caching only if possible. #5566
    • ๐Ÿ’ฅ Breaking: private method _setLineStyle can set only empty object now #5588
    • ๐Ÿ’ฅ Breaking: private method _getLineStyle can only return boolean now #5588
    • ๐Ÿ›  Fix: splitByGrapheme can now handle cursor properly #5588
    • โž• Add: Added hasStroke and hasFill, helper methods for decisions on caching and for devs, change image shouldCache method #5567
    • ๐Ÿ›  Fix: Canvas toObject won't throw error now if there is a clipPath #5556
    • โž• Add: added nonScaling property to shadow class #5558
    • ๐Ÿ›  Fix: fixed import of Rect from SVG when has 0 dimensions. #5582
    • ๐Ÿ›  Fix: Shadow offset in dataurl export with retina #5593
    • ๐Ÿ›  Fix: Text can be used as clipPath in SVG export (output is not correct yet) #5591
    • โž• Add: Fabric.disableStyleCopyPasting to disable style transfers on copy-paste of itext #5590
    • ๐Ÿ›  Fix: avoid adding quotes to fontFamily containing a coma #5624
    • ๐Ÿ›  Fix: strokeUniform and cache dimensions #5626
    • ๐Ÿ›  Fix: Do not call onSelect on objects that won't be part of the selection #5632
    • ๐Ÿ›  Fix: fixed handling of empty lines in splitByGrapheme #5645
    • ๐Ÿ›  Fix: Textbox selectable property not restored after exitEditing #5655
    • ๐Ÿ›  Fix: 'before:selection:cleared' event gets target in the option passed #5658
    • โž• Added: enablePointerEvents options to Canvas activates pointer events #5589
    • ๐Ÿ›  Fix: Polygon/Polyline/Path respect points position when initializing #5668
    • ๐Ÿ›  Fix: Do not load undefine objects in group/canvas array when restoring from JSON or SVG. #5684
    • ๐Ÿ‘Œ Improvement: support for canvas background or overlay as gradient #5684
    • ๐Ÿ›  Fix: properly restore clipPath when restoring from JSON #5641
    • ๐Ÿ›  Fix: respect chainable attribute in observable mixin #5606