Cropperjs Versions Save

JavaScript image cropper.

v1.5.8

3 years ago
  • Fix the issue when the value of the minContainerWidth/Height options is 0 (#683).
  • Reset the initial canvas size when the minCanvasWidth/Height options is set (#725).
  • Store the initial image data in the right place for avoiding side-effect.

v1.5.7

3 years ago
  • Improve container resizing (#636).
  • Improve touch device detection (#614).

v2.0.0-alpha.1

4 years ago
  • Merge improvements from v1.

v1.5.6

4 years ago
  • Improve event type determining for iOS 13+ (#571).

v1.5.5

4 years ago
  • Clone the image's crossOrigin attribute always even though the checkCrossOrigin is set to false (#535).
  • Improve browser environment detecting (#554).

v1.5.4

4 years ago
  • Avoid removing the events of the original image.
  • Avoid requesting any Data URLs by XMLHttpRequest for better performance (#526).
  • Add an alt attribute to all internal images for better accessibility (#548).
  • Transform enums to types from the definition files for TypeScript (#550).

v1.5.3

4 years ago
  • Compute the size of the image for all browsers that use WebKit as the layout engine in iOS devices, such as Safari and in-app browsers (#544).

v1.5.2

4 years ago
  • Alway add a timestamp to the URL of a cross-origin image (#519).

v1.5.1

5 years ago
  • Revert the minimum container width from 300 to 200.
  • Revert the minimum container height from 150 to 100.

v2.0.0-alpha

5 years ago

Breaking changes

  • Integrate the canvas and the crop box for better user experience.
  • Change the properties of the zoom event:
    • event.detail.ratio => event.detail.scale
    • event.detail.oldRatio => event.detail.oldScale

Features

  • Support to create crop box by dragging from left to right, right to left, top to bottom and bottom to top.
  • Add 4 new options: maxCanvasWidth, maxCanvasHeight, maxCropBoxWidth and maxCropBoxHeight.
  • Add 2 new properties to the getCropBoxData method: naturalWidth and naturalHeight.