Skip to content

chore(deps): bump cropperjs from 1.6.2 to 2.3.0 in /frontend - #122

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/cropperjs-2.2.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/cropperjs-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps cropperjs from 1.6.2 to 2.3.0.

Release notes

Sourced from cropperjs's releases.

v2.3.0

See CHANGELOG.md for details.

v2.2.0

See CHANGELOG.md for details.

v2.1.1

See CHANGELOG.md for details.

v2.1.0

What's Changed

New Contributors

Full Changelog: fengyuanchen/cropperjs@v2.0.1...v2.1.0

v2.0.1

What's Changed

New Contributors

Full Changelog: fengyuanchen/cropperjs@v2.0.0...v2.0.1

v2.0.0

Full Changelog: fengyuanchen/cropperjs@v2.0.0-rc.2...v2.0.0

v2.0.0-rc

Features

  • CropperImage
    • Add a new property: initial-center-size.
  • CropperSelection
    • Add a new property: linked => dynamic.

Breaking Changes

  • CropperImage
    • Change the default value of the rotatable property from true to false.
    • Change the default value of the scalable property from true to false.
    • Change the default value of the skewable property from true to false.
    • Change the default value of the translatable property from true to false.

... (truncated)

Changelog

Sourced from cropperjs's changelog.

2.3.0 (2026-10-07)

  • refactor(cropper-image): implement fit checking logic in $exceedsFit method (6a72df9)
  • refactor(element-viewer): change properties order (30cf335)
  • feat(cropper-image): add zoomAroundCenter property (fea6cac)
  • feat(cropper-image): add the maxInset and minInset properties (58664a8)
  • feat(cropper-selection): add resizeAroundCenter property (01e5c1a), closes #1299
  • feat(cropper-selection): add zoomAroundCenter property (9d3c874)
  • feat(cropper-selection): add the maxInset and minInset properties (51c984f)
  • feat(cropper-selection): enhance resize handling with initial dimensions tracking (f8e5208), closes #1298
  • feat(cropper-selection): enhance selection handling for non-resizable elements (6926e84), closes #1302
  • feat(cropper-selection): improve selection coverage and boundary handling (32112a8), closes #1285
  • feat(cropper-selection/shade): add border radius support for selection and shade elements (75b1cfe), closes #1238
  • feat(cropperjs): add the createCropper function for creating a new Cropper instance (0a3cf33)
  • Preserve explicit selection dimensions on initial coverage (#1304) (2aba2f4), closes #1304
  • docs: add gzip size badge (8a77f71)
  • docs: add module example (26cd677)
  • docs: improve limit boundaries examples (31e624e), closes #1255
  • docs: standardize section headings in API documentation (7af9124)
  • docs: update descriptions and links in API documentation for clarity (a6bbf08)
  • docs: update examples to include module and script usage (fb4b379)
  • docs(cropper-selection): add example for fixed selection while moving or scaling the image (31ef548)
  • docs(examples): add example for adding a watermark (741892b)
  • docs(examples): add example for applying an image filter (6a47507)
  • docs(examples): add example for cropping an image drawn on a canvas (b2ce7cc)
  • docs(examples): add example for multiple selections and viewers (36470ad)
  • docs(examples): add example for redacting part of an image (f46bf1c)
  • docs(examples): add example for uploading a cropped image to a server (9ca08e6)
  • docs(examples): enhance code highlighting in HTML examples (d42436b)
  • docs(guide): update npm package link for cropperjs version badge (ae47ba0)
  • fix: handle image load event for complete images (91bbb5d), closes #1303
  • test: enhance tests with keyboard interactions and lifecycle events (d19b3a6)
  • ci: add codecov action to CI workflow for test coverage reporting (1dabc83)
  • ci(deploy): add --no-verify flag to git commit command (9ca2a3e)

2.2.0 (2026-08-23)

  • chore: update dependencies to latest versions (edd5c3d)
  • chore: update stylelint configuration to allow empty input (fc8254a)
  • chore: update version to 2.2.0 (b622a18)
  • fix(cropperjs): correct regex for allowed elements and add test for similar tag names (1158791)
  • fix(element-canvas): improve pointer handling and add tests for action defaults (c5a3378)
  • fix(element-canvas): refactor pointer handling (3f9994e)
  • fix(element-grid): improve grid row handling in CropperGrid rendering (80c91aa)
  • fix(element-image): handle null values in attributeChangedCallback for native attributes (f6cb23f)
  • fix(element-selection): scale the selection when triggering a transform action on the touchscreen (8e1c55e), closes #1300
  • fix(element-viewer): ensure image is removed from shadow DOM on disconnect (1b28e07)
  • fix(element): improve readability of supportsAdoptedStyleSheets and attributeChangedCallback (1ce2dca)

... (truncated)

Commits
  • 0344ca3 build: release v2.3.0
  • 0a3cf33 feat(cropperjs): add the createCropper function for creating a new `Cropper...
  • b622a18 chore: update version to 2.2.0
  • 1158791 fix(cropperjs): correct regex for allowed elements and add test for similar t...
  • 0bbb4de build: release 2.1.1
  • 268be1a build: release v2.1.0
  • 6a933e3 feat(cropperjs): add destroy method
  • 6b8e5ff build: release v2.0.1
  • 42dba8b build: add missing /dist paths
  • 97f8787 fix: correct require.node.default export and explicitly export package.json (...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for cropperjs since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2026
Bumps [cropperjs](https://github.com/fengyuanchen/cropperjs/tree/HEAD/packages/cropperjs) from 1.6.2 to 2.3.0.
- [Release notes](https://github.com/fengyuanchen/cropperjs/releases)
- [Changelog](https://github.com/fengyuanchen/cropperjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fengyuanchen/cropperjs/commits/v2.3.0/packages/cropperjs)

---
updated-dependencies:
- dependency-name: cropperjs
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump cropperjs from 1.6.2 to 2.2.0 in /frontend chore(deps): bump cropperjs from 1.6.2 to 2.3.0 in /frontend Oct 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/frontend/cropperjs-2.2.0 branch from c8b7ffa to e3e557c Compare October 12, 2026 22:02
@shockalotti

Copy link
Copy Markdown
Contributor

Closing — this major (1.6 → 2.2) breaks the build, not just the lockfile. cropperjs v2 renamed APIs our avatar/logo cropping uses: getCroppedCanvas → getCropperCanvas, CropperOptions.aspectRatio gone, plus a new implicit-any in the canvas-export callback. CI fails svelte-check with 6 errors in 2 files.

Merging needs a code migration first (whoever takes it: update the cropper usage to the v2 API, then rebase this branch). Leaving v1 pinned until then — Dependabot will propose future versions anew.

@dependabot @github

dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 12, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/frontend/cropperjs-2.2.0 branch October 12, 2026 22:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant