Skip to content

Releases: ValentinH/react-easy-crop

v3.1.1

21 Jul 08:56
Compare
Choose a tag to compare
  • fix(crop size): handle vertical ratio properly (#157) be396bb
  • Bump lodash from 4.17.15 to 4.17.19 in /docs (#155) 7517a5f

v3.1.0...v3.1.1

v3.1.0

24 Jun 15:50
Compare
Choose a tag to compare

v3.0.1...v3.1.0

v3.0.1

18 May 17:06
Compare
Choose a tag to compare
  • docs: add dvail as a contributor (#135) dcca9d5
  • Compare cropsize properties individually instead of object references. (#134) 4d32ffe
  • Update README.md a0fc13e
  • Force badge update 8d25ee1

v3.0.0...v3.0.1

v3.0.0

15 May 10:30
Compare
Choose a tag to compare

Package size diet release ❤️

Thanks to @stefanoruth in #127, we have remove the dependency on @emotion to manage the styles. This decreased the gzipped size from 12.5KB to 4KB 😱

image

Breaking changes?

If you were using the classnames property, you might have to manually import the CSS file starting from 3.0.0. See https://github.com/ricardo-ch/react-easy-crop#styles

Except for this, everything should be the same 🙂

Commits

v2.1.2...v3.0.0

v2.1.2

14 May 14:40
Compare
Choose a tag to compare
  • Update rollup-plugin-typescript2 #129

v2.1.1

01 Apr 08:24
Compare
Choose a tag to compare

v2.1.0...v2.1.1

v2.1.0

20 Feb 20:06
Compare
Choose a tag to compare
  • Add zoomWithScroll prop for prevent scrolling & update README (#100) a180f57
  • Use smaller canvas for crop demo 146921a
  • Update README.md bb59cd6

v2.0.1...v2.1.0

v2.0.1

08 Feb 10:30
Compare
Choose a tag to compare

v2.0.0...v2.0.1

v2.0.0

05 Jan 20:08
Compare
Choose a tag to compare

v2.0.0

Typescript

The library has been rewritten to Typescript and now ships its own definitions.

⚠️ Breaking changes

We have removed all the deprecated props and some other props that were actually useless.

Here are the (few) migration steps:

  • crossOrigin was removed: you can directly pass the crossOrigin attribute to the mediaProps property.
  • onImgError and onMediaError were removed: you can directly pass the onError callback to the mediaProps property.
  • onImageLoaded was removed: you should now use the onMediaLoaded property

Commits

  • 2.0.0 release A.K.A Typescript rewrite (#88) 62af875

v1.17.1...v2.0.0

v1.17.1

28 Dec 11:19
Compare
Choose a tag to compare
  • Do nothing in setNewZoom when onZoomChange is not set a45b021
  • Bump handlebars from 4.1.2 to 4.5.3 (#87) a55bc8e

v1.17.0...v1.17.1