diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f84770..4c417e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.0 - 2022-07-18 +### Added +- Added Craft 4 support + ## 1.0.3 - 2021-05-06 ### Fixed - Don't take failed jobs into account diff --git a/README.md b/README.md index dad3837..d11e28b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Hirefire (for Craft 3) +# Hirefire (for Craft 4) -Hirefire.io worker scheduler for Craft 3 queue jobs +Hirefire.io worker scheduler for Craft 4 queue jobs ## Installation diff --git a/composer.json b/composer.json index b8fcc60..206f238 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { - "version": "1.0.3", + "version": "2.0.0", "name": "nerds-and-company/craft-hirefire", - "description": "Hirefire.io worker scheduler for Craft 3 queue jobs", + "description": "Hirefire.io worker scheduler for Craft 4 queue jobs", "type": "craft-plugin", "license": "MIT", "authors": [{ @@ -21,8 +21,8 @@ "downloadUrl": "https://github.com/nerds-and-company/craft-hirefire/releases/latest" }, "require": { - "php": "^7.0 || ^8.0", - "craftcms/cms": "^3.0" + "php": "^8.0", + "craftcms/cms": "^4.0" }, "autoload": { "psr-4": { diff --git a/src/controllers/InfoController.php b/src/controllers/InfoController.php index d9f3f86..8792846 100644 --- a/src/controllers/InfoController.php +++ b/src/controllers/InfoController.php @@ -19,7 +19,7 @@ class InfoController extends Controller /** * @var bool */ - public $allowAnonymous = true; + public array|bool|int $allowAnonymous = true; /** * @param string $token