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