cropperjs breaking changes
cropperjs 2.3.0 (October 7, 2026) is its newest release with breaking changes, 5 of them. The first: Signature changed CropperSelection.$initSelection. Every breaking API change we have recorded in cropperjs on npm: 38 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.3.1, released October 16, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
cropperjs 2.3.0 breaking changes
- Signature changed
CropperSelection.$initSelection
Was protected $initSelection(center?: boolean, resize?: boolean): void; now protected $initSelection(center?: boolean, resize?: boolean): Promise<void>. npmjs.com - Signature changed
CropperViewer.$canvas
Was protected $canvas: CropperCanvas_2_2; now protected $canvas: CropperCanvas_5. npmjs.com - Signature changed
CropperViewer.$image
Was protected $image: CropperImage_2; now protected $image: CropperImage_3. npmjs.com - Signature changed
CropperViewer.$render
Was protected $render(selection?: Selection_2, matrix?: number[]): void; now protected $render(selection?: Selection_2_2, matrix?: number[]): void. npmjs.com - Signature changed
CropperViewer.$sourceImage
Was protected $sourceImage: CropperImage_2; now protected $sourceImage: CropperImage_3. npmjs.com
cropperjs 2.2.0 breaking changes
- Signature changed
CropperCanvas.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperCrosshair.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperElement.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperGrid.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperHandle.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperImage.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperSelection.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperShade.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com - Signature changed
CropperViewer.attributeChangedCallback
Was protected attributeChangedCallback(name: string, oldValue: string, newValue: string): void; now protected attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void. npmjs.com
cropperjs 2.0.0 breaking changes
- Removed
'cropperjs'
'cropperjs' was removed in cropperjs 2.0.0 npmjs.com - Removed
autoCrop
autoCrop option removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
crop
crop method removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
Cropper
Cropper was removed in cropperjs 2.0.0 npmjs.com - Removed
cropstart
cropstart event removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
dragMode
dragMode option removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
getCroppedCanvas
getCroppedCanvas method removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
guides
guides option removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
modal
modal option removed in cropperjs 2.0.0 fengyuanchen.github.io - Removed
preview
preview option removed in cropperjs 2.0.0 fengyuanchen.github.io
And 4 more in this version. Sign up to see every change
cropperjs 2.0.0-rc.1 breaking changes
- Default changed
zoomable
Zoomable is now disabled by default. github.com
cropperjs 2.0.0-rc.0 breaking changes
- Renamed
cropper-selection.linked
Rename the linked property of CropperSelection to dynamic. github.com
cropperjs 2.0.0-rc breaking changes
- Default changed
cropper-image.rotatable
The default of rotatable on CropperImage changed from true to false. github.com - Default changed
cropper-image.scalable
The default of scalable on CropperImage changed from true to false. github.com - Default changed
cropper-image.skewable
The default of skewable on CropperImage changed from true to false. github.com - Default changed
cropper-image.translatable
The default of translatable on CropperImage changed from true to false. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
cropperjs 2.0.0-beta breaking changes
- Behavior changed
Cropper.js is rewritten with custom elements and is completely different from v2.0.0-alpha; follow the migration guide. github.com
cropperjs 2.0.0-alpha breaking changes
- Renamed
event.detail.oldRatio
The zoom event detail property oldRatio is renamed to oldScale. github.com - Renamed
event.detail.ratio
The zoom event detail property ratio is renamed to scale. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.