Skip to content

Releases: fabricjs/fabric.js

Version 3.1.0

01 Jun 09:10
51a8437
Compare
Choose a tag to compare

Fix: unbreak IE10. #5678
Improvement: Support scientific notation with uppercase E. #5731
Add: PencilBrush brush now support decimate property to remove dots that are too near to each other. #5718

Version 3.0.0

19 May 21:50
4766658
Compare
Choose a tag to compare

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

Version 2.7.0

02 Mar 18:33
e2338a3
Compare
Choose a tag to compare

Add: strokeUniform property, avoid stroke scaling with paths #5473
Fix: fix bug in image setSrc #5502
Add: strokeUniform import/export svg #5527
Fix: GraphemeSplit and toSvg for circle #5544
Improvement: support running in a XML document #5530

Version 2.6.0

13 Jan 15:43
92aa599
Compare
Choose a tag to compare

Fix: avoid ie11 to throw on weird draw images #5428
Fix: a rare case of invisible clipPath #5477
Fix: testability of code under node when webgl is involved #5478
Add: Grapeheme text wrapping for Textbox (Textbox.splitByGrapheme) #5479
Add: fabric.Object.toCanvasElement #5481

Version 2.5.0

13 Jan 15:43
5d25f69
Compare
Choose a tag to compare

Fix: textbox transform report newScaleX and newScaleY values #5464
Fix: export of svg and gradient with transforms #5456
Fix: detection of controls in perPixelTargetFind + cache #5455
Add: added canvas.toCanvasElement method #5452

Version 2.4.6

25 Dec 21:25
3327bde
Compare
Choose a tag to compare
  • Fix: unbreak the svg export broken in 2.4.5 #5438

Version 2.4.5

10 Dec 23:54
8a15902
Compare
Choose a tag to compare

Fix: svg import/export for canvas+clipPath and letterspacing #5424
Fix: avoid stroke dash from group selection to leak on upper canvas #5392

Version 2.4.4

25 Nov 16:38
f56886e
Compare
Choose a tag to compare
  • Fix: add clipPath to stateful cache check. #5384
  • Fix: restore draggability of small objects #5379
  • Improvement: Added strokeDashOffset to objects and from SVG import. #5398
  • Fix: do not mark objects as invisible if strokeWidth is > 0 #5382
  • Improvement: Better gradients parsing with xlink:href#5357

Version 2.4.3

28 Oct 21:40
96f31d4
Compare
Choose a tag to compare

Fix: Shift click and onSelect function #5348
Fix: Load from Json from images with filters and resize filters #5346
Fix: Remove special case of 1x1 rect #5345
Fix: Group with clipPath restore #5344
Fix: Fix shift + click interaction with unselectable objects #5324

Version 2.4.2

14 Oct 17:09
61249c8
Compare
Choose a tag to compare

Fix: Better toSVG support to enable clipPath #5284
Fix: Per pixel target find and groups and sub targets #5287
Fix: Object clone as Image and shadow clipping #5308
Fix: IE11 loading SVG #5307