Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fabric

Package Overview
Dependencies
Maintainers
2
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

116

CHANGELOG.md

@@ -1,5 +0,17 @@

**Version 2.4.0**
# Changelog
## [2.4.1]
- Fix: Avoid enterEditing if another object is the activeObject [#5261](https://github.com/fabricjs/fabric.js/pull/5261)
- Fix: clipPath enliving for Image fromObject [#5279](https://github.com/fabricjs/fabric.js/pull/5279)
- Fix: toDataURL and canvas clipPath [#5278](https://github.com/fabricjs/fabric.js/pull/5278)
- Fix: early return if no xml is available [#5263](https://github.com/fabricjs/fabric.js/pull/5263)
- Fix: clipPath svg parsing in nodejs [#5262](https://github.com/fabricjs/fabric.js/pull/5262)
- Fix: Avoid running selection logic on mouse up [#5259](https://github.com/fabricjs/fabric.js/pull/5259)
- Fix: fix font size parsing on SVG [#5258](https://github.com/fabricjs/fabric.js/pull/5258)
- Fix: Avoid extra renders on mouseUp/Down [#5256](https://github.com/fabricjs/fabric.js/pull/5256)
## [2.4.0]
- Add: Add clipPath support to canvas and svg import/export. Low compatibility yet.
**Version 2.3.6**
## [2.3.6]
- Fix: Make image.class aware of naturalWidth and naturalHeight. [#5178](https://github.com/fabricjs/fabric.js/pull/5178)

@@ -9,3 +21,3 @@ - Fix: Make 2 finger events works again [#5177](https://github.com/fabricjs/fabric.js/pull/5177)

**Version 2.3.5**
## [2.3.5]
- Change: make canvas.getObjects() always return a shallow copy of the array [#5162](https://github.com/fabricjs/fabric.js/pull/5162)

@@ -17,3 +29,3 @@ - Fix: Improve fabric.Pattern.toSVG to look correct on offsets and no-repeat [#5164](https://github.com/fabricjs/fabric.js/pull/5164)

**Version 2.3.4**
## [2.3.4]
- Fix: ToSVG was ignoring excludeFromExport for backgroundImage and OverlayImage. [#5075](https://github.com/fabricjs/fabric.js/pull/5075)

@@ -31,6 +43,6 @@ - Fix: ToSVG for circle with start and end angles. [#5085](https://github.com/fabricjs/fabric.js/pull/5085)

**Version 2.3.3**
## [2.3.3]
- Fix: Fixed font generic names for text, measurement of zero width related characters and also trailing of cursor when zooming. [#5048](https://github.com/fabricjs/fabric.js/pull/5048)
**Version 2.3.2**
## [2.3.2]
- Fix: justify + charspacing + textDecoration Add and improve more events for transformations and mouse interaction. [#5007](https://github.com/fabricjs/fabric.js/pull/5007) [#5009](https://github.com/fabricjs/fabric.js/pull/5009)

@@ -42,10 +54,10 @@ - Fix: Enter edit on object selected programmatically. [#5010](https://github.com/fabricjs/fabric.js/pull/5010)

**Version 2.3.1**
## [2.3.1]
- Improve nested svg import and text positioning, spikes. [#4984](https://github.com/kangax/fabric.js/pull/4984)
**Version 2.3.0**
## [2.3.0]
- Add and improve more events for transformations and mouse interaction [#4979](https://github.com/kangax/fabric.js/pull/4979)
- Improvement: whenever possible use cache for target transparency sampling [#4955](https://github.com/kangax/fabric.js/pull/4955)
**Version 2.2.4**
## [2.2.4]
- Fix getPointer on touch devices [#4866](https://github.com/kangax/fabric.js/pull/4866)

@@ -61,3 +73,3 @@ - Fix issues with selectionDashArray bleeding into free drawing [#4894](https://github.com/kangax/fabric.js/pull/4894)

**Version 2.2.3**
## [2.2.3]
- improvement: Allow to parse quoted url string. url('#myid') [#4881](https://github.com/kangax/fabric.js/pull/4881)

@@ -75,3 +87,3 @@ - improvement: text fromSVG import char-spacing attribute [#3718](https://github.com/kangax/fabric.js/pull/3718)

**Version 2.2.2**
## [2.2.2]
- Fixed: Applying filters to an image will invalidate its cache [#4828](https://github.com/kangax/fabric.js/pull/4828)

@@ -84,6 +96,6 @@ - Fixed: Attempt at fix font families that requires quoting [#4831](https://github.com/kangax/fabric.js/pull/4831)

**Version 2.2.1**
## [2.2.1]
- Reworked how amd and commonJS are together in the same file.
**Version 2.2.0**
## [2.2.0]
- Fixed: super/sub script svg export [#4780](https://github.com/kangax/fabric.js/pull/4780)

@@ -95,7 +107,7 @@ - Added: Text superScript and subScript support [#4765](https://github.com/kangax/fabric.js/pull/4765)

**Version 2.1.0**
## [2.1.0]
- Added: Added: Drag and drop event binding [#4421](https://github.com/kangax/fabric.js/pull/4421)
- Fixed: isEmptyStyle implementation for TextBox [#4762](https://github.com/kangax/fabric.js/pull/4762)
**Version 2.0.3**
## [2.0.3]
- Fix: now sub target check can work with subclasses of fabric.Group [#4753](https://github.com/kangax/fabric.js/pull/4753)

@@ -106,7 +118,7 @@ - Improvement: PencilBrush is now compexity 1 instead of complexity N during draw [#4743](https://github.com/kangax/fabric.js/pull/4743)

**Version 2.0.2**
## [2.0.2]
- fixed image toSVG support for crop [#4738](https://github.com/kangax/fabric.js/pull/4738)
- changed math for better rounded results [#4734](https://github.com/kangax/fabric.js/pull/4734)
**Version 2.0.1**
## [2.0.1]
- fixed filter for blend image in WEBGL [#4706](https://github.com/kangax/fabric.js/pull/4706)

@@ -116,3 +128,3 @@ - fixed interactions between canvas toDataURL and multiplier + retina [#4705](https://github.com/kangax/fabric.js/pull/4705)

- fixed unwanted mutation on object enliving in fabric.Image [#4699](https://github.com/kangax/fabric.js/pull/4699)
**Version 2.0.0**
## [2.0.0]
- final

@@ -210,3 +222,3 @@ - fix dataurl and svg export on retina and rounding [#4674](https://github.com/kangax/fabric.js/pull/4674)

**Version 1.7.19**
## [1.7.19]

@@ -217,3 +229,3 @@ - Fixed the flip of images with scale equally [#4313](https://github.com/kangax/fabric.js/pull/4313)

**Version 1.7.18**
## [1.7.18]

@@ -223,3 +235,3 @@ - Fixed doubling of subtargets for preserveObjectStacking = true [#4297](https://github.com/kangax/fabric.js/pull/4297)

**Version 1.7.17**
## [1.7.17]

@@ -234,3 +246,3 @@ - Change: swapped style white-space:nowrap with attribute wrap="off" since the style rule was creating problems in browsers like ie11 and safari. [#4119](https://github.com/kangax/fabric.js/pull/4119)

**Version 1.7.16**
## [1.7.16]

@@ -243,3 +255,3 @@ - improvement: added 2 percentage values to fabric.util.animate. [#4068](https://github.com/kangax/fabric.js/pull/4068)

**Version 1.7.15**
## [1.7.15]

@@ -249,3 +261,3 @@ - Improvement: Made iText keymap public. [#4053](https://github.com/kangax/fabric.js/pull/4053)

**Version 1.7.14**
## [1.7.14]

@@ -257,3 +269,3 @@ - Improvement: Avoid cache canvas to resize each mouse move step. [#4037](https://github.com/kangax/fabric.js/pull/4037)

**Version 1.7.13**
## [1.7.13]

@@ -267,3 +279,3 @@ - Fix: Try to minimize delay in loadFroJson [#4007](https://github.com/kangax/fabric.js/pull/4007)

**Version 1.7.12**
## [1.7.12]

@@ -281,7 +293,7 @@ - Fix: removed possible memleaks from window resize event. [#3984](https://github.com/kangax/fabric.js/pull/3984)

**Version 1.7.11**
## [1.7.11]
- Hotfix: restore path-groups ability to render [#3877](https://github.com/kangax/fabric.js/pull/3877)
**Version 1.7.10**
## [1.7.10]

@@ -299,3 +311,3 @@ - Fix: correct svg export for radial gradients [#3807](https://github.com/kangax/fabric.js/pull/3807)

**Version 1.7.9**
## [1.7.9]

@@ -307,3 +319,3 @@ - Fix: Avoid textarea wrapping from chrome v57+ [#3804](https://github.com/kangax/fabric.js/pull/3804)

**Version 1.7.8**
## [1.7.8]

@@ -316,3 +328,3 @@ - Fix: Fix dirty flag propagation [#3782](https://github.com/kangax/fabric.js/pull/3782)

**Version 1.7.7**
## [1.7.7]

@@ -327,7 +339,7 @@ - Fix for opacity parsing in svg with nested opacities [#3747](https://github.com/kangax/fabric.js/pull/3747)

**Version 1.7.6**
## [1.7.6]
- Fix: make the cacheCanvas created on the fly if not available [#3705](https://github.com/kangax/fabric.js/pull/3705)
**Version 1.7.5**
## [1.7.5]

@@ -339,3 +351,3 @@ - Improvement: draw textbackgroundColor in one single pass when possible @stefanhayden [#3698](https://github.com/kangax/fabric.js/pull/3698)

**Version 1.7.4**
## [1.7.4]

@@ -357,3 +369,3 @@ - Fix: Moved all the touch event to passive false so that they behave as before chrome changes [#3690](https://github.com/kangax/fabric.js/pull/3690)

**Version 1.7.3**
## [1.7.3]

@@ -370,3 +382,3 @@ - Improvement: mousewheel event is handled with target and fired also from objects. [#3612](https://github.com/kangax/fabric.js/pull/3612)

**Version 1.7.2**
## [1.7.2]

@@ -383,3 +395,3 @@ - Fix: Textbox do not use stylemap for line wrapping [#3546](https://github.com/kangax/fabric.js/pull/3546)

**Version 1.7.1**
## [1.7.1]

@@ -392,3 +404,3 @@ - Add: Gradients/Patterns support customAttributes in toObject method [#3477](https://github.com/kangax/fabric.js/pull/3477)

**Version 1.7.0**
## [1.7.0]

@@ -401,3 +413,3 @@ - Add: Object Caching [#3417](https://github.com/kangax/fabric.js/pull/3417)

**Version 1.6.7**
## [1.6.7]

@@ -412,3 +424,3 @@ - Add: Snap rotation added to objects. two parameter introduced, snapAngle and snapTreshold. [#3383](https://github.com/kangax/fabric.js/pull/3383)

**Version 1.6.6**
## [1.6.6]

@@ -420,3 +432,3 @@ - Add: Contrast and Saturate filters [#3341](https://github.com/kangax/fabric.js/pull/3341)

**Version 1.6.5**
## [1.6.5]

@@ -443,3 +455,3 @@ - Fix: charspacing, do not get subzero with charwidth.

**Version 1.6.4**
## [1.6.4]

@@ -469,3 +481,3 @@ - Improvement: Ignore svg: namespace during svg import. [#3081](https://github.com/kangax/fabric.js/pull/3081)

**Version 1.6.3**
## [1.6.3]

@@ -493,3 +505,3 @@ - Improvement: Use reviver callback for background and overlay image when doing svg export. [#2975](https://github.com/kangax/fabric.js/pull/2975)

**Version 1.6.2**
## [1.6.2]

@@ -516,3 +528,3 @@ - Fix: restore canvas properties on loadFromJSON with includeProperties. [#2921](https://github.com/kangax/fabric.js/pull/2921)

**Version 1.6.1**
## [1.6.1]

@@ -534,3 +546,3 @@ - Fix: image with broken element throwing error on toObject() [#2878](https://github.com/kangax/fabric.js/pull/2878)

**Version 1.6.0**
## [1.6.0]

@@ -636,3 +648,3 @@ - Fix rendering of activeGroup objects while preserveObjectStacking is active. [ regression from [#2083](https://github.com/kangax/fabric.js/pull/2083) ]

**Version 1.5.0**
## [1.5.0]

@@ -660,3 +672,3 @@ **Edge**

**Version 1.4.0**
## [1.4.0]

@@ -677,3 +689,3 @@ - [BACK_INCOMPAT] JSON and Cufon are no longer included in default build

**Version 1.3.0**
## [1.3.0]

@@ -690,3 +702,3 @@ - [BACK_INCOMPAT] Remove selectable, hasControls, hasBorders, hasRotatingPoint, transparentCorners, perPixelTargetFind from default object/json representation of objects.

**Version 1.2.0**
## [1.2.0]

@@ -702,3 +714,3 @@ - [BACK_INCOMPAT] Make `fabric.Object#toDataURL` synchronous.

**Version 1.1.0**
## [1.1.0]

@@ -711,2 +723,2 @@ - [BACK_INCOMPAT] `fabric.Text#setFontsize` becomes `fabric.Object#setFontSize`.

**Version 1.0.0**
## [1.0.0]

@@ -5,3 +5,3 @@ {

"homepage": "http://fabricjs.com/",
"version": "2.4.0",
"version": "2.4.1",
"author": "Juriy Zaytsev <kangax@gmail.com>",

@@ -8,0 +8,0 @@ "contributors": [

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc