npm fabric 3.0.0
Version 3.0.0

latest releases: 6.0.0-rc1, 6.0.0-beta20, 6.0.0-beta19...
4 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

Don't miss a new fabric release

NewReleases is sending notifications on new releases.