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

Releases: fengyuanchen/cropper

v4.1.0

12 Oct 08:09
Compare
Choose a tag to compare
  • Upgrade the built-in Cropper.js to v1.5.6.

v4.0.0

01 Apr 06:31
Compare
Choose a tag to compare
  • Upgrade the built-in Cropper.js to v1.3.4.

v4.0.0-beta

03 Mar 04:04
Compare
Choose a tag to compare
  • Upgrade the built-in Cropper.js to v1.3.2.

v4.0.0-alpha

01 Mar 14:39
Compare
Choose a tag to compare
v4.0.0-alpha Pre-release
Pre-release
  • The core code of Cropper is replaced with Cropper.js.
  • Migration from Cropper 3.x:
    • Before:
      $().cropper({
        crop(event) {
          console.log(
            event.x,
            event.y,
            event.width,
            event.height,
            event.rotate,
            event.scaleX,
            event.scaleY,
          );
        },
      });
    • After:
      $().cropper({
        crop(event) {
          console.log(
            event.detail.x,
            event.detail.y,
            event.detail.width,
            event.detail.height,
            event.detail.rotate,
            event.detail.scaleX,
            event.detail.scaleY,
          );
        },
      });

v3.1.6

01 Mar 13:41
Compare
Choose a tag to compare
  • Fixed a bug of incorrect behavior of viewMode: 2.

v3.1.5

25 Feb 09:18
Compare
Choose a tag to compare
  • Fixed a bug of getCroppedCanvas method when provide maxWidth or maxHeight options (#953).

v3.1.4

13 Jan 10:12
Compare
Choose a tag to compare
  • Fixed a bug of rotation (#938).

v3.1.3

21 Oct 10:13
Compare
Choose a tag to compare
  • Fixed a bug of render when disable one of rotatable and scalable options.

v3.1.2

18 Oct 13:27
Compare
Choose a tag to compare
  • Normalize related decimal numbers when crop an image with canvas (#918).
  • Ignore unnecessary files when publish to NPM (#928).

v3.1.1

11 Oct 13:45
Compare
Choose a tag to compare
  • Supports to load in node environment.