diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2eb4493..46deb7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,12 +14,12 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2] - laravel: [10] + php: [8.2, 8.3] + laravel: [11] steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -34,7 +34,7 @@ jobs: run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update - name: Install dependencies - uses: nick-fields/retry@v2 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 diff --git a/CHANGELOG.md b/CHANGELOG.md index a2ff5f8..d9769aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/). -## Unreleased +## Unreleased (Laravel 11) + +### Changed + +- **BREAKING** Package now requires Laravel 11. +- Minimum PHP version is now `8.2`. ## [2.1.0] - 2023-11-08 diff --git a/composer.json b/composer.json index 6ae1ff6..02e8583 100644 --- a/composer.json +++ b/composer.json @@ -23,16 +23,16 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*", - "illuminate/contracts": "^10.0", - "illuminate/pipeline": "^10.0", - "laravel-json-api/core": "^3.0", - "laravel-json-api/validation": "^3.0" + "illuminate/contracts": "^11.0", + "illuminate/pipeline": "^11.0", + "laravel-json-api/core": "^4.0", + "laravel-json-api/validation": "^4.0" }, "require-dev": { - "laravel-json-api/testing": "^2.0", - "orchestra/testbench": "^8.0", + "laravel-json-api/testing": "^3.0", + "orchestra/testbench": "^9.0", "phpunit/phpunit": "^10.5" }, "autoload": { @@ -47,10 +47,10 @@ }, "extra": { "branch-alias": { - "dev-develop": "2.x-dev" + "dev-develop": "3.x-dev" } }, - "minimum-stability": "stable", + "minimum-stability": "dev", "prefer-stable": true, "config": { "sort-packages": true