|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [1.1.1] - 2026-04-30 |
| 4 | +### Fixed |
| 5 | +- Resize handle size, touchscreen behavior, and visibility against light backgrounds. |
| 6 | + |
| 7 | + |
3 | 8 | ## [1.1.0] - 2026-04-30 |
4 | 9 | ### 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)). |
6 | 11 | - `CroptState` interface with fields `x`, `y`, `zoom`, `width`, and `height` representing a saved crop state. |
7 | 12 | - `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. |
9 | 14 |
|
10 | 15 | ### 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. |
12 | 17 |
|
13 | 18 |
|
14 | 19 | ## [1.0.2] - 2026-01-16 |
@@ -38,12 +43,12 @@ To upgrade code that used the `"circle"` viewport type, instead set the border r |
38 | 43 |
|
39 | 44 | ## [0.9.0] - 2024-10-23 |
40 | 45 | ### 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)). |
42 | 47 |
|
43 | 48 |
|
44 | 49 | ## [0.8.9] - 2024-06-26 |
45 | 50 | ### 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)). |
47 | 52 |
|
48 | 53 |
|
49 | 54 | ## [0.8.8] - 2023-11-21 |
@@ -96,9 +101,8 @@ This is the initial pre-release after forking from [Foliotek/Croppie](https://gi |
96 | 101 | - `enableResize` option. |
97 | 102 | - `showZoomer` option (hide via CSS instead if desired). |
98 | 103 |
|
99 | | -[#1]: https://github.com/devtheorem/cropt/pull/1 |
100 | | -[#5]: https://github.com/devtheorem/cropt/pull/5 |
101 | 104 | [#6]: https://github.com/devtheorem/cropt/issues/6 |
| 105 | +[1.1.1]: https://github.com/devtheorem/cropt/compare/v1.1.0...v1.1.1 |
102 | 106 | [1.1.0]: https://github.com/devtheorem/cropt/compare/v1.0.2...v1.1.0 |
103 | 107 | [1.0.2]: https://github.com/devtheorem/cropt/compare/v1.0.1...v1.0.2 |
104 | 108 | [1.0.1]: https://github.com/devtheorem/cropt/compare/v1.0.0...v1.0.1 |
|
0 commit comments