diff --git a/CHANGELOG.md b/CHANGELOG.md index 305deed..d4bd612 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ Changelog ========= + +## 4.0.0 - 2024-04-22 +* Craft 5 support + + ## 3.0.0 - 2022-05-25 * Craft 4 and PHP 8 support diff --git a/README.md b/README.md index 04c005f..d1d53a5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This plugin provides an [Object Storage](https://help.fortrabbit.com/object-stor ## Requirements -The 3.0 branch of this plugin requires Craft CMS 4.0 and PHP 8.0 or later. +The 4.0 release of this plugin requires Craft CMS 5 and PHP 8.0 or later. ## Installation @@ -53,9 +53,14 @@ Or browse to CP > Settings > Plugins to enable the plugin. **4. Configure** -Configure volumes under: Settings > Assets > **[New Volume]**. +Configure filesystems under: Settings > Filesystems >> **[New Filesystem]**. -Select `fortrabbit Object Storage` as Volume Type and for the Base URL field use `$OBJECT_STORAGE_HOST` ENV variable. +- Select `fortrabbit Object Storage` as Filesystem Type. +- For the Base URL field use `$OBJECT_STORAGE_HOST` ENV variable. All other fields are pre-configured with ENV vars already. +- Set a value for Expires (Cache expiration period) + +Configure volumes under: Settings > Assets > **[New Volume]**. +- Select the filesystem created above as the Asset Filesystem. diff --git a/composer.json b/composer.json index 7406ff8..9a783f1 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ ], "require": { "php": "^8.0", - "craftcms/cms": "^4.0.0", - "craftcms/flysystem": "^1.0.0", + "craftcms/cms": "^5.0.0", + "craftcms/flysystem": "^2.0.0", "league/flysystem-aws-s3-v3": "^3.0.0", - "symfony/console": "^5.1" + "symfony/console": "^6.0 | ^7.0" }, "require-dev": { "craftcms/phpstan": "dev-main",