From 121d75b012b2e7d36f5451214830018ea30759e3 Mon Sep 17 00:00:00 2001 From: Dhimiter Karalliu Date: Mon, 27 May 2024 23:02:48 +0200 Subject: [PATCH 1/2] Prepare plugin from Craft5 --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- composer.json | 4 ++-- resources/js/siteimprove.js | 2 +- resources/scss/token_fetcher.scss | 2 +- src/Plugin.php | 4 ++-- src/assets/RuntimeAsset.php | 2 +- src/assets/SiteimproveAsset.php | 2 +- src/assets/TokenFetcherAsset.php | 2 +- src/config.php | 2 +- src/controllers/BaseController.php | 2 +- src/controllers/DefaultController.php | 2 +- src/helpers/Sanitize.php | 2 +- src/models/Settings.php | 2 +- src/services/TokenFetcher.php | 2 +- src/services/UrlComputer.php | 2 +- src/templates/_default/includes/site_settings.twig | 2 +- src/templates/_default/settings.twig | 2 +- src/templates/_layout.twig | 2 +- src/translations/en/siteimprove.php | 2 +- src/twigextensions/TwigExtension.php | 2 +- src/variables/Variable.php | 2 +- 22 files changed, 30 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d361626..5a3b464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes for "Siteimprove CMS Plugin" plugin +## 2.1.0 - 2024-05-27 + +### Changed + +- Updated plugin for Craft 5. + ## 2.0.0 - 2023-10-29 ### Changed diff --git a/README.md b/README.md index 99a6b05..aa1046d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# "Siteimprove CMS Plugin" plugin for Craft CMS 4.x +# "Siteimprove CMS Plugin" plugin for Craft CMS 4.x|5.x Siteimprove data right where you need it. @@ -29,7 +29,7 @@ For more information visit: [www.siteimprove.com](https://www.siteimprove.com/) ## Requirements -This plugin requires Craft CMS 4.0.0 or later. +This plugin requires Craft CMS 4.0.0|5.0.0 or later. In order to use the Siteimprove CMS plugin, you will need to be a Siteimprove customer. Not a customer yet? Have a look: [www.siteimprove.com](https://www.siteimprove.com/) diff --git a/composer.json b/composer.json index 36b7bbd..e003acd 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "jimstrike/craft-siteimprove-cms-plugin", "description": "Siteimprove CMS Plugin", "type": "craft-plugin", - "version": "2.0.0", + "version": "2.1.0", "keywords": [ "craft", "cms", @@ -29,7 +29,7 @@ ], "require": { "php": "^8.0.2", - "craftcms/cms": "^4.0.0" + "craftcms/cms": "^4.0.0|^5.0.0" }, "autoload": { "psr-4": { diff --git a/resources/js/siteimprove.js b/resources/js/siteimprove.js index c79c814..55ab09d 100644 --- a/resources/js/siteimprove.js +++ b/resources/js/siteimprove.js @@ -1,5 +1,5 @@ /** - * Siteimprove CMS Plugin plugin for Craft CMS 4.x + * Siteimprove CMS Plugin plugin for Craft CMS 4.x|5.x * * Siteimprove data right where you need it. * The Siteimprove plugin bridges the gap between Craft CMS and the Siteimprove Intelligence Platform. diff --git a/resources/scss/token_fetcher.scss b/resources/scss/token_fetcher.scss index 529a51f..0766ed1 100644 --- a/resources/scss/token_fetcher.scss +++ b/resources/scss/token_fetcher.scss @@ -1,5 +1,5 @@ /** - * Siteimprove CMS Plugin plugin for Craft CMS 4.x + * Siteimprove CMS Plugin plugin for Craft CMS 4.x|5.x * * Siteimprove data right where you need it. * The Siteimprove plugin bridges the gap between Craft CMS and the Siteimprove Intelligence Platform. diff --git a/src/Plugin.php b/src/Plugin.php index 652766d..1b0454d 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -1,6 +1,6 @@ Date: Sun, 16 Jun 2024 23:13:23 +0200 Subject: [PATCH 2/2] Updated CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a3b464..177ddf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Release Notes for "Siteimprove CMS Plugin" plugin -## 2.1.0 - 2024-05-27 +## 2.1.0 - 2024-06-16 ### Changed