diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5aece50..b20f7a2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,11 +9,9 @@ jobs: strategy: matrix: php: ['8.0', '8.1', '8.2'] - laravel: ['8.22', '8.83', '9.0', '9.52', '10.0', '10.24'] + laravel: ['8.52', '8.83', '9.0', '9.52', '10.0', '10.24'] enum: ['2', '3', '4'] exclude: - - php: '8.1' - laravel: '8.22' - php: '8.0' laravel: '10.0' - php: '8.0' diff --git a/Changelog.md b/Changelog.md index 416d2ab..8f9f4c2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,7 @@ ## Unreleased ##### 2023-XX-YY +- Bumped minimal Laravel version to 8.52 - Fixed issue where CastEnum did not take in account hidden or visible properties from Eloquent ## 1.9.0 diff --git a/composer.json b/composer.json index 27e1f56..39b943e 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require": { "php": "^8.0", "konekt/enum": "^2.0.2 || ^3.0 | ^4.0", - "illuminate/database": "8.*|9.*|10.*" + "illuminate/database": "^8.52|9.*|10.*" }, "require-dev": { "phpunit/phpunit": "9 - 10",