diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eeb5f7..cd60280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Release Notes for Optimum +## 2.0.0 - 2024-04-13 +- Craft 5: Initial Release + ## 1.3.0 - 2024-01-26 ### Fixed - Install Migration: Use dateTime()->notNull() instead of timestamp() [(#6)](https://github.com/matfish2/craft-optimum/issues/6) diff --git a/composer.json b/composer.json index 1c7a244..8190280 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "docs": "https://github.com/matfish2/craft-optimum/blob/master/README.md" }, "require": { - "craftcms/cms": "^4.0.0", + "craftcms/cms": "^5.0.0", "ext-json": "*", "nesbot/carbon": "^2.58" }, diff --git a/src/elements/Experiment.php b/src/elements/Experiment.php index 2a08858..9566a56 100644 --- a/src/elements/Experiment.php +++ b/src/elements/Experiment.php @@ -106,7 +106,7 @@ public function afterSave(bool $isNew): void parent::afterSave($isNew); } - public function getTableAttributeHtml($attribute): string + public function attributeHtml($attribute): string { $enabled = $this->enabled ? 'enabled' : '';