Skip to content

Commit 0bbb4de

Browse files
committed
build: release 2.1.1
1 parent 89fe431 commit 0bbb4de

16 files changed

Lines changed: 3380 additions & 3715 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1+
## <small>2.1.1 (2026-04-06)</small>
2+
3+
* chore: update dependencies ([d3af648](https://github.com/fengyuanchen/cropperjs/commit/d3af648))
4+
* fix(element-image): always center the image, even if it is neither translatable nor scalable ([a03c93a](https://github.com/fengyuanchen/cropperjs/commit/a03c93a)), closes [#1292](https://github.com/fengyuanchen/cropperjs/issues/1292)
5+
* fix(element-shade): re-render the shade on window resize ([26de54d](https://github.com/fengyuanchen/cropperjs/commit/26de54d))
6+
* fix(element-shade): use `window.devicePixelRatio` to calculate the correct outline width ([b32a975](https://github.com/fengyuanchen/cropperjs/commit/b32a975)), closes [#1284](https://github.com/fengyuanchen/cropperjs/issues/1284)
7+
* fix(element-viewer): fix incorrect preview size when using SVG image format in Safari ([acc8771](https://github.com/fengyuanchen/cropperjs/commit/acc8771)), closes [#1290](https://github.com/fengyuanchen/cropperjs/issues/1290)
8+
* ci: add workflow for creating release ([3034097](https://github.com/fengyuanchen/cropperjs/commit/3034097))
9+
* ci: add workflow for publishing package to npm ([a2e2fcd](https://github.com/fengyuanchen/cropperjs/commit/a2e2fcd))
10+
* ci: update GitHub Actions to use latest versions of checkout and setup-node actions ([ba945ab](https://github.com/fengyuanchen/cropperjs/commit/ba945ab))
11+
* docs: add Hello World example ([a586dcb](https://github.com/fengyuanchen/cropperjs/commit/a586dcb)), closes [#1282](https://github.com/fengyuanchen/cropperjs/issues/1282)
12+
13+
14+
115
## 2.1.0 (2025-10-19)
216

17+
* build: release v2.1.0 ([268be1a](https://github.com/fengyuanchen/cropperjs/commit/268be1a))
318
* docs: fix value of free aspect ratio ([5b4e96f](https://github.com/fengyuanchen/cropperjs/commit/5b4e96f)), closes [#1274](https://github.com/fengyuanchen/cropperjs/issues/1274)
419
* refactor(element-shade): use selection itself when default prevented ([0673f15](https://github.com/fengyuanchen/cropperjs/commit/0673f15))
520
* fix(element-image): ensure the image is fully rendered ([5afd8f3](https://github.com/fengyuanchen/cropperjs/commit/5afd8f3)), closes [#1168](https://github.com/fengyuanchen/cropperjs/issues/1168)
@@ -1061,9 +1076,9 @@
10611076

10621077
## <small>0.5.3 (2015-12-24)</small>
10631078

1064-
* Cancel to check property value ([533e708](https://github.com/fengyuanchen/cropperjs/commit/533e708)), closes [#22](https://github.com/fengyuanchen/cropperjs/issues/22)
1079+
* Cancel to check property value ([533e708](https://github.com/fengyuanchen/cropperjs/commit/533e708))
10651080
* Fix parameter for getCroppedCanvas ([1f9fe21](https://github.com/fengyuanchen/cropperjs/commit/1f9fe21))
1066-
* Fixed #21: Limit wheel zoom speed ([7a28cef](https://github.com/fengyuanchen/cropperjs/commit/7a28cef)), closes [#21](https://github.com/fengyuanchen/cropperjs/issues/21)
1081+
* Fixed #21: Limit wheel zoom speed ([7a28cef](https://github.com/fengyuanchen/cropperjs/commit/7a28cef))
10671082
* Improve class utilities ([7230754](https://github.com/fengyuanchen/cropperjs/commit/7230754))
10681083
* Improve utilities ([b3c6bed](https://github.com/fengyuanchen/cropperjs/commit/b3c6bed))
10691084
* Inserts cropper after to target image ([1cbc7d7](https://github.com/fengyuanchen/cropperjs/commit/1cbc7d7))
@@ -1152,7 +1167,7 @@
11521167
* Added full crop box example ([46468a3](https://github.com/fengyuanchen/cropperjs/commit/46468a3))
11531168
* Added new "restore" option ([70c74bd](https://github.com/fengyuanchen/cropperjs/commit/70c74bd))
11541169
* Fix links ([397030b](https://github.com/fengyuanchen/cropperjs/commit/397030b))
1155-
* Fixed #12: Added vendor prefixes ([cdb658d](https://github.com/fengyuanchen/cropperjs/commit/cdb658d)), closes [#12](https://github.com/fengyuanchen/cropperjs/issues/12)
1170+
* Fixed #12: Added vendor prefixes ([cdb658d](https://github.com/fengyuanchen/cropperjs/commit/cdb658d))
11561171
* Release v0.4.0 ([0c15da0](https://github.com/fengyuanchen/cropperjs/commit/0c15da0))
11571172
* The image should be full width ([16b70cd](https://github.com/fengyuanchen/cropperjs/commit/16b70cd))
11581173
* Update Bootstrap from v3.3.5 to v3.3.6 ([81a0f7c](https://github.com/fengyuanchen/cropperjs/commit/81a0f7c))
@@ -1200,7 +1215,7 @@
12001215
* Fix error comment ([984b8a1](https://github.com/fengyuanchen/cropperjs/commit/984b8a1))
12011216
* Fix property ([8baa5f2](https://github.com/fengyuanchen/cropperjs/commit/8baa5f2))
12021217
* Fix typo ([4b8ab46](https://github.com/fengyuanchen/cropperjs/commit/4b8ab46))
1203-
* Fixed #7: Always set the "crossOrigin" value ([a757b3e](https://github.com/fengyuanchen/cropperjs/commit/a757b3e)), closes [#7](https://github.com/fengyuanchen/cropperjs/issues/7)
1218+
* Fixed #7: Always set the "crossOrigin" value ([a757b3e](https://github.com/fengyuanchen/cropperjs/commit/a757b3e))
12041219
* Improve "typeOf" utility function ([21eccdb](https://github.com/fengyuanchen/cropperjs/commit/21eccdb))
12051220
* Improve test ([5dc4d68](https://github.com/fengyuanchen/cropperjs/commit/5dc4d68))
12061221
* Improved ([6bd806a](https://github.com/fengyuanchen/cropperjs/commit/6bd806a))

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"command": {
55
"version": {
66
"conventionalCommits": true,

0 commit comments

Comments
 (0)