Releases: fabricjs/fabric.js
Version 4.0.0-beta.11
- fix(itext): improved style handling for new lines #6268
- fix(controls): Fix flip and controls and skewY and controls. #6278
- fix(controls): Current position with handlers is wrong if using skew #6267
- breaking: setCoords has only one argument now
skipCorners
boolean. setCoords will always update aCoords, lineCoords. If skipCorners is not specified, it will alos update oCoords(); - feat(fabric.Image): Image.imageSmoothing for fabric.Image objects #6280
- fix(fabric.StaticCanvas): export to dataUrl and canvasElement will respect imageSmoothingEnabled #6280
- fix(fabric.Image): toSVG export with missing element won't crash #6280
- added: added fabric.util.setImageSmoothing(ctx, value);
- added svg import/export for image image-rendering attribute
- fix(svg_import): Fix some parsing logic for nested SVGs. #6284
- fix(fabric.Image): do not crash if image has no element #6285
Version 4.0.0-beta.10
Version 4.0.0-beta.9
Version 4.0.0-beta.8
- fix(IText) Stop composition events on mousedown to enable cursor position on android keyboards #6224
- fix(controls): Handle textbox width change properly #6219
- fix(controls): correctly handling the uniform scaling option #6218
- fix(fabric.Object): fix activeSelection toDataURL canvas restore #6216
- fix(svg_parsers): Add support for empty <style/> tags #6169
- fix(SVG_export, text): Check font faces markup for objects within groups #6195
- feat(animation): Extend fabric.util.animate animating colors and other properties#6191
- fix(svg_export): remove extra space from svg export #6209
- fix(svg_import): ISSUE-6170 do not try to create missing clippath #6210
- fix(fabric.Object) Adding existence check for this.canvas on object stacking mixins #6207
Version 3.6.3
fix(Object): ISSUE 6196 use set('canvas') to restore canvas #6216
fix(fabric.IText): exitEditing won't error on missing hiddenTextarea. #6138
fix(fabric.Object): getObjectScaling takes in account rotation of objects inside groups. #6118
fix(fabric.Group): will draw shadow will call parent method. #6116
fix(svg_parsers): Add support for empty <style/> tags (#6169)
fix(SVG_export, text): Check font faces markup for objects within groups (#6195)
fix(svg_export): remove extra space from svg export (#6209)
fix(svg_import): ISSUE-6170 do not try to create missing clippath (#6210)
fix(fabric.Object) Adding existence check for this.canvas on object stacking mixins (#6207)
Version 3.6.3
fix(Object): ISSUE 6196 use set('canvas') to restore canvas #6216
fix(fabric.IText): exitEditing won't error on missing hiddenTextarea. #6138
fix(fabric.Object): getObjectScaling takes in account rotation of objects inside groups. #6118
fix(fabric.Group): will draw shadow will call parent method. #6116
fix(svg_parsers): Add support for empty <style/> tags (#6169)
fix(SVG_export, text): Check font faces markup for objects within groups (#6195)
fix(svg_export): remove extra space from svg export (#6209)
fix(svg_import): ISSUE-6170 do not try to create missing clippath (#6210)
fix(fabric.Object) Adding existence check for this.canvas on object stacking mixins (#6207)
Version 4.0.0-beta.7
feat(controls): Added controls mouseUpHandler and mouseDownHandler #6158
Removal of deprecated methods / patterns. #6111
- removed Object.setShadow, and BaseBrush.setShadow. change
rect.setShadow(options)
torect.set('shadow', new fabric.Shadow(options))
- removed Object.transformMatrix.
- removed
object:selected
event. useselection:created
. In the callback you will still findtarget
in the options, but also you will findselected
with all the objects selected during that single event. - removed Gradient.forObject. No alternative available.
- removed Object and canvas
clipTo
. Use Object.clipPath; - removed Canvas.loadFromDatalessJSON, it was just an alias for
loadFromJSON
- removed
observe
,stopObserving
,trigger
from observable. Keep usingon
,off
,fire
. - removed the Object.set ability to take a function as a value. Was rather strange to use.
- removed Object.setGradient. Change
rect.setGradient(options)
withrect.set('fill', new fabric.Gradient(otherOptions))
. The options format is slightly different, but keeping 2 formats does not really make sense. - removed Object.setPatternFill. Change
rect.setPatternFill(options)
torect.set('fill', new fabric.Pattern(options))
; - removed Object.setColor. Change
rect.setColor(color)
torect.set('fill', color)
- removed fabric.util.customTransformMatrix. Use the replacement fabric.util.composeMatrix
Version 4.0.0-beta.6
fabric.IText: better checks on exitEditing (#6138)
Version 3.6.2
- fix fabric.Object.toDataURL blurriness on images with odd pixel number #6131
Version 4.0.0-beta.5
- fix object rendering code for borders in active selections