Skip to content

Commit 04db048

Browse files
committed
Release 1.3.0
1 parent 07e1d01 commit 04db048

3 files changed

Lines changed: 34 additions & 23 deletions

File tree

CHANGELOG.md

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

3+
## [1.3.0] - 2026-07-05
4+
### Added
5+
- `enableRotate` option: when set to `true`, rotate buttons are shown allowing the image to be rotated in 90° increments.
6+
- `rotate()` method to programmatically rotate the image by a multiple of 90°. Can be used regardless of whether `enableRotate` is set ([#14](https://github.com/devtheorem/cropt/issues/14)).
7+
8+
### Changed
9+
- When `enableResize` is `true`, binding an image without passing state auto-fits the crop viewport to the image's aspect ratio so the full image can be saved by default ([#13](https://github.com/devtheorem/cropt/issues/13)).
10+
11+
312
## [1.2.2] - 2026-05-10
413
### Changed
514
- `bind()` is now declared `async` (it already returned a Promise, so this does not affect usage).
@@ -130,6 +139,7 @@ This is the initial pre-release after forking from [Foliotek/Croppie](https://gi
130139
- `showZoomer` option (hide via CSS instead if desired).
131140

132141
[#6]: https://github.com/devtheorem/cropt/issues/6
142+
[1.3.0]: https://github.com/devtheorem/cropt/compare/v1.2.2...v1.3.0
133143
[1.2.2]: https://github.com/devtheorem/cropt/compare/v1.2.1...v1.2.2
134144
[1.2.1]: https://github.com/devtheorem/cropt/compare/v1.2.0...v1.2.1
135145
[1.2.0]: https://github.com/devtheorem/cropt/compare/v1.1.1...v1.2.0

package-lock.json

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

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cropt",
3-
"version": "1.2.2",
3+
"version": "1.3.0",
44
"description": "A delightful image cropper optimized for mobile and desktop",
55
"files": [
66
"src/cropt.*"
@@ -12,7 +12,7 @@
1212
"bootstrap": "^5.3.8",
1313
"gh-pages": "^6.3.0",
1414
"http-server": "^14.1.1",
15-
"prettier": "^3.8.3",
15+
"prettier": "^3.9.4",
1616
"sass": "1.78",
1717
"shx": "^0.4.0",
1818
"typescript": "^6.0.3"
@@ -36,7 +36,8 @@
3636
"croppie",
3737
"image",
3838
"profile-picture",
39-
"resize"
39+
"resize",
40+
"rotate"
4041
],
4142
"author": "Theodore Brown <theodorejb@outlook.com>",
4243
"license": "MIT",

0 commit comments

Comments
 (0)