fabric.js v4.6.0 Release Notes

    • feat(fabric.util): added fabric.util.transformPath to add transformations to path points #7300
    • ๐Ÿ“œ feat(fabric.util): added fabric.util.joinPath, the opposite of fabric.util.parsePath #7300
    • ๐Ÿ›  fix(fabric.util): use integers iterators #7233
    • feat(fabric.Text) add path rendering to text on path #7328
    • feat(fabric.iText): Add optional hiddenTextareaContainer to contain hiddenTextarea #7314
    • ๐Ÿ›  fix(fabric.Text) added pathStartOffset and pathSide to props lists for object export #7318
    • feat(animate): add imperative abort option for animations #7275
    • ๐Ÿ›  fix(Fabric.text): account for fontSize in textpath cache dimensions ( to avoid clipping ) #7298
    • feat(Observable.once): Add once event handler #7317
    • feat(fabric.Object): Improve drawing of controls in group. #7119
    • ๐Ÿ›  fix(EraserBrush): intersectsWithObject edge cases #7290
    • ๐Ÿ›  fix(EraserBrush): dump canvas bg/overlay color support #7289
    • feat(fabric.Text) added pathSide property to text on path #7259
    • ๐Ÿ›  fix(EraserBrush) force fill value #7269
    • ๐Ÿ›  fix(fabric.StaticCanvas) properly remove objects on canvas.clear #6937
    • feat(fabric.EraserBrush): improved erasing:end event #7258
    • ๐Ÿ›  fix(shapes): fabric.Object._fromObject never should return #7201
    • feat(fabric.filters) Added vibrance filter (for increasing saturation of muted colors) #7189
    • ๐Ÿ›  fix(fabric.StaticCanvas): restore canvas size when disposing #7181
    • feat(fabric.util): added convertPointsToSVGPath that will convert from a list of points to a smooth curve. #7140
    • ๐Ÿ›  fix(fabric.Object): fix cache invalidation issue when objects are rotating #7183
    • ๐Ÿ›  fix(fabric.Canvas): rectangle selection works with changing viewport #7088
    • ๐Ÿ‘ feat(fabric.Text): textPath now support textAlign #7156
    • ๐Ÿ›  fix(fabric.EraserBrush): test eraser intersection with objects taking into account canvas viewport transform #7147
    • ๐Ÿ›  fix(fabric.Object): support excludeFromExport set on clipPath #7148.
    • ๐Ÿ›  fix(fabric.Group): support excludeFromExport set on objects #7148.
    • ๐Ÿ›  fix(fabric.StaticCanvas): support excludeFromExport set on backgroundColor, overlayColor, clipPath #7148.
    • ๐Ÿ›  fix(fabric.EraserBrush): support object resizing (needed for eraser) #7100.
    • ๐Ÿ›  fix(fabric.EraserBrush): support canvas resizing (overlay/background drawables) #7100.
    • ๐Ÿ›  fix(fabric.EraserBrush): propagate clipPath of group to erased objects when necessary so it is correct when ungrouping/removing from group #7100.
    • ๐Ÿ›  fix(fabric.EraserBrush): introduce erasable = deep option for fabric.Group #7100.
    • feat(fabric.Collection): the contains method now accepts a second boolean parameter deep, checking all descendants, collection.contains(obj, true) #7139.
    • ๐Ÿ›  fix(fabric.StaticCanvas): disposing canvas now restores canvas size and style to original state.