Releases: fengyuanchen/cropperjs
Releases · fengyuanchen/cropperjs
v1.5.3
10 Jul 12:10
Compare
Sorry, something went wrong.
No results found
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
30 Jun 06:03
Compare
Sorry, something went wrong.
No results found
Alway add a timestamp to the URL of a cross-origin image (#519 ).
v2.0.0-alpha
10 Mar 09:54
Compare
Sorry, something went wrong.
No results found
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
.
v1.5.1
10 Mar 09:59
Compare
Sorry, something went wrong.
No results found
Revert the minimum container width from 300
to 200
.
Revert the minimum container height from 150
to 100
.
v1.5.0
10 Mar 09:13
Compare
Sorry, something went wrong.
No results found
Add passive: false
and capture: true
to wheel event for better performance.
Improve touch event binding.
Ignore the pointer events are not triggered by the primary button.
Fix typed array spreading error in IE or Safari 9.
Fix the RegExp for the Safari browser detecting to ignore Chrome (#478 ).
v1.4.3
24 Oct 13:09
Compare
Sorry, something went wrong.
No results found
Ignore range error when the image does not have correct Exif information
v1.4.2
15 Oct 13:29
Compare
Sorry, something went wrong.
No results found
Read orientation only when it is a JPEG image.
Improve cropper instance storage to avoid side effect (#394 ).
Fix parameter error of Object.assign
in iOS devices (#432 ).
Improve typed array loop for better performance (#435 ).
v1.4.1
15 Jul 10:25
Compare
Sorry, something went wrong.
No results found
Not to restrict the canvas position when it is not cropped.
Fix wrong crop box size when view mode 1 and 2 (#381 ).
v1.4.0
01 Jun 15:35
Compare
Sorry, something went wrong.
No results found
Added 1 new option: initialAspectRatio
.
Improve the smoothness of crop box resizing.
v1.3.6
20 May 08:05
Compare
Sorry, something went wrong.
No results found
Check orientation only when both the rotatable
and scalable
options are set to true
.
In case rounding off leads to extra 1px in right or bottom border we should round the top-left corner and the dimension (#343 ).