Skip to content

Releases: fabricjs/fabric.js

Version 4.0.0-beta.11

25 Apr 16:11
Compare
Choose a tag to compare
Version 4.0.0-beta.11 Pre-release
Pre-release
  • 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

05 Apr 19:04
Compare
Choose a tag to compare
Version 4.0.0-beta.10 Pre-release
Pre-release

[4.0.0-beta.10]

  • fix(controls): fix missing target in canvas event options #6251
  • fix(controls): correct position for offsets #6250
  • feat(utils): Added more error flag passing throughout functions #6238

Version 4.0.0-beta.9

28 Mar 20:05
Compare
Choose a tag to compare
Version 4.0.0-beta.9 Pre-release
Pre-release
  • fix(controls) show offsetX/offsetY correctly. #6236
  • fix(controls) ISSUE-6201 Restore per object setting of controls visibility #6226
  • fix(svg_parser): ISSUE-6220 Allow to parse font declaration that start with a number #6222

Version 4.0.0-beta.8

20 Mar 14:47
Compare
Choose a tag to compare
Version 4.0.0-beta.8 Pre-release
Pre-release
  • 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

15 Mar 19:22
c80c3e7
Compare
Choose a tag to compare

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

11 Apr 08:47
7f814c9
Compare
Choose a tag to compare

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

16 Feb 18:18
41704ac
Compare
Choose a tag to compare

feat(controls): Added controls mouseUpHandler and mouseDownHandler #6158
Removal of deprecated methods / patterns. #6111

  • removed Object.setShadow, and BaseBrush.setShadow. change rect.setShadow(options) to rect.set('shadow', new fabric.Shadow(options))
  • removed Object.transformMatrix.
  • removed object:selected event. use selection:created. In the callback you will still find target in the options, but also you will find selected 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 using on, 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) with rect.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) to rect.set('fill', new fabric.Pattern(options));
  • removed Object.setColor. Change rect.setColor(color) to rect.set('fill', color)
  • removed fabric.util.customTransformMatrix. Use the replacement fabric.util.composeMatrix

Version 4.0.0-beta.6

05 Feb 18:51
1f04ab9
Compare
Choose a tag to compare

fabric.IText: better checks on exitEditing (#6138)

Version 3.6.2

03 Feb 14:33
19230c2
Compare
Choose a tag to compare
  • fix fabric.Object.toDataURL blurriness on images with odd pixel number #6131

Version 4.0.0-beta.5

24 Jan 16:32
a1e5d32
Compare
Choose a tag to compare
  • fix object rendering code for borders in active selections