unstale

npm / react-easy-crop

react-easy-crop

What changed in react-easy-crop 4 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking1 new APIs and options2 behavior and defaults8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-easy-crop 67 changes

Behavior and default changes 2

  • Adds details to interaction callbacks, giving developers additional information about interactions.

    6.2.0release notes

  • Debounced during resize bursts.

    6.1.0release notes

Fixes and other changes 5

  • Declared @types/react as an optional peer dependency, so it is not required for every installation.

    6.2.5release notes

  • Fixes cover crop restoration on initial media load.

    6.2.4release notes

  • Fixes CommonJS type exports for developers using the package's types with CommonJS.

    6.2.3release notes

  • Fixes the generated CSS type declaration.

    6.0.2release notes

  • Fixes media sizing when CSS resets are present.

    6.0.1release notes

react-easy-crop 54 changes

Breaking changes 1

  • The auto-cover option was removed and replaced by cover; the logic choosing between horizontal and vertical was rewritten to pick the right choice more accurately.

    5.0.0release notes

Fixes and other changes 3

  • Handles zoom values below 1 when restricting position.

    5.5.7release notes

  • Prevents a NaN crop when previousCropSize.x or previousCropSize.y is zero.

    5.5.6release notes

  • Fixed the ESM build.

    5.5.4release notes

react-easy-crop 43 changes

Breaking changes 2

  • The onCropComplete() output changes when rotation is different than 0; it now represents bounding-box-relative values.

    4.0.0release notes

  • The onCropComplete() output changes when rotation is different than 0 and now generates bounding-box-relative values, requiring updates to code that generates the final image.

    4.0.0release notes

New APIs and options 1

  • Adds a more accurate alternative to initialCroppedAreaPixels that avoids rounding and better preserves crop state across save/restore operations.

    4.0.0release notes