All Versions
85
Latest Version
Avg Release Cycle
24 days
Latest Release
99 days ago

Changelog History
Page 1

  • v4.0.0-beta.9

    March 28, 2020
    • 🛠 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
  • v4.0.0-beta.8

    March 20, 2020
    • 🛠 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
  • v4.0.0-beta.7

    February 16, 2020

    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
  • v4.0.0-beta.6

    February 05, 2020

    🛠 fix(fabric.IText): exitEditing won't error on missing hiddenTextarea. #6138

  • v4.0.0-beta.5

    January 24, 2020

    🛠 fix(fabric.Object): getObjectScaling takes in account rotation of objects inside groups. #6118

  • v4.0.0-beta.4

    January 23, 2020

    🛠 fix(fabric.Group): willDrawShadow has to always take in account children items #6116

  • v4.0.0-beta.3

    January 22, 2020

    🛠 fix(controls): control offset rendering code had extras beginPath that would clear all but not the last of them #6114

  • v4.0.0-beta.2

    January 21, 2020

    🛠 fix(controls): Control.getVisibility will always receive the fabric.Object argument.

  • v4.0.0-beta.12

    May 03, 2020
    • 🛠 fix(fabric.IText): respect value of cursorColor #6300;
    • 🛠 fix(fabric.Textbox): Improve splitByGrapheme and charSpacing #6298;
    • feat(controls): Reintroduce flip by scaling and lockScalingFlip #6313;
  • v4.0.0-beta.11

    April 25, 2020
    • 🛠 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

    💥 BREAKING:

    • ✂ removed 2 utils member that was not used anywhere: fabric.util.getScript, fabric.util.getElementStyle
    • ✂ remove private member _setImageSmoothing in the canvas: use fabric.util.setImageSmoothing(ctx, value);