diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ced666..bb5d735 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,19 +13,12 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 7.4, 7.3] - laravel: [8.*, 7.*] + php: [8.1, 8.0] + laravel: [9.*] dependency-version: [prefer-lowest, prefer-stable] include: - - laravel: 8.* - testbench: 6.* - - laravel: 7.* - testbench: 5.* - exclude: - - laravel: 8.* - php: 7.2 - - laravel: 7.* - php: 8.0 + - laravel: 9.* + testbench: 7.* name: P ${{ matrix.php }} - L ${{ matrix.laravel }} - ${{ matrix.dependency-version }} @@ -51,4 +44,4 @@ jobs: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit \ No newline at end of file + run: vendor/bin/phpunit diff --git a/.travis.yml b/.travis.yml index 7de7f9a..0358bd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: php php: - - 7.3 - - 7.4 + - 8.0 before_script: - composer selfupdate diff --git a/CHANGELOG.md b/CHANGELOG.md index 6848505..61a824c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `glorand/laravel-model-settings` will be documented in this file +## 5.0.0 - 2022-02-10 +### Added +- Add support for Laravel 9 by @belzaaron +- DROP Laravel 7,8 support +- 8.0 min. php version + ## 4.4.1 - 2021-11-13 ### Fix - fix validation variable name diff --git a/composer.json b/composer.json index 1ad050d..b35719c 100644 --- a/composer.json +++ b/composer.json @@ -17,19 +17,19 @@ "settings" ], "require": { - "php": ">=7.3", - "illuminate/config": "^7.0|^8.0", - "illuminate/database": "^7.0|^8.0", - "illuminate/support": "^7.0|^8.0", - "illuminate/console": "^7.0|^8.0", - "illuminate/filesystem": "^7.0|^8.0", - "illuminate/cache": "^7.0|^8.0", + "php": "^8.0", + "illuminate/config": "^9.0", + "illuminate/database": "^9.0", + "illuminate/support": "^9.0", + "illuminate/console": "^9.0", + "illuminate/filesystem": "^9.0", + "illuminate/cache": "^9.0", "ext-json": "*" }, "require-dev": { "phpunit/phpunit": "^8.0|^9.0", - "orchestra/testbench": "^5.0|^6.0", - "friendsofphp/php-cs-fixer": "^2.16@dev", + "orchestra/testbench": "^7.0", + "friendsofphp/php-cs-fixer": "^3.6", "josiasmontag/laravel-redis-mock": "^1.2" }, "suggest": {