Skip to content

Commit

Permalink
Require Craft 4.0.0 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
ttempleton committed May 5, 2022
1 parent be30ba2 commit 33531e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
## 3.0.0-beta.1 - 2022-04-29

### Added
- Added Craft 4 compatibility (requires Craft 4.0.0-RC2 or later)
- Added Craft 4 compatibility

### Removed
- Removed Craft 3 compatibility
- Removed `spicyweb\embeddedassets\models\EmbeddedAsset::getCacheAge()`
- Removed `spicyweb\embeddedassets\models\EmbeddedAsset::getRequestUrl()`; use the `url` property instead
- Removed `spicyweb\embeddedassets\models\EmbeddedAsset::getSafeHtml()`; use a combination of the `getIsSafe()` method and the `code` property instead
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"rss": "https://github.com/spicywebau/craft-embedded-assets/commits/3.x.atom"
},
"require": {
"craftcms/cms": "^4.0.0-RC2",
"craftcms/cms": "^4.0.0",
"embed/embed": "^3.4.17",
"php": "^8.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ composer require spicyweb/craft-embedded-assets
## Requirements

### Craft version
Embedded Assets requires Craft CMS 4.0.0-RC2 or later.
Embedded Assets requires Craft CMS 4.0.0 or later.

### PHP version
Embedded Assets has the same minimum PHP version requirement as Craft CMS 4.0.0-RC2: PHP 8.0.2 or later.
Embedded Assets has the same minimum PHP version requirement as Craft CMS 4.0.0: PHP 8.0.2 or later.

0 comments on commit 33531e5

Please sign in to comment.