Skip to content

Commit b5ec608

Browse files
committed
support craft 5; fix style override bug
1 parent 9dd4717 commit b5ec608

18 files changed

+2867
-2011
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Easy Image
22

3+
## [2.0.0] - 2024-07-13
4+
5+
- Updated dependencies for Craft 5
6+
- Added ability to supply `style` prop in attributes without it overridding the blurhash
7+
38
## [1.0.1] - 2023-08-21
49

510
- Fixed some comparison notes on ImageOptimize to make them more accurate
@@ -16,5 +21,6 @@
1621
- Added placeholder support
1722
- Added tests
1823

24+
[2.0.0]: (https://github.com/acalvino4/craft-easy-image/releases/tag/2.0.0)
25+
[1.0.1]: (https://github.com/acalvino4/craft-easy-image/releases/tag/1.0.1)
1926
[1.0.0]: (https://github.com/acalvino4/craft-easy-image/releases/tag/1.0.0)
20-
[1.0.0]: (https://github.com/acalvino4/craft-easy-image/releases/tag/1.0.1)

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,4 @@ composer require acalvino4/craft-easy-image
262262
- Per-image transform overrides
263263
- Filepath or url for assets
264264
- Transform/optimize images on upload
265+
- Remove blurhash after image mounts - for when an image has transparent regions

composer.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"rss": "https://github.com/acalvino4/craft-easy-image/releases.atom"
1111
},
1212
"require": {
13-
"php": ">=8.1",
14-
"craftcms/cms": "^4.4.0",
15-
"dodecastudio/craft-blurhash": "^2.0"
13+
"php": ">=8.2",
14+
"craftcms/cms": "^5.0.0",
15+
"dodecastudio/craft-blurhash": "^3.0.0"
1616
},
1717
"require-dev": {
1818
"codeception/codeception": "^5.0",
@@ -21,6 +21,7 @@
2121
"codeception/module-yii2": "^1.1",
2222
"craftcms/ecs": "dev-main",
2323
"craftcms/phpstan": "dev-main",
24+
"craftcms/rector": "dev-main",
2425
"vlucas/phpdotenv": "^5.5"
2526
},
2627
"autoload": {
@@ -44,12 +45,14 @@
4445
"config": {
4546
"sort-packages": true,
4647
"platform": {
47-
"php": "8.1"
48+
"php": "8.3"
4849
},
4950
"allow-plugins": {
5051
"yiisoft/yii2-composer": true,
5152
"craftcms/plugin-installer": true,
5253
"treeware/plant": true
5354
}
54-
}
55+
},
56+
"minimum-stability": "dev",
57+
"prefer-stable": true
5558
}

0 commit comments

Comments
 (0)