fabric.js v1.5.0 Release Notes

  • Edge

    • โž• Added image preserve aspect ratio attributes and functionality (fabric.Image.alignY, fabric.Image.alignY, fabric.Image.meetOrSlic )
    • โž• Added ImageResizeFilters , option to resize dynamically or statically the images using a set of resize filter alghoritms.
    • ๐Ÿšš [BACK_INCOMPAT] fabric.Collection#remove doesn't return removed object -> returns this (chainable)

    • โž• Add "mouse:over" and "mouse:out" canvas events (and corresponding "mouseover", "mouseout" object events)

    • โž• Add support for passing options to fabric.createCanvasForNode

    • ๐ŸŽ Various iText fixes and performance improvements

    • ๐Ÿ›  Fix overlayImage / overlayColor during selection mode

    • ๐Ÿ›  Fix double callback in loadFromJSON when there's no objects

    • ๐Ÿ›  Fix paths parsing when number has negative exponent

    • ๐Ÿ›  Fix background offset in iText

    • ๐Ÿ›  Fix style object deletion in iText

    • ๐Ÿ›  Fix typo in _initCanvasHandlers

    • ๐Ÿ›  Fix transformMatrix not affecting fabric.Text

    • ๐Ÿ›  Fix setAngle for different originX/originY (!= 'center')

    • ๐Ÿ”„ Change default/init noise/brightness value for fabric.Image.filters.Noise and fabric.Image.filters.Brightness from 100 to 0

    • โž• Add fabric.Canvas#imageSmoothingEnabled

    • โž• Add copy/paste support for iText (uses clipboardData)