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 Versions

1
31

4.0.0-rc.1

Diff

Changelog

Source

[4.0.0-rc.1]

  • fix(fabric.Canvas): ISSUE-6314 rerender in case of drag selection that select a single oobject. #6421;
  • feat(text): allow correct cursor/selection position if text is edited inside a group. #6256;
  • feat(fabric.Control): remove position option in favor of x and y #6415;
  • fix(fabric.Object) ISSUE-6340 infinite recursion on groups #6416;
  • fix(fabric.Object): geometry mixin fix partiallyOnscreen #6402;
  • fix(fabric.Image): ISSUE-6397 modify crossOrigin behaviour for setSrc #6414;
  • Breaking: fabric.Image.setCrossOrigin is gone. Having the property on the fabric.Image is misleading and brings to errors. crossOrigin is for loading/reloading only, and is mandatory to specify it each load.
  • Breaking: fabric.Control constructor does not accept anymore a position object, but 2 properties, x and y.
asturur
published 4.0.0-rc.1-browser •

asturur
published 4.0.0-beta.12 •

Changelog

Source

[4.0.0-beta.12]

  • fix(fabric.IText): respect value of cursorColor #6300;
  • fix(fabric.Textbox): Improve splitByGrapheme and charSpacing #6298;
  • feat(controls): Reintroduce flip by scaling and lockScalingFlip #6313;
asturur
published 4.0.0-beta.12-browser •

asturur
published 4.0.0-beta.11 •

Changelog

Source

[4.0.0-beta.11]

  • fix(itext): improved style handling for new lines #6268
  • fix(controls): Fix flip and controls and skewY and controls. #6278
  • fix(controls): Current position with handlers is wrong if using skew #6267
  • breaking: setCoords has only one argument now skipCorners boolean. setCoords will always update aCoords, lineCoords. If skipCorners is not specified, it will alos update oCoords();
  • feat(fabric.Image): Image.imageSmoothing for fabric.Image objects #6280
  • fix(fabric.StaticCanvas): export to dataUrl and canvasElement will respect imageSmoothingEnabled #6280
  • fix(fabric.Image): toSVG export with missing element won't crash #6280
  • added: added fabric.util.setImageSmoothing(ctx, value);
  • added svg import/export for image image-rendering attribute
  • fix(svg_import): Fix some parsing logic for nested SVGs. #6284
  • fix(fabric.Image): do not crash if image has no element #6285

BREAKING:

  • removed 2 utils member that was not used anywhere: fabric.util.getScript, fabric.util.getElementStyle
  • remove private member _setImageSmoothing in the canvas: use fabric.util.setImageSmoothing(ctx, value);
asturur
published 4.0.0-beta.11-browser •

asturur
published 4.0.0-beta.10 •

Changelog

Source

[4.0.0-beta.10]

  • fix(controls): fix missing target in canvas event options #6251
  • fix(controls): correct position for offsets #6250
  • feat(utils): Added more error flag passing throughout functions #6238
asturur
published 4.0.0-beta.10-browser •

asturur
published 4.0.0-beta.9 •

Changelog

Source

[4.0.0-beta.9]

  • fix(controls) show offsetX/offsetY correctly. #6236
  • fix(controls) ISSUE-6201 Restore per object setting of controls visibility #6226
  • fix(svg_parser): ISSUE-6220 Allow to parse font declaration that start with a number #6222
asturur
published 4.0.0-beta.9-browser •

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