Skip to content

Commit

Permalink
support craft 5; fix style override bug
Browse files Browse the repository at this point in the history
  • Loading branch information
acalvino4 committed Jul 13, 2024
1 parent 9dd4717 commit b5ec608
Show file tree
Hide file tree
Showing 18 changed files with 2,867 additions and 2,011 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Easy Image

## [2.0.0] - 2024-07-13

- Updated dependencies for Craft 5
- Added ability to supply `style` prop in attributes without it overridding the blurhash

## [1.0.1] - 2023-08-21

- Fixed some comparison notes on ImageOptimize to make them more accurate
Expand All @@ -16,5 +21,6 @@
- Added placeholder support
- Added tests

[2.0.0]: (https://github.com/acalvino4/craft-easy-image/releases/tag/2.0.0)
[1.0.1]: (https://github.com/acalvino4/craft-easy-image/releases/tag/1.0.1)
[1.0.0]: (https://github.com/acalvino4/craft-easy-image/releases/tag/1.0.0)
[1.0.0]: (https://github.com/acalvino4/craft-easy-image/releases/tag/1.0.1)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,4 @@ composer require acalvino4/craft-easy-image
- Per-image transform overrides
- Filepath or url for assets
- Transform/optimize images on upload
- Remove blurhash after image mounts - for when an image has transparent regions
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"rss": "https://github.com/acalvino4/craft-easy-image/releases.atom"
},
"require": {
"php": ">=8.1",
"craftcms/cms": "^4.4.0",
"dodecastudio/craft-blurhash": "^2.0"
"php": ">=8.2",
"craftcms/cms": "^5.0.0",
"dodecastudio/craft-blurhash": "^3.0.0"
},
"require-dev": {
"codeception/codeception": "^5.0",
Expand All @@ -21,6 +21,7 @@
"codeception/module-yii2": "^1.1",
"craftcms/ecs": "dev-main",
"craftcms/phpstan": "dev-main",
"craftcms/rector": "dev-main",
"vlucas/phpdotenv": "^5.5"
},
"autoload": {
Expand All @@ -44,12 +45,14 @@
"config": {
"sort-packages": true,
"platform": {
"php": "8.1"
"php": "8.3"
},
"allow-plugins": {
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true,
"treeware/plant": true
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
Loading

0 comments on commit b5ec608

Please sign in to comment.