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