fabric.js v1.6.0 Release Notes

    • ๐Ÿ›  Fix rendering of activeGroup objects while preserveObjectStacking is active. [ regression from #2083 ]
    • ๐Ÿ›  Fix fabric.Path initialize with user options #2117
    • ๐Ÿ›  Fix sorting of objects in activeGroup during rendering #2130.
    • ๐Ÿ‘‰ Make sure that 'object.canvas' property is always set if the object is directly or indirectly on canvas #2141
    • ๐Ÿ›  Fix _getTopLeftCoords function that was returning TopCenter #2127
    • ๐Ÿ›  Fix events not being fired after resize with pinch zoom #510
    • ๐Ÿ›  Fix mouse:over, mouse:out events not receiving event object #2146
    • ๐Ÿ“‡ Don't include elements from <metadata> during SVG parsing #2160
    • ๐Ÿ›  Fix some iText new glitches and old bugs about style deleting and inserting, faster function for get2dCursorLocation #2153
    • ๐Ÿ”„ Change bounding box calculation, made strokewidth always considered in dimensions. Switched group stroke default to 0 strokewidth. #2155
    • ๐Ÿ›  Fix scaling function for object with strokewidth #2178
    • ๐Ÿ›  Fix image fromObject restoring resizeFilter #2164
    • ๐Ÿ›  Fix double application of filter upon image init #2164
    • ๐Ÿ›  Fix image.filter.Resize toObject and fromObject #2164
    • ๐Ÿ›  Fix strokeWidth calculation during resize operations #2178
    • ๐Ÿ›  Fix iText selection on upperCanvas to support transformMatrix #2173
    • โœ‚ Removed unnecessary calls to removeShadow and restoreGlobalCompositeOperation #2175
    • ๐Ÿ›  Fix the offset for pattern and gradients filling and stroking in text #2183
    • ๐Ÿ›  Fix loading of stroke gradients from Object #2182
    • ๐Ÿ›  Fix segmentation fault on node.js when image doesn't exist #2193
    • ๐Ÿ›  Fix iText border selection when changing fontWeight #2201
    • ๐Ÿ›  Fix calculation of object dimensions for geometry functions translation and scaling. #2206
    • ๐Ÿ›  Fix iText cursor position on click at end of line #2217
    • ๐Ÿ›  Fix error on parsing style string with trailing spaces #2256
    • ๐Ÿ›  Fix delegated properties leaking on objects in a group when restoring from json #2101
    • ๐Ÿ›  Fix cursor click position in rotated i-Text when origins different from TOPLEFT. #2269
    • ๐Ÿ›  Fix mouse position when the canvas is in a complex style scrolling situation #2128
    • ๐Ÿ›  Fix parser regex for not parsing svg tags attribute #2311
    • โž• Add id attribute to standard attribute parsing from SVG elements #2317
    • ๐Ÿ›  Fix text decoration opacity #2310
    • โž• Add simple color animation utility in /src/util/animate_color.js #2328
    • ๐Ÿ›  Fix itext paste function to check for source of copied text and strip carriage returns (\r)#2336
    • ๐Ÿ›  Fix pattern class serialize the source using toDataURL if available #2335
    • ๐Ÿ›  Fix imageSmoothingEnabled warning on chrome and reinit the property after setDimensions #2337
    • โž• Add ability to parse path elements with no path specified. #2344
    • ๐Ÿ›  Fix shiftClick with activeGroup in case of normal and scaled groups #2342
    • โž• Add support for colors in shadow svg export #2349
    • โž• Add support for inner viewBoxes in svg parsing #2345
    • ๐Ÿ›  Fix BoundingBox calculation for pathGroups that have inner transformMatrix #2348
    • ๐Ÿ›  Fix export toObject to include transformMatrix property #2350
    • ๐Ÿ›  Fix textbox class to supporto toSVG() and newest style fixes #2347
    • ๐Ÿ›  Fix regression on text ( textDecoration and textlinebackground ) #2354
    • โž• Add support for multi keys chars using onInput event #2352
    • ๐Ÿ›  Fix iText and textbox entering in edit mode if clicked on a corner #2393
    • ๐Ÿ›  Fix iText styles error when in justify align #2370
    • โž• Add support for shadow export in svg for groups, pathgroups and images. [#2364]
    • โž• Add rendering shadows for groups #2364
    • โž• Add support for parsing nested SVGs x and y attributes #2399
    • โž• Add support for gradientTransform in setGradient(fill or stroke) #2401
    • ๐Ÿ›  Fix Error in svg parsed that was stopping on gradient color-stop missing stop attribute #2414
    • toObject method return copied arrays for array like properties #2407
    • ๐Ÿ›  Fix Set stop value of colorstop to 0 if stop attribute not present #2414
    • ๐Ÿ›  Fix correct value of e.button for mouse left click if e.which not supported#2453
    • โž• Add check for host property in getScrollTopLeft#2462
    • ๐Ÿ›  Fix check for object.selectable in findTarget#2466
    • ๐Ÿ›  Fix After rendering a gesture set originX/Y to its original value#2479
    • โž• Add support for skewing objects using shift and m-controls in interactive mode, and using object.skewX/Y #2482
    • ๐Ÿ›  Fix gradientTransform not exported in gradient toObject #2486
    • ๐Ÿ›  Fix object.toDataUrl with multiplier #2487 BACK INCOMPATIBILITY: removed 'allOnTop' parameter from fabric.StaticCanvas.renderAll.
    • ๐Ÿ›  Fix mask filter, mask image is now streched on all image #2543
    • ๐Ÿ›  Fix text onInput event to behave correctly if some text is selected #2501
    • ๐Ÿ›  Fix object with selectable = false could be selected with shift click #2503
    • ๐Ÿ›  Fix for mask filter when bigger or smaller image is used #2534
    • ๐Ÿ‘Œ Improvement: simplified renderAll logic #2545
    • ๐Ÿ‘Œ Improvement: Manage group transformation with skew rotate and scale #2549
    • ๐Ÿ›  Fix: Add shadow affectStroke to shadow to Object method #2568
    • ๐Ÿ›  Fix: Made multitouch pinch resize works with skewed object #2625
    • ๐Ÿ‘Œ Improvement: Added retina screen support #2623
    • ๐Ÿ”„ Change: Set default Image strokeWidth to 0 to improve image rendering #2624
    • ๐Ÿ›  Fix: multitouch zoom gesture speed back to normal speed #2625
    • ๐Ÿ›  Fix: fix controls rendering with retina scaling and controls above overlay #2632
    • ๐Ÿ‘Œ Improvements: resize SVG using viewport/viewbox. #2642
    • ๐Ÿ‘Œ Improvements: Svg import now supports rotate around point #2645
    • ๐Ÿ”„ Change: Opacity is no more a delegated property for group #2656
    • ๐Ÿ›  Fix: Itext now check for editable property before initializing cursor #2657
    • ๐Ÿ›  Fix: Better SVG export support for shadows of rotated objects #2671
    • ๐Ÿ›  Fix: Avoid polygon polyline to change constructor point array #2627
    • ๐Ÿ‘ SVG import: support fill/stroke opacity when no fill/stroke attribute is present #2703
    • ๐Ÿ›  Fix: remove white filter set opacity to 0 instead of 1 #2714
    • Cleaning: removing unused fabric.Canvas.activeInstance #2708
    • ๐Ÿ”„ Change: remove flipping of text string when flipping object #2719
    • ๐Ÿ›  Fix: Correct shift click on generic transformerd active groups #2720
    • ๐Ÿ“œ SVG import: parse svg with no spaces between transforms #2738
    • ๐Ÿ›  Fix: Fallback to styleElement.text for IE9 #2754
    • ๐Ÿ›  Fix: data url for node #2777
    • ๐Ÿ‘Œ Improvement: Extended font face to all text class during svg export #2797
    • ๐Ÿ›  Fix: retina scaling dataurl and shadows. #2806
    • ๐Ÿ‘Œ Improvement: Better look to iText decoration shadows. #2808
    • ๐Ÿ‘Œ Improvement: New text shadow export to SVG. #2827
    • ๐Ÿ›  fix: location of optimized 1x1 rects. #2817
    • ๐Ÿ›  fix: TextBox handling of consecutive spaces. #2852
    • ๐Ÿ›  fix: Respect shadow in svg export of flipped objects. #2854
    • ๐Ÿ›  fix: Check presence of style for textBox in svg export. #2853
    • ๐Ÿ‘Œ Improvement: Added node compatibility for v4 and v5. #2872
    • ๐Ÿ›  Fix: Canvas dispose remove the extra created elements. #2875
    • ๐Ÿ’… IText improvements to cut-copy-paste, edit, mobile jumps and style. #2868