Skip to content

v3.4.0

Compare
Choose a tag to compare
@ValentinH ValentinH released this 25 May 09:41
· 142 commits to main since this release

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 visible
  • horizontal-cover: the image will horizontally fill the cropper
  • vertical-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

ricardo-ch/react-easy-crop@v3.3.3...v3.4.0