Skip to content

Commit ecebbb7

Browse files
committed
1.0.1
1 parent dbe5ef7 commit ecebbb7

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

CHANGELOG.md

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

3+
## [1.0.1] - 2026-01-13
4+
### Fixed
5+
- Janky zoom behavior caused by incorrect center point calculation ([#6]).
6+
- Zooming out all the way now works as expected with large images ([#6]).
7+
- Zoom limit now auto-updates when dynamically changing the viewport size.
8+
9+
310
## [1.0.0] - 2024-12-01
411
### Changed
512
- Replaced `viewport.type` option with `viewport.borderRadius`.
613
This option takes a string containing a CSS length or percentage, and defaults to `"0px"`.
714
To upgrade code that used the `"circle"` viewport type, instead set the border radius to `"50%"`.
815

16+
917
## [0.9.1] - 2024-11-07
1018
### Changed
1119
- Removed unnecessary variables.
1220
- Code is now formatted with Prettier.
1321

22+
1423
## [0.9.0] - 2024-10-23
1524
### Fixed
1625
- 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]).
@@ -73,6 +82,8 @@ This is the initial pre-release after forking from [Foliotek/Croppie](https://gi
7382

7483
[#1]: https://github.com/devtheorem/cropt/pull/1
7584
[#5]: https://github.com/devtheorem/cropt/pull/5
85+
[#6]: https://github.com/devtheorem/cropt/issues/6
86+
[1.0.1]: https://github.com/devtheorem/cropt/compare/v1.0.0...v1.0.1
7687
[1.0.0]: https://github.com/devtheorem/cropt/compare/v0.9.1...v1.0.0
7788
[0.9.1]: https://github.com/devtheorem/cropt/compare/v0.9.0...v0.9.1
7889
[0.9.0]: https://github.com/devtheorem/cropt/compare/v0.8.9...v0.9.0

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.0.0",
3+
"version": "1.0.1",
44
"description": "A lightweight JavaScript image cropper",
55
"files": [
66
"src/cropt.*"

0 commit comments

Comments
 (0)