Skip to content

Releases: fabricjs/fabric.js

Version 1.7.7

27 Feb 09:32
Compare
Choose a tag to compare

Fix for opacity parsing in svg with nested opacities #3747
Fix text initialization and boundingrect #3745
Fix line bounding box #3742
Improvement: do not pollute style object while typing if not necessary #3743
fix for broken prototype chain when restoring a dataless object on fill an stroke #3735
fix for deselected event not fired on mouse actions #3716
fix for blurriness introduced on 1.7.3 #3721

Version 1.7.6

16 Feb 22:25
Compare
Choose a tag to compare
  • Fix: enabled creation of cacheCanvas on the fly if needed.

Version 1.7.5

16 Feb 21:58
Compare
Choose a tag to compare

Improvement: draw textbackgroundColor in one single pass when possible @stefanhayden #3698
Improvement: fire selection changed event just if text is editing #3702
Improvement: Add object property 'needsItsOwnCache' #3703
Improvement: Skip unnecessary transform if they can be detected with a single if #3704

Version 1.7.4

14 Feb 14:37
Compare
Choose a tag to compare

Fix: Moved all the touch event to passive false so that they behave as before chrome changes #3690
Fix: force top and left in the object representation of a path to avoid reparsing on restore #3691
Add: Enable deselected event for activeObject switch. Ensure deactivateAll call exitEditing #3689
Fix: Perform subtargetCheck also if the group is an active object and on activeGroup #3688
Fix: Made cursor operation more precise at high canvas zoom level [#3671(https://github.com//pull/3671)
Add: Made getBoundingRect available to return both absolute or standard bounding rect [#3614(https://github.com//pull/3614)
Add: Introduced calcViewportBoundaries() function for fabric.StaticCanvas [#3614(https://github.com//pull/3614)
Add: Introduced isOnScreen() function for fabric.Object #3614
Subclassed Polygon from polyline #3614
Fix: Removed reference to hovered target when target gets removed #3657
Fix: Removed hover cursor for non selectable objects #3643
Fix: Switch to passive event for touch move #3643
Fix: Restart rendering of cursor after entering some text #3643
Add: fabric.Color support toHexa() method now #3615

Version 1.7.3

08 Jan 10:11
Compare
Choose a tag to compare

Small notice for compatibility with custom filters:
Since the filter fromObject function now requires a callback.
The BaseFilter class provides a basic function that work with any filter that can be restored passing the options of the object form.
In most custom filter doing
fabric.Image.filters.MyCustomFilter.fromObject = fabric.Image.filters.BaseFilter.fromObject; will be enough.

If you do not think the basic function suite your need, before returning the instance created, accepta a callback as second argument of your function and invoke the callback with the instance as first argument.

Improvement: Mousewheel event is handled with target and fired also from objects. #3612
Improvement: Patternload for canvas background and overlay, corrected svg pattern export #3601
Fix: Wait for pattern loading before calling callback #3598
Fix: add 2 extra pixels to cache canvases to avoid aliasing cut #3596
Fix: Rerender when deselect an itext editing object #3594
Fix: save new state of dimensionProperties at every cache clear #3595
Improvement: Better error managment in loadFromJSON #3586
Improvement: do not reload backgroundImage as an image if is different type #3550
Improvement: if a children element is set dirty, set the parent dirty as well. #3564

Version 1.7.2

18 Dec 10:06
Compare
Choose a tag to compare

Fix: Added extra padding to do not cut custom fonts with caching
Fix: Textbox do not use stylemap for line wrapping #3546
Fix: Fix for firing object:modfied in macOS sierra #3539
Fix: Itext with object caching was not refreshing selection correctly. #3538
Fix: stateful now works again with activeGroup and dinamyc swap between stateful false/true. #3537
Fix: includeDefaultValues was not applied to child objects of groups and path-groups. #3497
Fix: Itext style is cloned on paste action now, allow copie of styles to be independent. #3502
Fix: Add subclasses properties to cacheProperties. #3490
Add: Shift and Alt key used for transformations are now dinamic. #3479
Fix: fix to polygon and cache. Added cacheProperties for all classes #3490

Version 1.7.1

01 Dec 22:58
Compare
Choose a tag to compare

Add: Gradients/Patterns support customAttributes in toObject method #3477
Fix: IText/Textbox not blurring keyboard on ios 10 #3476
Fix: Shadow on freedrawing and zoomed canvas #3475
Fix: Fix for group returning negative scales #3474
Fix: hotfix for textbox #3441 #3473

Version 1.7.0

21 Nov 11:10
Compare
Choose a tag to compare

Add: Object Caching #3417
Improvement: group internal objects have coords not affected by canvas zoom #3420
Fix: itext cursor trails on initDimension #3436
Fix: null check on .setActive #3435
Fix: function error in clone deep. #3434

Version 1.6.7

12 Nov 23:58
Compare
Choose a tag to compare

Add: Snap rotation added to objects. two parameter introduced, snapAngle and snapTreshold. #3383
Fix: Pass target to right click event. #3381
Fix: Correct rendering of bg color for styled text and correct clearing of itext area. #3388
Add: Fire mouse:over on the canvas when we enter the canvas from outside the element. #3388
Fix: Fix calculation of words width with spaces and justify. #3408
Fix: Do not export defaults properties for bg and overlay if requested. #3415
Fix: Change export toObect to always delete default properties if requested. #3416

Version 1.6.6

16 Oct 21:42
Compare
Choose a tag to compare

Add: Contrast and Saturate filters #3341
Fix: Correct registering and removal of events to handle iText objects.
Fix: Corrected 2 regression of 1.6.5 (dataurl export and itext clicks)
Fix: Corrected path boundaries calculation for Arcs ( a and A )