Skip to content

Releases: fabricjs/fabric.js

Version 1.6.5

02 Oct 19:36
Compare
Choose a tag to compare

Fix: charspacing, do not get subzero with charwidth.
Improvement: add callback support to all object cloning. #3212
Improvement: add backgroundColor to all classe #3248
Fix: add custom properties to backgroundImage and overlayImage #3250
Fix: Object intersection is calculated on boundingBox and boundingRect, intersection is fired if objects are overlapping #3252
Change: Restored previous selection behaviour, added key to selection active object under overlaid target #3254
Improvement: hasStateChanged let you find state changes of complex properties. #3262
Fix: IText/Textbox shift click selection backward. #3270
Revert: font family quoting was a bad idea. node-canvas stills use it. #3276
Fix: fire mouse:over event for activeObject and activeGroup when using findTarget shourtcuts #3285
Fix: clear method clear all properties of canvas #3305
Fix: text area position method takes in account canvas offset #3306
Improvement: Added event on right click and possibility to hide the context menu with a flag 3308
Fix: remove canvas reference from object when object gets removed from canvas #3307
Improvement: use native stroke dash if available #3309
Fix: Export correct src when exporting to svg #3310
Fix: Stop text to go on zero dimensions #3312
Fix: Error in dataURL with multiplier was outputting very big canvas with retina #3314
Fix: Error in style map was not respecting style if textbox started with space #3315

Version 1.6.4

28 Aug 21:03
Compare
Choose a tag to compare
  • Improvement: Ignore svg: namespace during svg import. #3081
  • Improvement: Better fix for lineHeight of iText/Text #3094
  • Improvement: Support for gradient with 'Infinity' coordinates #3082
  • Improvement: Generally "improved" logic of targeting #3111
  • Fix: Selection of active group with transparency and preserveObjectStacking true or false #3109
  • Fix: pattern brush now create the same pattern seen while drawing #3112
  • Fix: Allow css merge during svg import #3114
  • Improvement: added numeric origins handling fomr 0 to 1. #3121
  • Fix: Fix a defect with shadow of objects in a scaled group. #3134
  • Improvement: Do not fire unecessary selection:changed events. #3119
  • Fix: Attached hiddenTextarea to body fixes IE, thanks to @plainview. #3137
  • Fix: Shift unselect activegroup on transformed canvas. #3144
  • Added: ColorMatrix filter #3139
  • Fix: Fix condition in wich restoring from Object could cause object overwriting #3146
  • Change: cloneAsImage for Object and toDataUrl for object are not retina enabled by default. Added option to enable. #3147
  • Improvement: Added textSpacing support for text/itext/textbox #3097
  • Fix: Quote font family when setting the context fontstyle #3191
  • Fix: use getSrc during image export, make subclassing easier, return eventually the .src property if nothing else is available #3189
  • Fix: Inverted the meaning of border scale factor #3154
  • Improvement: Added support for RGBA in HEX notation. #3202
  • Improvement: Added object deselected event. #3195
  • Fix: loadFromJson callback now gets fired after filter are applied #3210

Version 1.6.3

03 Jul 11:54
Compare
Choose a tag to compare

Improvement: Use reviver callback for background and overlay image when doing svg export. #2975
Improvement: Added object property excludeFromExport to avoid exporting the object to JSON or to SVG. #2976
Improvement: Correct the calculation of text boundingbox. Improves svg import #2992
Added: Export id property to SVG #2993
Improvement: Call the callback on loadSvgFromURL on failed xml load with null agument #2994
Improvement: Clear only the Itext area on contextTop during cursor animation #2996
Added: Char widths cache has been moved to fabric level and not iText level. Added fabric.util.clearFabricCharWidthsCache(fontName) #2995
Fix: do not set background or overlay image if the url load fails. #3003
Fix: iText mousemove event removal, clear the correct area for Itext, stopped redrawing selection if not necessary #3016
Fix: background image and overlay image scale and move with canvas viewportTransform, parameter available #3019
Added: support sub targeting in groups in events #2997
Fix: Select transparent object on mouse up because of _maybeGroupObject #2997
Fix: Remove reference to lastRenderedObject on canvas.remove #3023
Fix: Wait for all objects to be loaded before deleting the properties and setting options. #3029
Fix: Object Padding is unaffected by object transform. #3057
Fix: Restore lastRenderedObject usage. Introduced Canvas.lastRenderedKey to retrieve the lastRendered object from down the stack #3057
Fix: _calcTextareaPosition correctly calculate the position considering the viewportTransform. #3057
Fix: Fixed selectionBacgroundColor with viewport transform. #3057
Improvement: Correctly render the cursor with viewport scaling, improved the cursor centering. #3057
Fix: Use canvas zoom and pan when using is target transparent. #2980
Improvement: Added additional methods to center object on canvas. #3044

Version 1.6.2

15 May 22:00
Compare
Choose a tag to compare

Fix: restore canvas properties on loadFromJSON with includeProperties. #2921
Fix: Allow hoverCursor on non selectable objects, moveCursor does not appear if the object is not moveable. Added object.moveCursor to specify a cursor for moving per object. #2924
Fix: Add missing stroke.live translation, allow gradientTransform for dashed line. #2926
Improvement: Allow customization of keys that iteract with mouse action ( multiselect key, free tranform key, alternative action key, centered transform key ) #2925
Added: Make iText fires object:modified on text change on exit editing #2927
Added: [control customization part 1] cornerDashArray, borderDashArray. Now borderScaleFactor influences both border and controls, changed default corner size to 13 #2932
Fix: createSVGFontFacesMarkup was failing to retrieve fonts in style #2935
Fix: shadow not scaled with dataUrl to multiplier #2940
Added: [control customization part 2] cornerStrokeColor. Now is possible to specify separate stroke and fill color for the controls #2933
Fix: Itext width calculation with caching false was returning nan. #2943
Added: [control customization part 3] Rounded corners. It is possible to specify cornerStyle for the object. 'rect' or 'circle' #2942
Added: [control customization part 4] Selection background. It is possible to specify selectionBackgroundColor for the object. #2950
Fix: Behaviour of image with filters with resize effects and Object to/from json #2954
Fix: Svg export should not output color notation in rgba format #2955
Fix: minScaleLimit rounding bug #2964
Fix: Itext spacing in justify mode bug #2971
Fix: Object.toDataUrl export when some window.devicepixelRatio is present (retina or browser zoom) #2972

Version 1.6.1

29 Apr 00:24
Compare
Choose a tag to compare

Fix: image with broken element throwing error on toObject() #2878
Fix: Warning on trying to set proprietary browser version of ctxImageSmoothingEnabled #2880
Fix: Fixed Svg import regression on color and drawing polylines #2887
Fix: Fixed animation ease that starts and stop at same value #2888
Fix: Allow a not stateful canvas to fire object:modified at end of transform. #2890
Fix: Made event handler removal safer. Removing firing events will not cause errors. #2883
Fix: Proper handling of perPixelTargetFind and multi selections #2894
Fix: Do not clear contextTop on drawingMode, to allow drawing over animations #2895
Change the dependencies to optional. Allow npm to continue installing if nodecanvas installation fails. #2901
Fix: Check again the target on mouseup #2902
Fix: On perPixelTargetFind detect corners only if target is active #2903
Improvement: Add canvas mouseout event listener #2907
Improvement: Make small object dragging easier #2907
Improvement: allow sendToBack, bringToFront, bringForward, sendBackwards for multiple selections #2908

Version 1.6.0

11 Apr 05:52
Compare
Choose a tag to compare

Version 1.6.0

Version 1.5.0

14 Apr 23:48
Compare
Choose a tag to compare
v1.5.0

Version 1.5.0

Version 1.4.13

04 Dec 12:08
Compare
Choose a tag to compare
v1.4.13

Version 1.4.13

Version 1.4.12

14 Oct 16:14
Compare
Choose a tag to compare
v1.4.12

Version 1.4.12

Version 1.4.11

23 Aug 17:07
Compare
Choose a tag to compare
v1.4.11

Version 1.4.11