Skip to content

Commit ccdbff7

Browse files
committed
Release 1.2.0
1 parent e7add0c commit ccdbff7

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [1.2.0] - 2026-05-07
4+
### Added
5+
- Support for dragging at the same time as pinch zooming.
6+
- CSS progress spinner while loading a bound image.
7+
8+
### Changed
9+
- `enableResize` now allows resizing both width and height simultaneously, with a minimum size so the viewport can always be dragged.
10+
- Improved zoom speed on touchpads.
11+
- Optimized image dragging and centering for smoother rendering.
12+
13+
### Fixed
14+
- Laggy/jumpy pinch zooming in Firefox (caused by https://bugzil.la/1729465).
15+
- Broken image icon appearing before an image was bound ([#7](https://github.com/devtheorem/cropt/issues/7)).
16+
17+
318
## [1.1.1] - 2026-04-30
419
### Added
520
- `enableResize` option: when set to `true`, resize handles are shown on the viewport edges allowing the user to adjust its size ([#9](https://github.com/devtheorem/cropt/issues/9)).
@@ -100,6 +115,7 @@ This is the initial pre-release after forking from [Foliotek/Croppie](https://gi
100115
- `showZoomer` option (hide via CSS instead if desired).
101116

102117
[#6]: https://github.com/devtheorem/cropt/issues/6
118+
[1.2.0]: https://github.com/devtheorem/cropt/compare/v1.1.1...v1.2.0
103119
[1.1.1]: https://github.com/devtheorem/cropt/compare/v1.0.2...v1.1.1
104120
[1.0.2]: https://github.com/devtheorem/cropt/compare/v1.0.1...v1.0.2
105121
[1.0.1]: https://github.com/devtheorem/cropt/compare/v1.0.0...v1.0.1

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cropt",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"description": "A lightweight JavaScript image cropper",
55
"files": [
66
"src/cropt.*"

0 commit comments

Comments
 (0)