Releases: ValentinH/react-easy-crop
Releases · ValentinH/react-easy-crop
v3.5.1
v3.5.0
v3.4.0
New feature
A new property objectFit
is here to let the developer choose how the image/video is adjusted to the parent container.
Possible values are:
contain
: the image will be adjusted to be fully visiblehorizontal-cover
: the image will horizontally fill the croppervertical-cover
: the image will vertically fill the cropper.
Defaults to "contain" (original behavior).
Commits
- Introduce the objectFit property (#236) 4d0bac1
- Bump browserslist from 4.14.5 to 4.16.6 (#252) 989e313
- Bump ssri from 6.0.1 to 6.0.2 (#237) a841e9a
- Bump ssri from 6.0.1 to 6.0.2 in /docs (#238) 78bc79b
- Bump url-parse from 1.4.7 to 1.5.1 (#243) 3528934
- Bump url-parse from 1.4.7 to 1.5.1 in /docs (#244) 2a760f5
- Bump lodash from 4.17.20 to 4.17.21 (#245) c3ca91b
- Bump lodash from 4.17.20 to 4.17.21 in /docs (#246) 3e8db20
- Bump hosted-git-info from 2.8.8 to 2.8.9 (#248) 9dea4cc
- Bump hosted-git-info from 2.8.8 to 2.8.9 in /docs (#249) b309e06
- Bump browserslist from 4.14.5 to 4.16.6 in /docs (#253) a02abba
v3.3.3
v3.3.2
- Fix: use IE11-compatible way of removing stylesheet 7712fea
- Bump elliptic from 6.5.3 to 6.5.4 (#212) 586669d
- Bump elliptic from 6.5.3 to 6.5.4 in /docs (#213) d682ea6
- Bump socket.io from 2.3.0 to 2.4.1 in /docs (#204) 87a8928
- Bump node-notifier from 8.0.0 to 8.0.1 (#200) b33e3e1
- Bump ini from 1.3.5 to 1.3.7 in /docs (#197) 9c66e00
- Bump ini from 1.3.5 to 1.3.7 (#196) 8ff7142
- Update demo website 7cab395
v3.3.1
v3.3.0
v3.2.2
v3.2.1
v3.2.0
Features
- Introduce a new
onCropSizeChange
prop. It's called when a change in either the cropSize width or the cropSize height occurs.
Commits
- fix publishing 09fa0f7
- Fix linting 8bd464f
- Update dependencies 981993a
- Bump decompress from 4.2.0 to 4.2.1 in /docs (#172) 1488de6
- Bump http-proxy from 1.17.0 to 1.18.1 (#174) 60c2c77
- Bump http-proxy from 1.18.0 to 1.18.1 in /docs (#175) b6ff005
- fix(crop-size): Add function callback prop to access crop size changes (#179) b8ce617
- Update issue templates 4c37e0c
- Update issue templates 1874fcb
- Bump elliptic from 6.5.2 to 6.5.3 in /docs (#161) dfea667
- Bump elliptic from 6.4.1 to 6.5.3 (#160) 4f2da63