Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Releases: fengyuanchen/cropper

v3.1.0

08 Oct 08:59
Compare
Choose a tag to compare
  • Added 4 new options to getCroppedCanvas method: minWidth, minHeight, maxWidth and maxHeight.
  • Enhanced image scaling: the scaleX and scaleY values should only be 1 or -1 before, but now they can be any numbers.
  • Improved crop box resizing behaviour in the northeast, northwest, southeast and southwest directions.

v3.0.0

03 Sep 13:19
Compare
Choose a tag to compare
  • Improve crop box resizing behaviour.

v3.0.0-rc.3

07 Jul 13:08
Compare
Choose a tag to compare
  • Added two new options (imageSmoothingEnabled and imageSmoothingQuality) to getCroppedCanvas method.

v3.0.0-rc.2

30 May 05:09
Compare
Choose a tag to compare
  • Improved performance for large images(#856).
  • Fixed the issue of ArrayBuffer reference error in IE9 (#885).
  • Fixed an issue of canvas box initialization.

v3.0.0-rc.1

30 Apr 03:22
Compare
Choose a tag to compare
  • Use window.jQuery instead of window.$ for browser side usage (#876).
  • Change the main field value from dist/cropper.js (UMD) to dist/cropper.common.js (CommonJS).
  • Added module and browser fields to package.json.

v3.0.0-rc

25 Mar 12:08
Compare
Choose a tag to compare
  • Clear cached pointers correctly to avoid touch zoom problem.
  • Improve the responsive option (only available when the container width/height great than the minContainerWidth/Height)
  • Improve the toggleDragModeOnDblclick option (only available when the dragMode option is set to crop or move)

v3.0.0-beta

25 Feb 08:08
Compare
Choose a tag to compare
  • Fixed the bug of rotate square image lead image shrink.
  • Improved RegExps for DataURL processing.

v3.0.0-alpha.1

21 Jan 13:19
Compare
Choose a tag to compare
v3.0.0-alpha.1 Pre-release
Pre-release
  • Use CSS3 2D Transforms instead of left and top for better performance.
  • Set withCredentials attribute when read the image data by XMLHttpRequest.

v3.0.0-alpha

15 Jan 05:15
Compare
Choose a tag to compare
v3.0.0-alpha Pre-release
Pre-release
  • Removed build event.

  • Renamed built event to ready.

  • Removed event namespace.

    // Before
    $('img').on('zoom.cropper', handler)
    
    // After
    $('img').on('zoom', handler)
  • Ported code to ECMAScript 6.

  • Dropped IE8 support.

  • Improved event handler for Pointer Events (#824).

  • Improved setCropBoxData method.

  • Fixed a bug of auto crop when replace the image.

v2.3.4

03 Sep 05:58
Compare
Choose a tag to compare
  • Fixed a bug of cropping in view mode 1 and 2.
  • Fixed a bug of calling ready event twice when call replace method.
  • Fixed dependencies problem in the package.json file.