Skip to content

Commit 3d217c1

Browse files
committed
Release 1.1.1
1 parent 8e2b257 commit 3d217c1

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

CHANGELOG.md

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

3+
## [1.1.1] - 2026-04-30
4+
### Fixed
5+
- Resize handle size, touchscreen behavior, and visibility against light backgrounds.
6+
7+
38
## [1.1.0] - 2026-04-30
49
### Added
5-
- `enableResize` option: when set to `true`, resize handles are shown on the viewport edges allowing the user to adjust its size.
10+
- `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)).
611
- `CroptState` interface with fields `x`, `y`, `zoom`, `width`, and `height` representing a saved crop state.
712
- `getState()` method to retrieve the current crop state.
8-
- `bind()` now accepts a `CroptState` object as its second argument to restore zoom, position, and viewport dimensions. Passing a number is still supported for backwards compatibility.
13+
- `bind()` now accepts a `CroptState` object as its second argument to restore zoom, position, and viewport dimensions ([#3](https://github.com/devtheorem/cropt/issues/3), [#10](https://github.com/devtheorem/cropt/issues/10)). Passing a number is still supported for backwards compatibility.
914

1015
### Changed
11-
- Updated demo site to demonstrate the `enableResize` option and saving/restoring crop state.
16+
- Refreshed demo site to demonstrate the `enableResize` option and saving/restoring crop state.
1217

1318

1419
## [1.0.2] - 2026-01-16
@@ -38,12 +43,12 @@ To upgrade code that used the `"circle"` viewport type, instead set the border r
3843

3944
## [0.9.0] - 2024-10-23
4045
### Fixed
41-
- Cropt now clamps image drags to the viewport boundary, rather than ignoring the delta if it would go past the boundary. This fixes unexpected gaps between the image and viewport edges. ([#5]).
46+
- Cropt now clamps image drags to the viewport boundary, rather than ignoring the delta if it would go past the boundary. This fixes unexpected gaps between the image and viewport edges. ([#5](https://github.com/devtheorem/cropt/pull/5)).
4247

4348

4449
## [0.8.9] - 2024-06-26
4550
### Fixed
46-
- Image content is no longer doubled when resizing a large image with transparency ([#1]).
51+
- Image content is no longer doubled when resizing a large image with transparency ([#1](https://github.com/devtheorem/cropt/pull/1)).
4752

4853

4954
## [0.8.8] - 2023-11-21
@@ -96,9 +101,8 @@ This is the initial pre-release after forking from [Foliotek/Croppie](https://gi
96101
- `enableResize` option.
97102
- `showZoomer` option (hide via CSS instead if desired).
98103

99-
[#1]: https://github.com/devtheorem/cropt/pull/1
100-
[#5]: https://github.com/devtheorem/cropt/pull/5
101104
[#6]: https://github.com/devtheorem/cropt/issues/6
105+
[1.1.1]: https://github.com/devtheorem/cropt/compare/v1.1.0...v1.1.1
102106
[1.1.0]: https://github.com/devtheorem/cropt/compare/v1.0.2...v1.1.0
103107
[1.0.2]: https://github.com/devtheorem/cropt/compare/v1.0.1...v1.0.2
104108
[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.0",
3+
"version": "1.1.1",
44
"description": "A lightweight JavaScript image cropper",
55
"files": [
66
"src/cropt.*"

0 commit comments

Comments
 (0)