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 -> returnsthis
(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
andfabric.Image.filters.Brightness
from 100 to 0โ Add
fabric.Canvas#imageSmoothingEnabled
โ Add
copy/paste
support for iText (uses clipboardData)